<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><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><br>
<br>
On 22/11/2010 20:34, Søren Dam wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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:0 0 0 .8ex;border-left:1px #ccc solid;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>I  reload the configuration every time I do a change..</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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>Mailscanner --lint did&#39;nt return any errors</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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>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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;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><br>