On Sun, 7 Oct 2007, Thomas Elsgaard wrote:
Hello Procmail users
I am having a very simple rule in procmail, i am piping all mails with a
specific word in the subject into a perlscript, where i do some
modifications.. that works.. but i would really like to know the senders
email address, so i in the perl script can reply him, any idea how i could
get that ?
The best that I know:
SENDER=`formail -r -x"To: "`
Use the $SENDER in perl as environment variable.
procmail mailing list Procmail homepage: http://www.procmail.org/