<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks Rick,<br>
<br>
I was very sure this is the case, why would you deliver to a
secondary when the primary is undeliverable with a permanent error.
The RFC says only in temporary errors do you wait or try the
secondaries.<br>
<br>
So the system behaves as expected, if the primary has a permanent
error the only way you can report an error is to return to sender.<br>
<br>
So we get back to my first comment which was pointing out that, why
are you trying to fix someone elses problem, if the domain is
broken the mail is returned: end of story.<br>
<br>
Life is indeed too short to be trying work-arounds for other
people's broken systems.<br>
<br>
P.<br>
<br>
<div class="moz-cite-prefix">On 02/09/2014 16:33, Rick Cooper wrote:<br>
</div>
<blockquote cite="mid:8C5E49AEED12468F8399DD7A0BDC305D@SAHOMELT"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<meta name="GENERATOR" content="MSHTML 10.00.9200.17054">
<div dir="ltr" align="left"><span class="752432915-02092014"><font
color="#0000ff" face="Arial" size="2">rfc5321 does not say
that, as I read it. It says:</font></span></div>
<div dir="ltr" align="left"><span class="752432915-02092014"></span> </div>
<div dir="ltr" align="left"><span class="752432915-02092014">
<pre class="newpage" style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1em; FONT-VARIANT: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; PAGE-BREAK-BEFORE: always; FONT-WEIGHT: normal; COLOR: rgb(0,0,0); FONT-STYLE: normal; MARGIN-TOP: 0px; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><font face="Arial" size="2">The lookup first attempts to locate an MX record associated with the
name. If a CNAME record is found, the resulting name is processed as
if it were the initial name. If a non-existent domain error is
returned, this situation MUST be reported as an error.</font></pre>
<pre class="newpage" style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1em; FONT-VARIANT: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; PAGE-BREAK-BEFORE: always; FONT-WEIGHT: normal; COLOR: rgb(0,0,0); FONT-STYLE: normal; MARGIN-TOP: 0px; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"> </pre>
<pre class="newpage" style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1em; FONT-VARIANT: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; PAGE-BREAK-BEFORE: always; FONT-WEIGHT: normal; COLOR: rgb(0,0,0); FONT-STYLE: normal; MARGIN-TOP: 0px; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><font color="#0000ff" face="Arial" size="2">You cannot report as error and continue on with delivery, this doesn't mean log an error it means</font></pre>
<pre class="newpage" style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1em; FONT-VARIANT: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; PAGE-BREAK-BEFORE: always; FONT-WEIGHT: normal; COLOR: rgb(0,0,0); FONT-STYLE: normal; MARGIN-TOP: 0px; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><font color="#0000ff" face="Arial" size="2">cease and report as error ( not even defer). Assuming this is what you are speaking of the correct</font></pre>
<pre class="newpage" style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1em; FONT-VARIANT: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; PAGE-BREAK-BEFORE: always; FONT-WEIGHT: normal; COLOR: rgb(0,0,0); FONT-STYLE: normal; MARGIN-TOP: 0px; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><font color="#0000ff" face="Arial" size="2">thing to do would be to try the primary and (assuming it returned a cname) stop the delivery attempt</font></pre>
<pre class="newpage" style="MARGIN-BOTTOM: 0px; FONT-SIZE: 1em; FONT-VARIANT: normal; TEXT-TRANSFORM: none; WORD-SPACING: 0px; PAGE-BREAK-BEFORE: always; FONT-WEIGHT: normal; COLOR: rgb(0,0,0); FONT-STYLE: normal; MARGIN-TOP: 0px; LETTER-SPACING: normal; LINE-HEIGHT: normal; TEXT-INDENT: 0px; -webkit-text-stroke-width: 0px"><font color="#0000ff" face="Arial" size="2">when it cannot be resolved.</font></pre>
</span></div>
<br>
<div class="OutlookMessageHeader" dir="ltr" align="left"
lang="en-us">
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:mailscanner-bounces@lists.mailscanner.info">mailscanner-bounces@lists.mailscanner.info</a>
[<a class="moz-txt-link-freetext" href="mailto:mailscanner-bounces@lists.mailscanner.info">mailto:mailscanner-bounces@lists.mailscanner.info</a>] <b>On
Behalf Of </b>Joolee<br>
<b>Sent:</b> Tuesday, September 02, 2014 10:37 AM<br>
<b>To:</b> MailScanner discussion<br>
<b>Subject:</b> Re: ot a bit: sendmail and TO mx not found<br>
</font><br>
</div>
<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't try all multihomed A records pointed to by a single MX
record (although, that's not exactly what the RFC says) but
that's not the case here. So the question still is, why doesn'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"><<a moz-do-not-send="true"
href="mailto:peter@farrows.org" target="_blank">peter@farrows.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex;
MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div text="#000000" bgcolor="#FFFFFF">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 moz-do-not-send="true"
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 "we" 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
moz-do-not-send="true"
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 "no
thanks" 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 moz-do-not-send="true"
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"
cellpadding="0" cellspacing="0" border="0"
width="100%">
<tbody>
<tr>
<td bgcolor="#e57c09"><img alt="horizontal
ruler"
src="cid:part5.01080609.05020505@farrows.org"
height="7" width="1"> </td>
</tr>
</tbody>
</table>
<table style="BORDER-COLLAPSE: collapse"
cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr>
<td style="FONT-SIZE: 12pt; FONT-FAMILY:
Arial; FONT-WEIGHT: bold" colspan="2">Peter
Farrow</td>
</tr>
<tr>
<td height="100" valign="middle" width="100"><img
alt="avatar"
src="cid:part6.03070609.05090104@farrows.org"
height="100" width="100"> </td>
<td valign="middle">
<table style="FONT-SIZE: 10pt; FONT-FAMILY:
Tahoma; BORDER-COLLAPSE: collapse">
<tbody>
<tr>
<td style="FONT-WEIGHT: bold"
colspan="2">______________________</td>
</tr>
<tr>
<td style="FONT-SIZE: 8pt;
FONT-WEIGHT: bold; TEXT-ALIGN:
right">Home:</td>
<td style="TEXT-ALIGN: center">01249
654183</td>
</tr>
<tr>
<td style="FONT-SIZE: 8pt;
FONT-WEIGHT: bold; TEXT-ALIGN:
right">Fax:</td>
<td style="TEXT-ALIGN: center">01249
461 548</td>
</tr>
<tr>
<td style="FONT-SIZE: 8pt;
FONT-WEIGHT: bold; TEXT-ALIGN:
right">Mobile:</td>
<td style="TEXT-ALIGN: center">07799605617</td>
</tr>
<tr>
<td style="FONT-SIZE: 8pt;
FONT-WEIGHT: bold; TEXT-ALIGN:
right">Skype:</td>
<td style="TEXT-ALIGN: center">peter_farrow</td>
</tr>
<tr>
<td style="FONT-SIZE: 8pt;
FONT-WEIGHT: bold; TEXT-ALIGN:
right">Web:</td>
<td style="TEXT-ALIGN: center"><a
moz-do-not-send="true"
href="http://www.peterfarrow.com"
target="_blank">www.peterfarrow.com</a></td>
</tr>
<tr>
<td style="FONT-SIZE: 6pt" colspan="2"
align="center"><br>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</blockquote>
</div>
<br>
--<br>
MailScanner mailing list<br>
<a moz-do-not-send="true"
href="mailto:mailscanner@lists.mailscanner.info">mailscanner@lists.mailscanner.info</a><br>
<a moz-do-not-send="true"
href="http://lists.mailscanner.info/mailman/listinfo/mailscanner"
target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a moz-do-not-send="true"
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>
<br>
-- <br>
This message has been scanned for viruses and
<br>
dangerous content by the
<a moz-do-not-send="true" href="http://www.togethia.net/"><b>Togethia
MailScanner</b></a>, and is
<br>
believed to be clean.
<br>
Scanner:local
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<br>
<div class="moz-signature">-- <br>
<table style="border-collapse: collapse" cellpadding="0"
cellspacing="0" border="0" width="100%">
<tbody>
<tr>
<td bgcolor="E57c09"><img alt="horizontal ruler"
src="cid:part12.08050501.06030300@farrows.org"
height="7" width="1"> </td>
</tr>
</tbody>
</table>
<table style="border-collapse: collapse" cellpadding="0"
cellspacing="0" border="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:part13.05070304.00020106@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">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>
</body>
</html>