Hi.

__TO_EQ_FROM_1 and _2 in 72_matching.cf triggers on emails where To:
isn't the same as From: in certain conditions.

If the first of these headers only has an addr-spec and not 
[display-address] angle-addr (according to RFC 2822), the regexp
matches the last character of the addr-spec. If that character exists
in the last of the two headers, the rule will match.

Example headers of a matching email (munged to protect the innocent):

Subject: Vacancy application: Someone is looking for a Centre Manager
To: exam...@chalmers.se
From: Simple Example <c...@example.se>
MIME-Version: 1.0

A non-matching example:

Subject: Vacancy application: Someone is looking for a Centre Manager
To: Bad example <exam...@chalmers.se>
From: Simple Example <c...@example.se>
MIME-Version: 1.0

I'm smart enough to detect why this happens, but not how to design a
better regexp. :-)

//Christer

-- 
| Hagåkersgatan 18C | Phone: Home +46 31 43 52 03   CTH: +46 31 772 5431  |
| S-431 41 Mölndal  |        Cell: +46 707 53 57 57                       |
| Sweden            | Mail:  m...@chalmers.se                             |
"An NT server can be run by an idiot, and usually is." -- Tom Holub, a.h.b-o-i


Reply via email to