<br><br><div class="gmail_quote">2010/11/23 Ryan Ivey <span dir="ltr">&lt;<a href="mailto:iveymr@gmail.com">iveymr@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="gmail_quote"><div class="im">On Tue, Nov 23, 2010 at 2:45 PM, Søren Dam <span dir="ltr">&lt;<a href="mailto:post@damschott.dk" target="_blank">post@damschott.dk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">

Dear Folks<div><br></div><div>Just to be clear..</div><div>There seems nothing wrong with my Non.SpamAction.Rules, right?</div></blockquote></div><div><br>Is it Non.SpamAction.Rules or Non.Spam[.]Action.Rules that&#39;s defined in MailScanner.conf?  It has to match the exact name in %rules-dir% ? <br>

<br></div></div></blockquote><div> </div><div>Oh, that was just a typo in the mail, not in the conf file..;-) </div><div><br></div><div>It also seems that the other mail don&#39;t get the &quot; deliver header &quot;X-Spam-Status: No&quot; &quot; attached. So it seems that mailscanner is not reading the rules file. But still no errors anywhere.</div>
<div><br></div><div>/Soeren</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote">
<div>[snip]<div class="im"><br><i>   </i><i>And I&#39;ve put this line i Mailscanner.conf</i><div><i><br></i></div></div><div><div><div class="im"><i>   Non Spam Actions = %rules-dir%/Non.Spam.Action.</i><i>Rules<br></i></div>
[/snip]<br></div></div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div><div></div><div class="h5">
<div>Just so I can put my efforts into another direction..</div>
<div><br></div><div>/Soeren</div><div><br><div class="gmail_quote">2010/11/23 Søren Dam <span dir="ltr">&lt;<a href="mailto:post@damschott.dk" target="_blank">post@damschott.dk</a>&gt;</span><div><div></div><div>
<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">

<br><br><div class="gmail_quote">2010/11/22 Jules Field <span dir="ltr">&lt;<a href="mailto:MailScanner@ecs.soton.ac.uk" target="_blank">MailScanner@ecs.soton.ac.uk</a>&gt;</span><div><br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">






<div><br>
<br>
On 22/11/2010 20:34, Søren Dam wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex"><div>
Dear Folks<br>
<br>
I want to send a copy of the non spam mails to another mailbox for some specific mail users. I have made this Non.SpamAction.Rules file:<br>
<br>
&quot;..<br></div>
FromOrTo: <a href="mailto:aa@bb.com" target="_blank">aa@bb.com</a> &lt;mailto:<a href="mailto:aa@bb.com" target="_blank">aa@bb.com</a>&gt; forward <a href="mailto:cc@bb.com" target="_blank">cc@bb.com</a> &lt;mailto:<a href="mailto:cc@bb.com" target="_blank">cc@bb.com</a>&gt;<br>







</blockquote>
You want to add the action &quot;deliver&quot; to that line as well, or the original recipient will not get their copy of the message.<div><br>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">
<br>
FromOrTo:       default   deliver header &quot;X-Spam-Status: No&quot;<br>
<br>
..&quot;<br>
<br>
And I&#39;ve put this line i Mailscanner.conf<br>
<br>
Non Spam Actions = %rules-dir%/Non.Spam.Action.Rules<br>
</blockquote></div>
Did you ask MailScanner to reload its config after making the change?<br>
&quot;service MailScanner reload&quot; will work on quite a few platforms, otherwise try &quot;/etc/init.d/MailScanner reload&quot;.<br>
<br></blockquote><div> </div></div><div>I  reload the configuration every time I do a change..</div><div><div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">



And also try doing the command<br>
    MailScanner --lint<br>
to see what that says about your configuration.<br></blockquote><div> </div></div><div>Mailscanner --lint did&#39;nt return any errors</div><div><div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">





<br>
And also look in your /var/log/maillog to see what MailScanner is logging when it starts up, there may be some error messages in there.<br>
<br></blockquote><div><br></div></div><div>Maillog didn&#39;t return any errors on the reload</div><div><br></div><div>Can I see if the copy of the mail is going into outgoing spool? </div><div><div> </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204, 204, 204);padding-left:1ex">





Jules<br>
<br>
-- <br>
Julian Field MEng CITP CEng<br>
<a href="http://www.MailScanner.info" target="_blank">www.MailScanner.info</a><br>
Buy the MailScanner book at <a href="http://www.MailScanner.info/store" target="_blank">www.MailScanner.info/store</a><br>
<br>
Need help customising MailScanner?<br>
Contact me!<br>
Need help fixing or optimising your systems?<br>
Contact me!<br>
Need help getting you started solving new requirements from your boss?<br>
Contact me!<br>
<br>
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654<br>
Follow me at <a href="http://twitter.com/JulesFM" target="_blank">twitter.com/JulesFM</a><br>
<br>
<br>
-- <br>
This message has been scanned for viruses and<br>
dangerous content by MailScanner, and is<br>
believed to be clean.<br><font color="#888888">
<br>
-- <br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">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! </font></blockquote></div></div><br>
</blockquote></div></div></div><br>
</div>
<br></div></div>--<div class="im"><br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">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>
<br></div></blockquote></div><br>
<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>
<br></blockquote></div><br>