procmail
[Top] [All Lists]

metamail retrieve the attachment but name it with another name

2005-03-04 04:08:36

hallo,
i m using metamail 2.7.27 in redhat9, I try to retieve
and save the attachment file in a directory. for that
i use the command:

D=/root/attachments

:0c
* ^Subject: polyjob
|(mkdir -p $D&&METAMAIL_TMPDIR=$D /usr/bin/metamail -r
-y -w -q -x 2>/dev/null)

This command retrieve 2 files, but any of those files
has the name of the original attached file
for example it retrieve 2 files: 
mm.hOLNtJ(attached image) and mm.WgCO4n(body)
instead of : 
warning.jpg and mm.WgCO4n 

so anyone knows how to retieve the attached files with their
exact names?
thank you for helping..



---------------------------------
Post your free ad now! Yahoo! Canada Personals
____________________________________________________________
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>