Extract attachments from message/partial emails

2009-07-19 Thread Andre Majorel
Anyone knows of a program, preferably command line, that can
extract attachments from a mailbox file full of message/partial
emails ?

Thanks in advance.

-- 
André Majorel http://www.teaser.fr/~amajorel/
Use reportbug and get spammed !


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Extract attachments from message/partial emails

2009-07-19 Thread Arthur Marsh

Andre Majorel wrote, on 2009-07-19 18:10:

Anyone knows of a program, preferably command line, that can
extract attachments from a mailbox file full of message/partial
emails ?

Thanks in advance.



Have you tried munpack from package mpack ?

Arthur.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Re: Extract attachments from message/partial emails

2009-07-19 Thread Osamu Aoki
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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org