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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-17-2006, 01:33 PM
|
#1
|
|
LQ Newbie
Registered: Mar 2006
Posts: 3
Rep:
|
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.
|
|
|
|
07-17-2006, 02:05 PM
|
#2
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
Rep: 
|
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?
|
|
|
|
07-18-2006, 08:36 AM
|
#3
|
|
LQ Newbie
Registered: Mar 2006
Posts: 3
Original Poster
Rep:
|
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.
|
|
|
|
07-18-2006, 08:43 AM
|
#4
|
|
Member
Registered: Jul 2006
Distribution: Ubuntu
Posts: 34
Rep:
|
Are you talking about a POP3 program? if so, describe which- Thunderbird, Pine...
|
|
|
|
07-18-2006, 10:01 AM
|
#5
|
|
Member
Registered: May 2006
Location: Frankfurt, Germany
Distribution: SUSE 10.2
Posts: 424
Rep:
|
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.
|
|
|
|
07-18-2006, 10:23 AM
|
#6
|
|
Senior Member
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522
Rep:
|
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.
|
|
|
|
07-19-2006, 09:13 AM
|
#7
|
|
LQ Newbie
Registered: Mar 2006
Posts: 3
Original Poster
Rep:
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:57 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|