Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-17-2006, 01:33 PM   #1
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
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,507

Rep: Reputation: 128Reputation: 128
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
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
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
Registered: May 2006
Location: Frankfurt, Germany
Distribution: SUSE 10.2
Posts: 424

Rep: Reputation: 33
Consider using Perl. On, 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
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
Originally Posted by spirit receiver
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
LQ Newbie
Registered: Mar 2006
Posts: 3

Original Poster
Rep: Reputation: 0

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

Thanks Spirit Reciever, that appears to be exactly what I need, just beginning to set it up.

Thanks all for your responses.


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 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 > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:56 PM.

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