At 14:26 2004-03-01 -0500, 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:
# note this isn't within a recipe construct
WORD=`grep -i -f /etc/vmail/spam_words | head -1`
:0
* ! WORD ?? ^^^^
{
:0 fwh
| formail -I "Subject: [SPAMWORD $WORD] $SUBJECT"
# you escape dots when used in regexp, not for forwards, etc.
:0
! spam(_at_)domain(_dot_)com
}
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail