LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-05-2013, 02:38 PM   #1
Jzarecta
Member
 
Registered: Dec 2005
Location: Villahermosa, Bucharest, Birminham, Brooklyn, Beverly
Distribution: Mandriva
Posts: 118

Rep: Reputation: 15
Script to strip attachment on server and send it to NAS


Hi I am looking for a script that would be able to filter emails with attachments, strip off the embedded attachment and send it to a NAS so that the user only see a URL to our NAS.

I have looked for python/perl scripts that would be able to do that, but I am still not sure if there is a more 'out of the box' script that was designed for that in mind.

Regards.
 
Old 08-05-2013, 04:04 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,666
Blog Entries: 54

Rep: Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953Reputation: 2953
If hints are enough: cat mail(box), pipe through formail to separate messages and pipe through a procmail recipe?
 
  


Reply

Tags
attachments, email, perl, python, sendmail


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to send doc attachment in sendmail arun5002 Linux - Server 1 11-29-2011 10:39 AM
bash script to send a mail attachment aeby Linux - General 6 05-28-2007 07:13 AM
cmd line send attachment? jedimastermopar Linux - General 2 06-16-2005 01:51 PM
send mails with attachment ProXXXy Linux - Networking 2 08-18-2004 04:33 AM
howto send a mail with attachment via perl script ? cccc Programming 24 03-05-2004 08:49 PM


All times are GMT -5. The time now is 04:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration