Gerald --
...and then Gerald Manipon said...
% How do I automate saving an attachment to a file from the command line using
% mutt? I want to create a daemon that will look for emails, decode MIME
% attachments, and save them to a file.
Don't use mutt for this; use procmail and grab the messages as they come
in. If you're trying, for example, to duplicate Eudora's "functionality"
(ahem) of detaching items to a particular directory, you could use
procmail to spit out the attachment and note the location back in the
email (the headers would be the best place to avoid screwing up any PGP
signatures) before sending the message on to its destination folder.
:-D
--
David T-G * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.bigfoot.com/~davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001. There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*
PGP signature