Dear Folks<div><br></div><div>Just to be clear..</div><div>There seems nothing wrong with my <meta http-equiv="content-type" content="text/html; charset=utf-8">Non.SpamAction.Rules, right?</div><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"><<a href="mailto:post@damschott.dk" target="_blank">post@damschott.dk</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br><br><div class="gmail_quote">2010/11/22 Jules Field <span dir="ltr"><<a href="mailto:MailScanner@ecs.soton.ac.uk" target="_blank">MailScanner@ecs.soton.ac.uk</a>></span><div><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>
"..<br></div>
FromOrTo: <a href="mailto:aa@bb.com" target="_blank">aa@bb.com</a> <mailto:<a href="mailto:aa@bb.com" target="_blank">aa@bb.com</a>> forward <a href="mailto:cc@bb.com" target="_blank">cc@bb.com</a> <mailto:<a href="mailto:cc@bb.com" target="_blank">cc@bb.com</a>><br>
</blockquote>
You want to add the action "deliver" 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 "X-Spam-Status: No"<br>
<br>
.."<br>
<br>
And I'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>
"service MailScanner reload" will work on quite a few platforms, otherwise try "/etc/init.d/MailScanner reload".<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: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><div>Mailscanner --lint did'nt return any errors</div><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><div>Maillog didn'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: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></div><br>
</blockquote></div><br>
</div>