Kasper<div><br></div><div>I presume you do things like drop unknown users at the MTA? This can reduce the load by well over 50%. Also have a look in the wiki about performance tuning MailScanner - local caching nameserver, using only a few RBL's etc etc.</div>
<div><br></div><div>--</div><div>Martin<br><br><div class="gmail_quote">2009/5/15 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>
Thanks for the help.<br>
<br>
But i'm afraid this server is already way overloaded, and that this might kill it.<br>
Are there any alternatives to this? Any rules i can write?<br>
<br>
Adding "To: @<a href="http://eurocargoservices.dk" target="_blank">eurocargoservices.dk</a> delete" does not work, as you say.<br>
<br>
<br>
With regards,<div class="im"><br>
<table cellspacing="0" cellpadding="0" width="100%">
<tbody><tr>
<td>
<hr noshade size="1">
<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>
<br></div><div><div></div><div class="h5">
On Wed, 2009-05-13 at 09:59 +0100, Martin Hepworth wrote:
<blockquote type="CITE">
<br>
<br>
</blockquote>
<blockquote type="CITE">
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.
</blockquote>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<blockquote type="CITE">
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" target="_blank">http://wiki.mailscanner.info/doku.php?id=&idx=documentation:configuration:mta</a>)
</blockquote>
<blockquote type="CITE">
<br>
<br>
</blockquote>
<blockquote type="CITE">
-- <br>
Martin Hepworth<br>
Oxford, UK<br>
<br>
</blockquote>
<blockquote type="CITE">
2009/5/13 Kasper Sacharias Eenberg <<a href="mailto:kse@hovmark.dk" target="_blank">kse@hovmark.dk</a>>
</blockquote>
<blockquote type="CITE">
<blockquote>
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>
<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>
<br>
</blockquote>
</blockquote>
<blockquote type="CITE">
<blockquote>
<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!<br>
<br>
</blockquote>
</blockquote>
<blockquote type="CITE">
<br>
<br>
<br>
<br>
<br>
</blockquote>
</div></div></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>Martin Hepworth<br>Oxford, UK<br>
</div>