<br><br><div class="gmail_quote">2010/11/24 Glenn Steen <span dir="ltr"><<a href="mailto:glenn.steen@gmail.com">glenn.steen@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 24 November 2010 11:40, Glenn Steen <<a href="mailto:glenn.steen@gmail.com">glenn.steen@gmail.com</a>> wrote:<br>
> On 23 November 2010 22:48, Søren Dam <<a href="mailto:post@damschott.dk">post@damschott.dk</a>> wrote:<br>
>><br>
>><br>
>> 2010/11/23 Ryan Ivey <<a href="mailto:iveymr@gmail.com">iveymr@gmail.com</a>><br>
>>><br>
>>> On Tue, Nov 23, 2010 at 2:45 PM, Søren Dam <<a href="mailto:post@damschott.dk">post@damschott.dk</a>> wrote:<br>
>>>><br>
>>>> Dear Folks<br>
>>>> Just to be clear..<br>
>>>> There seems nothing wrong with my Non.SpamAction.Rules, right?<br>
>>><br>
>>> Is it Non.SpamAction.Rules or Non.Spam[.]Action.Rules that's defined in<br>
>>> MailScanner.conf? It has to match the exact name in %rules-dir% ?<br>
>>><br>
>><br>
>> Oh, that was just a typo in the mail, not in the conf file..;-)<br>
>> It also seems that the other mail don't get the " deliver header<br>
>> "X-Spam-Status: No" " attached. So it seems that mailscanner is not reading<br>
>> the rules file. But still no errors anywhere.<br>
>> /Soeren<br>
> What does MailScanner --lint tell you? Any errors?<br>
> What MTA do you use? If PF, then you'd need make sure the rule file is<br>
> actually readable by the user postfix runs as.<br>
> Also... you did note Jules tip about adding in "deliver" to your rule, right?<br>
><br>
> Cheers<br>
<br>
</div>BTW, you can use the MailScanner command to check the validity of your<br>
rulesets,,, Do "MailScanner --help" for the options... you could test<br>
out things like:<br>
<br>
MailScanner --value=nonspamactions --from=<a href="mailto:someone@somewhe.re">someone@somewhe.re</a><br>
--to=<a href="mailto:someone@your.doma.in">someone@your.doma.in</a><br>
and see what MS would think about that (replace addresses as needed,<br>
to get different results).<br>
<br>
Example:<br>
]# MailScanner --value=nonspamactions --from=<a href="mailto:arne@example.net">arne@example.net</a><br>
--to=<a href="mailto:glenn.steen@ap1.se">glenn.steen@ap1.se</a><br>
Looked up internal option name "hamactions"<br>
With sender = <a href="mailto:arne@example.net">arne@example.net</a><br>
recipient = <a href="mailto:glenn.steen@ap1.se">glenn.steen@ap1.se</a><br>
Client IP =<br>
Virus =<br>
Result is "deliver header "X-Spam-Status: No""<br>
<div><div></div><div class="h5">#<br>
<br>
Cheers<br>
--<br>
-- Glenn<br>
email: glenn < dot > steen < at > gmail < dot > com<br>
work: glenn < dot > steen < at > ap1 < dot > se<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website!<br>
</div></div></blockquote></div><br><div>Thank you for your help!</div><div><br></div><div>I've found the error.. </div><div><br></div><div>When I did that test you proposed, Mailscanner couldn't read the rules file. Then I changed the file name from "Non.SpamAction.<b>Rules</b>" to "Non.SpamAction.<b>rules" </b>That helped!</div>
<div><br></div><div>This is properly common knowledge if you read the Mailscanner book, which i will buy now..;-)</div><div><br></div><div>/Soeren</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><meta http-equiv="content-type" content="text/html; charset=utf-8">