<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.26.1.1">
</HEAD>
<BODY>
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: @eurocargoservices.dk delete" does not work, as you say.<BR>
<BR>
<BR>
With regards,<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<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>
</TABLE>
<BR>
<BR>
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">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">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">eurocargoservices.de</A><BR>
<A HREF="http://eurocargoservices.dk">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">eurocargoservices.de</A> deliver<BR>
FromOrTo: default forward <A HREF="mailto:isspam@localhost">isspam@localhost</A><BR>
<BR>
<BR>
Live long and prosper,<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<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>
</TABLE>
<BR>
<BR>
</BLOCKQUOTE>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BLOCKQUOTE>
<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">http://lists.mailscanner.info/mailman/listinfo/mailscanner</A><BR>
<BR>
Before posting, read <A HREF="http://wiki.mailscanner.info/posting">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>
</BODY>
</HTML>