Am 2005-03-11 21:33:51, schrieb robert guru:
D=/an/average/directory
:0c
* ^Subject: save it
|(mkdir -p $D&&METAMAIL_TMPDIR=$D /usr/bin/metamail -r -y -w -q -x
2>/dev/null)
This command saves 2 files: one for the attachment , and the other file for
the body of the message.
But, i m intersting in saving only the attachment file without the body
file..
So, how to do that ?
Use as unpacker 'munpack -C <directory>'. 'munpack' does not
extract parts of messages, which have not Filename attached.
So it should be something like:
|(mkdir -p $D && munpack -C $D 2>/dev/null)
Thanks!
Greetings
Michelle
--
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack Apt. 917 ICQ #328449886
50, rue de Soultz MSM LinuxMichi
0033/3/88452356 67100 Strasbourg/France IRC #Debian (irc.icq.com)
signature.pgp
Description: Digital signature
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail