procmail
[Top] [All Lists]

Re: assigning variable while doing test

2004-03-01 13:56:44
On Mon, 1 Mar 2004, Eric Wood wrote:

Now, I would like at least the first offending $WORD to be shown up in
Subject line.  I tried this but didn't work:

* ? WORD=`grep -i -f /etc/vmail/spam_words | head -1`

You want something similar to what I just posted on another thread, e.g.:

WORD=`grep -i -f /etc/vmail/spam_words | head -1`
STATUS=$?

:0
* STATUS ?? ^^0^^
{
 ... stuff ...
}


_______________________________________________
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>