[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Extract attachments from message/partial emails



On Sun, Jul 19, 2009 at 10:40:06AM +0200, Andre Majorel wrote:
> Anyone knows of a program, preferably command line, that can
> extract attachments from a mailbox file full of message/partial
> emails ?

You basically redeliver mbox to an account where you set up procmail or
maildrop fileter with script to unpack mail such as munpack(1).

For redeliver:
http://www.debian.org/doc/manuals/debian-reference/ch06.en.html#_redeliver_mbox_contents

For maildrop:
http://www.debian.org/doc/manuals/debian-reference/ch06.en.html#_maildrop_configuration
 
For munpack(1):
http://www.debian.org/doc/manuals/debian-reference/ch11.en.html#_the_mail_data_conversion

Osamu


Reply to: