subject matching spam.assassin.prefs.conf

Robert Lopez rlopezcnm at gmail.com
Wed Mar 3 17:55:27 GMT 2010


On Tue, Mar 2, 2010 at 3:31 PM, Kai Schaetzl <maillists at conactive.com> wrote:
> Robert Lopez wrote on Tue, 2 Mar 2010 11:56:43 -0700:
>
>> This does not work (never matches subject of exact string in test email):
>
> it's good practice to include that ;-)
It was. :-)  It is "American Community College Survey For 2010"

>
>> header  CGC_S1   Subject =~ /^American Community College Survey For 2010/
>
> remove the "^".
That did not make any difference.

>If that doesn't help, make it shorter, this looks rather
> long for a single line subject.
I would like it to be the exact same subject the sender will use for
the project.
However, I did try matching on each word separately (each with own
header record)
and tests showed non of the rules matched.

> I would appreciate if people could direct their questions to the correct
> list, e.g. this one should go to the SA list.
This is appropriate to this list because these patterns apparently
work in SA rules in SA
files because grep shows identical (except for the words) rules all
over SA rule files.

They do not work when in the /etc/MailScanner/spam.assassin.prefs.conf file.

I do not want to have to start modifying SA directly and thus spread
customizations
 to other file locations. A primary advantage (to me) of MailScanner is the
centralization of customizations.

So, at this point I may rewrite my question to be:

Does MailScanner support the use of the "header" type rule in
spam.assassin.prefs.conf file
or more generally does MailScanner support all of the rule types
supported by Spamassassin
within the spam.assassin.prefs.conf file?

>
> Kai
>
> --
> Get your web at Conactive Internet Services: http://www.conactive.com
>
>
>
> --
> MailScanner mailing list
> mailscanner at lists.mailscanner.info
> http://lists.mailscanner.info/mailman/listinfo/mailscanner
>
> Before posting, read http://wiki.mailscanner.info/posting
>
> Support MailScanner development - buy the book off the website!
>



-- 
Robert Lopez
Unix Systems Administrator
Central New Mexico Community College (CNM)
525 Buena Vista SE
Albuquerque, New Mexico 87106


More information about the MailScanner mailing list