SpamAssassin Rule Actions
Alexander Piccardi
piccardi at gmx.net
Wed May 11 10:02:02 IST 2011
Hi Alex,
there is no difference
spamassassin 2>&1 -x -D -p /etc/MailScanner/spam.assassin.prefs.conf --lint | grep -i action-rules.cf
May 11 10:59:40.314 [672] dbg: config: read file /etc/mail/spamassassin/action-rules.cf
seems to be ok - also ...
tx
Alex
-------- Original-Nachricht --------
> Datum: Wed, 11 May 2011 10:48:03 +0200
> Von: Alex Broens <ms-list at alexb.ch>
> An: mailscanner at lists.mailscanner.info
> Betreff: Re: SpamAssassin Rule Actions
> On 2011-05-11 10:05, Alexander Piccardi wrote:
> >
> > We made an GUI to generate Rule-Set within the MailScanner.conf it works
> but by using conf file no action is taken.
> >
> >
> > File: /etc/MailScanner/rules/spam.rule.actions.rules
> >
> >
> > # SpamAssassin Rule Actions ###########################
> > # autogenerated by Engine do not change by hand
> >
> > # Dummy Rule
> > ANTZERO_DUMMY=>not-deliver,store header "ANTZERO-DUMMY: Was to _TO_"
> >
> > # Begin Rules
> > # autogenerated do not change by hand
> >
> > # BEGIN SA_RULE_24
> > # Comment: Test Rule
> > SA_RULE_24=>store-mcp header "ANTZERO-DUMMY: Was to _TO_"
> >
> > # END SA_RULE_24
> >
> >
> > we also build an cf entry in /etc/mail/spamassassin like this:
> >
> > header SA_RULE_24 From =~ /user/@example.com/
> > describe SA_RULE_24 Test Rule
> > score SA_RULE_24 0.01
> >
> > ----------
> >
> > Log is saying nothing ...
>
> try:
>
> header SA_RULE_24 From =~ /user\@example\.com/
>
> (see the difference?)
>
> h2h
>
> Alex
>
> --
> 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!
--
NEU: FreePhone - kostenlos mobil telefonieren und surfen!
Jetzt informieren: http://www.gmx.net/de/go/freephone
More information about the MailScanner
mailing list