Linux - SoftwareThis 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.
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.
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?
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.