<div><br></div>Best way to avoid this situation is split the email up into individual recipients and then the rules on forwarding will work fine. The problem is if the 'to' contains multiple recipients and gives conflicting actions eg deliver and not-deliver which one should it obey???? MailScanner can't get which one is correct so uses the Envelope-To: as the overriding value.<div>
<br></div><div>How to split the emails up is dependant on the MTA you use but sendmail, Exim and Postfix are covered in the wiki (<a href="http://wiki.mailscanner.info/doku.php?id=&idx=documentation:configuration:mta">http://wiki.mailscanner.info/doku.php?id=&idx=documentation:configuration:mta</a>)</div>
<div><br></div><div>-- <br>Martin Hepworth<br>Oxford, UK<br><br><div class="gmail_quote">2009/5/13 Kasper Sacharias Eenberg <span dir="ltr"><<a href="mailto:kse@hovmark.dk">kse@hovmark.dk</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div>
So, i embarassed myself to my company yesterday.<br>
<br>
I managed to write a highscore rule that passed on all spam mails, that it should be dropping.<br>
But nevermind that.<br>
<br>
<br>
My problem is, i have two domains.<br>
<a href="http://eurocargoservices.de" target="_blank">eurocargoservices.de</a><br>
<a href="http://eurocargoservices.dk" target="_blank">eurocargoservices.dk</a><br>
<br>
The .de company wants to receive all spam mails. They receive alot of mails from China and russia, which normally get tagged as spam (Since i took over the filter it now work quite well though, ignoring them).<br>
<br>
<br>
However, som spam mails are sent with both the .de and .dk domain in the 'to' header.<br>
And when the .de domain is in the recipient, the rule that delivers mail to .de takes action, and the spam is delivered to the .dk.<br>
<br>
It seems "Use Default Rules With Multiple Recipients = yes" does not work.<br>
<br>
These are the rules:<br>
To: @<a href="http://eurocargoservices.de" target="_blank">eurocargoservices.de</a> deliver<br>
FromOrTo: default forward <a href="mailto:isspam@localhost" target="_blank">isspam@localhost</a><br>
<br>
<br>
Live long and prosper,<br>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td>
<hr noshade size="1">
<br>
<br>
<br>
<font color="#000000">Kasper Eenberg</font><br>
<br>
<i><font size="5"><font color="#000080">HOVMARK DATA</font></font></i><br>
<font color="#000000">Ravnevej 13 </font><br>
<font color="#000000">dk-6705 Esbjerg Ř</font><br>
<font color="#000000">tlf: +45 76 12 59 04</font><br>
<font color="#000000">mobil: +45 40 70 69 63</font>
</td>
</tr>
</tbody></table>
<br>
</div>
<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><br clear="all"><br><br>
</div>