<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:3.0cm 2.0cm 3.0cm 2.0cm;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=DA link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Hi Kasper<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>It really isn&#8217;t hard at all to do user checking.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Instead of collecting the list of valid users via ldap or some
sort of export or other tedious methods. You can simply do callout from your
mta. Meaning your relay server (mailscanner) checks with the receiving smtp
server if it wants to accept the mail address.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Of course this requires that your customers mail servers reject
unknown users, but unless they use wildcard mail addresses this is no problem
at all.<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'>Med venlig hilsen / Best regards<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'> <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'>Jonas Akrouh Larsen<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'> <o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'>TechBiz ApS<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'>Laplandsgade 4, 2. sal<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'>2300 København S<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'> <o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'>Office: 7020 0979<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'>Direct: 3336 9974<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'>Mobile: 5120 1096<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'>Fax:    7020 0978<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'>Web: </span><span style='font-size:10.5pt;font-family:Consolas;
color:#1F497D'><a href="http://www.techbiz.dk"><span lang=EN-US
style='color:blue'>www.techbiz.dk</span></a></span><span lang=EN-US
style='font-size:10.5pt;font-family:Consolas;color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;
font-family:"Tahoma","sans-serif"'> mailscanner-bounces@lists.mailscanner.info
[mailto:mailscanner-bounces@lists.mailscanner.info] <b>On Behalf Of </b>Kasper
Sacharias Eenberg<br>
<b>Sent:</b> 15. maj 2009 10:32<br>
<b>To:</b> MailScanner discussion<br>
<b>Subject:</b> Re: spamaction highscore rules.<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Unfortunately, we do not, completely that is.<br>
<br>
I implemented some user checking. But we have many mailservers running. Lotus
Domino, Microsoft Exchange, Zarafa and simply postfix/dovecot.<br>
It's a pain gathering from that many servers.<br>
It's on my todo list though.<br>
I'll prioritize it up.<br>
<br>
The main problem however, might be that the server only has 1GB of ram, for
some reason or other.<br>
The other spamfilters have better hardware, but this is used as our primary,
until i set up replication of rules and such. And add more filters.<br>
<br>
Tuning has been done on all servers.<br>
<br>
<br>
With regards,<o:p></o:p></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td style='padding:0cm 0cm 0cm 0cm'>
  <div class=MsoNormal align=center style='text-align:center'>
  <hr size=1 width="100%" noshade style='color:#A0A0A0' align=center>
  </div>
  <p class=MsoNormal><br>
  <br>
  <span style='color:black'>Kasper Eenberg</span><br>
  <br>
  <i><span style='font-size:18.0pt;color:navy'>HOVMARK DATA</span></i><br>
  <span style='color:black'>Ravnevej 13&nbsp;&nbsp; </span><br>
  <span style='color:black'>dk-6705 Esbjerg Ø</span><br>
  <span style='color:black'>tlf:&nbsp;&nbsp; +45 76 12 59 04</span><br>
  <span style='color:black'>mobil: +45 40 70 69 63</span> <o:p></o:p></p>
  </td>
 </tr>
</table>

<p class=MsoNormal><br>
<br>
On Fri, 2009-05-15 at 08:47 +0100, Martin Hepworth wrote:<br>
<br>
<o:p></o:p></p>

<p class=MsoNormal>Kasper <o:p></o:p></p>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p>

</blockquote>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal>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. <o:p></o:p></p>

</blockquote>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-bottom:12.0pt'><o:p>&nbsp;</o:p></p>

</blockquote>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal>-- <o:p></o:p></p>

</blockquote>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-bottom:12.0pt'>Martin<o:p></o:p></p>

</blockquote>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal>2009/5/15 Kasper Sacharias Eenberg &lt;<a
href="mailto:kse@hovmark.dk">kse@hovmark.dk</a>&gt; <o:p></o:p></p>

</blockquote>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal>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 &quot;To:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@<a href="http://eurocargoservices.dk">eurocargoservices.dk</a> delete&quot;
does not work, as you say.<br>
<br>
<br>
With regards, <o:p></o:p></p>

</blockquote>

</blockquote>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td style='padding:0cm 0cm 0cm 0cm'>
  <div class=MsoNormal align=center style='text-align:center'>
  <hr size=1 width="100%" noshade style='color:#A0A0A0' align=center>
  </div>
  <p class=MsoNormal><br>
  <br>
  <br>
  <span style='color:black'>Kasper Eenberg</span><br>
  <br>
  <i><span style='font-size:18.0pt;color:navy'>HOVMARK DATA</span></i><br>
  <span style='color:black'>Ravnevej 13&nbsp;&nbsp; </span><br>
  <span style='color:black'>dk-6705 Esbjerg Ø</span><br>
  <span style='color:black'>tlf:&nbsp;&nbsp; +45 76 12 59 04</span><br>
  <span style='color:black'>mobil: +45 40 70 69 63</span> <o:p></o:p></p>
  </td>
 </tr>
</table>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br>
<o:p></o:p></p>

</blockquote>

</blockquote>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</blockquote>

</blockquote>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal>On Wed, 2009-05-13 at 09:59 +0100, Martin Hepworth wrote: <br>
<br>
<o:p></o:p></p>

<p class=MsoNormal><br>
<br>
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.<br>
<br>
<br>
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=&amp;idx=documentation:configuration:mta">http://wiki.mailscanner.info/doku.php?id=&amp;idx=documentation:configuration:mta</a>)<br>
<br>
<br>
--&nbsp;<br>
Martin Hepworth<br>
Oxford, UK<br>
<br>
2009/5/13 Kasper Sacharias Eenberg &lt;<a href="mailto:kse@hovmark.dk">kse@hovmark.dk</a>&gt;<o:p></o:p></p>

<p class=MsoNormal>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 &quot;Use Default Rules With Multiple Recipients = yes&quot; does not
work.<br>
<br>
These are the rules:<br>
To:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; @<a
href="http://eurocargoservices.de">eurocargoservices.de</a> deliver<br>
FromOrTo:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
default&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; forward <a
href="mailto:isspam@localhost">isspam@localhost</a><br>
<br>
<br>
Live long and prosper,<o:p></o:p></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td style='padding:0cm 0cm 0cm 0cm'>
  <div class=MsoNormal align=center style='text-align:center'>
  <hr size=1 width="100%" noshade style='color:#A0A0A0' align=center>
  </div>
  <p class=MsoNormal><br>
  <br>
  <br>
  <br>
  <br>
  <span style='color:black'>Kasper Eenberg</span><br>
  <br>
  <i><span style='font-size:18.0pt;color:navy'>HOVMARK DATA</span></i><br>
  <span style='color:black'>Ravnevej 13&nbsp;&nbsp; </span><br>
  <span style='color:black'>dk-6705 Esbjerg Ø</span><br>
  <span style='color:black'>tlf:&nbsp;&nbsp; +45 76 12 59 04</span><br>
  <span style='color:black'>mobil: +45 40 70 69 63</span> <o:p></o:p></p>
  </td>
 </tr>
</table>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br>
<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!<o:p></o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br>
<br>
<br>
<o:p></o:p></p>

</blockquote>

</blockquote>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-bottom:12.0pt'><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!<o:p></o:p></p>

</blockquote>

</blockquote>

<blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'>

<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br>
<br>
-- <br>
Martin Hepworth<br>
Oxford, UK<o:p></o:p></p>

</blockquote>

</div>

</div>

</body>

</html>