SpamAssassin Rule Actions

Alex Broens ms-list at alexb.ch
Wed May 11 09:48:03 IST 2011


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



More information about the MailScanner mailing list