procmail
[Top] [All Lists]

Re: Problem filtering spamassasin tagged mail :(

2003-01-07 16:50:15
At 01:29 2003-01-07 -0700, LuKreme did say:

Do you know that the whitespace after the header is indeed a SPACE?

Yes.  SA places a space.

I don't use it, so going off of the recipe as presented (without logfile diagnostics), that seemed to be the thing to home in on.

* ^X-Spam-Status:[      ]*Yes

No need to check for space/tab on a known header you control.  Do you say:

* X-loop: myloopcheck(_at_)mydomain(_dot_)net

or

* X-loop:[      ]myloopcheck(_at_)mydomain(_dot_)net

Well, if the message passed through someone elses' MTA, the second (which should be modified to have a wildcard number of the character class) would be safer. I take it that you've NEVER had the pleasure of some braindead MTA _rewriting_ the headers? You're lucky enough that you receive the header back in the autoreply - don't count on it not having been "reformattted".

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