Tom Ainscough wrote:
Can someone tell me why this doesn't match. I can't figure it out:
.procmailrc is
LOGFILE=procmail.log
VERBOSE=yes
:0:
* ^X-Spam-Flag: YES
!spam(_at_)ainscough(_dot_)com
procmail.log says:
procmail: No match on "^X-Spam-Flag: YES"
Email headers are:
[elisions]
X-Spam-Flag: YES
Perhaps the actual header line has a tab after the colon, while the
recipe has a space, or vice versa. Perhaps some non-printing character
has slipped into one or the other. Try a cat -v on both and see if
something odd shows up.
Try this condition instead:
* ^X-Spam-Flag:(.*\<)?YES
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail