procmail
[Top] [All Lists]

How to extract the attachment without the body of the email?

2005-03-11 20:17:50
Hallo, every body, ( i' m a newbie in procmail )
I m using procmail in order to save the attachment file in a directory, for that i use the command:

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 ?
Thanks!

_________________________________________________________________
MSNŽ Calendar keeps you organized and takes the effort out of scheduling get-togethers. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSNŽ Premium right now and get the first two months FREE*.


____________________________________________________________
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


<Prev in Thread] Current Thread [Next in Thread>