procmail
[Top] [All Lists]

exporting header variables

2000-11-06 12:22:28
Hello,
        I wanto be able to exctract the Subject and To header information
ffrom mail going to a specified user on my system.  I then want to export
those variables to another script that I wrote (as $SUBJECT and $TO).  what
should my .procmailrc for that file look like?

I have

:0
SUBJECT=`formail -xSubject:`
TO='formail -xTo:`
| /home/user/script

in my current .procmailrc and it does not seem to be working.  Any ideas?
Thanks for reading my message.

- Joel
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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