To extract an attachment from an email you can use a program called delatt
http://freshmeat.net/projects/delatt/
it works like a charm
Tim Mancour wrote:
Hi,
Does anybody know how to extract the attachment(s) from an Email via a shell
script?
All of my users access there Email via the pop. I'd like to setup an
automated method to learn both Spam and Non-spam (similar to what others
have done with IMAP and per user spam and ham inboxes).
What I want to do is create two email accounts to receive spam and ham. The
users could then forward there Email, as an attachment, to the appropriate
account where a script would periodically extract the attachments and
perform the sa-learn. I'm hoping somebody has an example of how to extract
attachment(s) from Email message.
Any help would be appreciated.
Thanks,
Tim
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]