Hello,
I am going to be receiving emails with text attachments that I want to
hand off to a program for processing. I can see how to strip the
attachments with munpack or metamail but how can I pass the filename
or, even better, rename the file and pass the name of that file onto
the script? Here's a simple start:
METAMAIL_TMPDIR=$HOME/attachments
:0fw
* ^Subject:.*DSC0001*
| metamail -w -y -x
I really need the following passed to some sort of program (like a perl script)
1. name of attachment(s)
2. from address
3. body contents
4. subject
I really appreciate any help.
Thanks,
Terry
____________________________________________________________
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