<br><br><div class="gmail_quote">2010/11/24 Glenn Steen <span dir="ltr">&lt;<a href="mailto:glenn.steen@gmail.com">glenn.steen@gmail.com</a>&gt;</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 &lt;<a href="mailto:glenn.steen@gmail.com">glenn.steen@gmail.com</a>&gt; wrote:<br>
&gt; On 23 November 2010 22:48, Søren Dam &lt;<a href="mailto:post@damschott.dk">post@damschott.dk</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; 2010/11/23 Ryan Ivey &lt;<a href="mailto:iveymr@gmail.com">iveymr@gmail.com</a>&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; On Tue, Nov 23, 2010 at 2:45 PM, Søren Dam &lt;<a href="mailto:post@damschott.dk">post@damschott.dk</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Dear Folks<br>
&gt;&gt;&gt;&gt; Just to be clear..<br>
&gt;&gt;&gt;&gt; There seems nothing wrong with my Non.SpamAction.Rules, right?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Is it Non.SpamAction.Rules or Non.Spam[.]Action.Rules that&#39;s defined in<br>
&gt;&gt;&gt; MailScanner.conf?  It has to match the exact name in %rules-dir% ?<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Oh, that was just a typo in the mail, not in the conf file..;-)<br>
&gt;&gt; It also seems that the other mail don&#39;t get the &quot; deliver header<br>
&gt;&gt; &quot;X-Spam-Status: No&quot; &quot; attached. So it seems that mailscanner is not reading<br>
&gt;&gt; the rules file. But still no errors anywhere.<br>
&gt;&gt; /Soeren<br>
&gt; What does MailScanner --lint tell you? Any errors?<br>
&gt; What MTA do you use? If PF, then you&#39;d need make sure the rule file is<br>
&gt; actually readable by the user postfix runs as.<br>
&gt; Also... you did note Jules tip about adding in &quot;deliver&quot; to your rule, right?<br>
&gt;<br>
&gt; Cheers<br>
<br>
</div>BTW, you can use the MailScanner command to check the validity of your<br>
rulesets,,, Do &quot;MailScanner --help&quot; 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 &quot;hamactions&quot;<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 &quot;deliver header &quot;X-Spam-Status: No&quot;&quot;<br>
<div><div></div><div class="h5">#<br>
<br>
Cheers<br>
--<br>
-- Glenn<br>
email: glenn &lt; dot &gt; steen &lt; at &gt; gmail &lt; dot &gt; com<br>
work: glenn &lt; dot &gt; steen &lt; at &gt; ap1 &lt; dot &gt; 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&#39;ve found the error.. </div><div><br></div><div>When I did that test you proposed, Mailscanner couldn&#39;t read the rules file. Then I changed the file name from &quot;Non.SpamAction.<b>Rules</b>&quot; to &quot;Non.SpamAction.<b>rules&quot; </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">