<div dir="ltr">rfc5321 section 5 indicates that Sendmail <i>should</i> try the server(s) to whom the alternative MX records point. It shouldn&#39;t try all multihomed A records pointed to by a single MX record (although, that&#39;s not exactly what the RFC says) but that&#39;s not the case here. So the question still is, why doesn&#39;t Sendmail try the alternative MX records?<br>

<div class="gmail_extra"><br><br><div class="gmail_quote">On 2 September 2014 14:39, Peter Farrow <span dir="ltr">&lt;<a href="mailto:peter@farrows.org" target="_blank">peter@farrows.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    If the primary MX does not resolve , sendmail will not try a lesser
    MX record, because the best option is unresolvable, so it will
    return the message after checking and appending any search
    parameters given in /etc/resolv.conf.<br>
    <br>
    This behaviour is by design, and you are trying to fix a problem
    which is inherently not yours to solve.<br>
    <br>
    If the primary MX does not resolve : The domain is broken - so why
    try and work around that?<div><div class="h5"><br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <div>On 02/09/2014 13:19, <a href="mailto:ja@conviator.com" target="_blank">ja@conviator.com</a>
      wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      
      <div>hi</div>
      <div> </div>
      <div>its a bit OT but I hope its OK anyway. We are also using
        Mailscanner as outbound scanner and see a problem that I cannot
        figure out - probably some setting im missing. </div>
      <div> </div>
      <div>sometimes &quot;we&quot; send emails to a domain where the primary MX
        record does not resolve. I would have expected that sendmail
        would just try the next but instead it resolves to
        <a href="http://mxrecord.name.OURDOMAIN.COM" target="_blank">mxrecord.name.OURDOMAIN.COM</a> (I think) - it seams it appends our
        domain and then tries this server and this server says &quot;no
        thanks&quot; so the delivery fails. </div>
      <div> </div>
      <div>I tried to lookup the MX myself using the same nameserver as
        the mailscanner server is using - this fails so its not the DNS
        server that appends something to make it resolveable or gives
        out a standard IP. </div>
      <div> </div>
      <div>I also checked the resolve file to check that there is not
        search setting that would make it search our domain for a valid
        IP/lookup. </div>
      <div> </div>
      <div>how can I stop this behavior and make it try the next MX in
        line? </div>
      <div> </div>
      <div>best regards</div>
      <div>Jan</div>
      <div> </div>
      <br></div></div>
      -- <br>
      This message has been scanned for viruses and
      <br>
      dangerous content by the
      <a href="http://www.togethia.net/" target="_blank"><b>Togethia
          MailScanner</b></a>, and is
      <br>
      believed to be clean.
      <br>
      Scanner:local
      <br>
      <fieldset></fieldset>
      <br>
      <br>
      <div>-- <br>
        <table style="border-collapse:collapse" border="0" width="100%" cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <td bgcolor="E57c09"><img alt="horizontal ruler" src="cid:part2.07060900.00050703@farrows.org" height="7" width="1"> </td>
            </tr>
          </tbody>
        </table>
        <table style="border-collapse:collapse" border="0" cellpadding="0" cellspacing="0">
          <tbody>
            <tr>
              <td colspan="2" style="font-family:Arial;font-weight:bold;font-size:12pt">Peter Farrow</td>
            </tr>
            <tr>
              <td height="100" valign="center" width="100"> <img alt="avatar" src="cid:part3.07010201.08020305@farrows.org" height="100" width="100"> </td>
              <td valign="center">
                <table style="border-collapse:collapse;font-family:Tahoma;font-size:10pt">
                  <tbody>
                    <tr>
                      <td colspan="2" style="font-weight:bold">
                        ______________________</td>
                    </tr>
                    <tr>
                      <td style="text-align:right;font-weight:bold;font-size:8pt">Home:</td>
                      <td style="text-align:center"> 01249 654183</td>
                    </tr>
                    <tr>
                      <td style="text-align:right;font-weight:bold;font-size:8pt">Fax:</td>
                      <td style="text-align:center">01249 461 548</td>
                    </tr>
                    <tr>
                      <td style="text-align:right;font-weight:bold;font-size:8pt">Mobile:</td>
                      <td style="text-align:center">07799605617</td>
                    </tr>
                    <tr>
                      <td style="text-align:right;font-weight:bold;font-size:8pt">Skype:</td>
                      <td style="text-align:center">peter_farrow</td>
                    </tr>
                    <tr>
                      <td style="text-align:right;font-weight:bold;font-size:8pt">Web:</td>
                      <td style="text-align:center"><a href="http://www.peterfarrow.com" target="_blank">www.peterfarrow.com</a></td>
                    </tr>
                    <tr>
                      <td colspan="2" style="font-size:6pt" align="center"><br>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
    </blockquote>
  </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></div>