LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-17-2006, 01:33 PM   #1
kdmcdrm
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Rep: Reputation: 0
Saving Email Attachments


Hello all, first post here, so this may be a newbie question .

I need a command (or script) that will allow me save incoming email attachments without any user input. I do not need to open them, just save them as they are onto the drive.

Thanks in advance!

Last edited by kdmcdrm; 07-17-2006 at 01:41 PM.
 
Old 07-17-2006, 02:05 PM   #2
Matir
Moderator
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 118Reputation: 118
Where are you planning to get them from? SMTP to your box? POP3 or IMAP from another mail server? Will you also be reading this account with a normal client? If so, which client?
 
Old 07-18-2006, 08:36 AM   #3
kdmcdrm
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Original Poster
Rep: Reputation: 0
I'm recieving them from SMTP into this email address's box. But the only purpose this email will serve is to save these files so the email won't be checked with any client at all.
 
Old 07-18-2006, 08:43 AM   #4
Tailer
Member
 
Registered: Jul 2006
Distribution: Ubuntu
Posts: 34

Rep: Reputation: 15
Are you talking about a POP3 program? if so, describe which- Thunderbird, Pine...
 
Old 07-18-2006, 10:01 AM   #5
spirit receiver
Member
 
Registered: May 2006
Location: Frankfurt, Germany
Distribution: SUSE 10.2
Posts: 424

Rep: Reputation: 33
Consider using Perl. On http://www.cpan.org, there's a module named Email::Folder that reads email from your mbox file, for example, and there's also Email::MIME::Attachment::Stripper.
 
Old 07-18-2006, 10:23 AM   #6
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Quote:
Originally Posted by spirit receiver
Email::MIME::Attachment::Stripper.
Made me think of those virtual dancing girls that go on the desktop, those were the days.
 
Old 07-19-2006, 09:13 AM   #7
kdmcdrm
LQ Newbie
 
Registered: Mar 2006
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks

Quote:
Made me think of those virtual dancing girls that go on the desktop, those were the days.
haha ethics, those are still the days .

Quote:
Email::MIME::Attachment::Stripper
Thanks Spirit Reciever, that appears to be exactly what I need, just beginning to set it up.

Thanks all for your responses.
 
  


Reply


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
Block Email Attachments sami.ma Linux - Security 2 01-07-2006 02:28 PM
email attachments rhb327 Linux - Software 2 11-13-2004 09:08 AM
automatic saving mail-attachments dancindoc Linux - Software 0 04-08-2004 07:14 AM
Save Email Attachments mwmethe Linux - Software 1 01-14-2004 07:55 AM
email attachments - chinese wilsnyder Linux - Newbie 3 07-12-2003 03:09 PM


All times are GMT -5. The time now is 11:31 AM.

Main Menu
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