make sure that there is only 1 recipient in the email as MS will only checked the recipient based on the envelope-to.<div><br></div><div>(if necessary split multiple recipient emails into individual emails as in the wiki pages)</div>
<div><br clear="all">-- <br>Martin Hepworth<br>Oxford, UK<br>
<br><br><div class="gmail_quote">2011/4/17 Alessandro Bianchi <span dir="ltr">&lt;<a href="mailto:alex@skynet-srl.com">alex@skynet-srl.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  
    
    
  
  <div text="#000000" bgcolor="#ffffff">
    Hi everyone<br>
    <br>
    I&#39;ve been using MS for some time and I thought that rules precedence
    was a clear fact to me.<br>
    <br>
    I&#39;ve just discovered this is not true.<br>
    <br>
    I&#39;m using a scanDomain.rules files in the following form:<br>
    <br>
    From:    noscan@mydomain    no<br>
    From:    foo@foodomain   and To: *@foodomain  no<br>
    To:        *@foodomain    yes<br>
    Default:     no<br>
    <br>
    It has always worked like a charm, email from noscan@mydomain are
    not processed by MailScanner, but suddenly rule 2 stopped working.<br>
    <br>
    It says &quot;unable to analyze message&quot;<br>
    <br>
    They are sending from address foo@foodomain to addresses in 
    *@foodomain so it seems that the rule &quot;To:        *@foodomain   
    yes&quot; takes over.<br>
    <br>
    I tried placing the exception before or after the scan domain rule
    but it seems to have no effect at all.<br>
    <br>
    This client is using some sort of automatic processing that sends an
    empty email (no body) with a funny capitalized subject like
    &quot;#FOCUS2106##ASKFILE# A_C_1407.sdr&quot;  and it seems there is no way to
    unlock this emails that the customer badly needs.<br>
    <br>
    I need to bypass MailScanner completely when user foo@foodomain
    sends email to  *@foodomain .<br>
    <br>
    I know thisi is no good for security, but the customer&#39;s asks this!<br>
    <br>
    I also tried to set up a header_check rule in postfix to unqueue the
    email with no luck.<br>
    <br>
    I looked in the archives with no luck, and I&#39;m pretty sure I&#39;m
    missing the simple...<br>
    <br>
    In addiction in the last month I am seeing many &quot;Attachment too
    small&quot; errors in the logs but they are not related to the above
    (they are two totally  different problems).<br>
    <br>
    Any idea?<br>
    <br>
    Thank you in advance<br>
    <br>
    Alessandro Bianchi<br>
    <div>-- <br>
      
      
      
      
      
      
      
      
      <p>SkyNet SRL</p>
      <p>Via Maggiate 67 - 28021 Borgomanero (NO) -
        tel.
        +39 0322-836487/834765 - fax +39 0322-836608</p>
      <p align="CENTER"><a href="http://www.skynet-srl.com/" target="_blank">http://www.skynet-srl.com</a></p>
      <p>Autorizzazione Ministeriale n.197</p>
      <p>Le informazioni contenute in questo messaggio sono
        riservate e confidenziali ed č vietata la diffusione in
        qualunque
        modo eseguita.<br>
        Qualora Lei non fosse la persona a cui il presente
        messaggio č destinato, La invitiamo ad eliminarlo ed a
        distruggerlo
        non divulgandolo, dandocene gentilmente comunicazione. <br>
        Per
        qualsiasi informazione si prega di contattare
        <a href="mailto:info@skynet-srl.com" target="_blank">info@skynet-srl.com</a>
        (e-mail dell&#39;azienda). Rif. D.L. 196/2003</p>
    </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></div>