procmail
[Top] [All Lists]

Re: get the subject as a variable for an condition

1997-02-03 08:37:08

Something like this:

SUBJECT=`formail -xSubject: `

:0hi
|/bin/mkdir $SUBJECT

OR probably better:

:0
* ^Subject: some_subject
|/bin/mkdir $SUBJECT

test carefully, YMMV, etc etc etc

TjL