MailScanner and spamassasin
Mark Sapiro
mark at msapiro.net
Wed Apr 24 21:28:42 UTC 2019
On 4/24/19 2:17 PM, Maarten wrote:
> When I look it up in the docs it seems it should be this?
>
> header FAKE_PAYMENT_REQUEST Subject =~ /\bmailinglists\b/i
That only means it should be surrounded by whitespace to preclude a
match on something like
Subject: mymailinglists.com
Subject =~ /mailinglists/i
will match the string 'mailinglists' anywhere in the subject. If you
want to match only
Subject: mailinglists
you want something like
Subject =~ /^mailinglists$/i
But none of this explains why your test fails.
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the MailScanner
mailing list