Non Spam actions problem

Glenn Steen glenn.steen at
Wed Nov 24 10:46:56 GMT 2010

On 24 November 2010 11:40, Glenn Steen <glenn.steen at> wrote:
> On 23 November 2010 22:48, Søren Dam <post at> wrote:
>> 2010/11/23 Ryan Ivey <iveymr at>
>>> On Tue, Nov 23, 2010 at 2:45 PM, Søren Dam <post at> wrote:
>>>> Dear Folks
>>>> Just to be clear..
>>>> There seems nothing wrong with my Non.SpamAction.Rules, right?
>>> Is it Non.SpamAction.Rules or Non.Spam[.]Action.Rules that's defined in
>>> MailScanner.conf?  It has to match the exact name in %rules-dir% ?
>> Oh, that was just a typo in the mail, not in the conf file..;-)
>> It also seems that the other mail don't get the " deliver header
>> "X-Spam-Status: No" " attached. So it seems that mailscanner is not reading
>> the rules file. But still no errors anywhere.
>> /Soeren
> What does MailScanner --lint tell you? Any errors?
> What MTA do you use? If PF, then you'd need make sure the rule file is
> actually readable by the user postfix runs as.
> Also... you did note Jules tip about adding in "deliver" to your rule, right?
> Cheers

BTW, you can use the MailScanner command to check the validity of your
rulesets,,, Do "MailScanner --help" for the options... you could test
out things like:

MailScanner --value=nonspamactions --from=someone at
--to=someone at
and see what MS would think about that (replace addresses as needed,
to get different results).

]# MailScanner --value=nonspamactions --from=arne at
--to=glenn.steen at
Looked up internal option name "hamactions"
With sender = arne at
  recipient = glenn.steen at
Client IP =
Virus =
Result is "deliver header "X-Spam-Status: No""

-- Glenn
email: glenn < dot > steen < at > gmail < dot > com
work: glenn < dot > steen < at > ap1 < dot > se

More information about the MailScanner mailing list