<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">I'm not sure I completely understand but it appears that dig can be told to look for a specific service and your failure of dig -t mx indicates that mailout.easydns.com doesn't have the needed service. <br>As it turns out, use of mailout.easydns.com works on another plug computer that I run on another network and the dig -t mx fails there as well.<br>The mystery remains unsolved. <br>Here's the evidence:<br>alex@www:~$ dig -t mx mailout.easydns.com +short<br>alex@www:~$ dig mailout.easydns.com +short<br>64.68.200.141<br>alex@www:~$ dig -p 2025 -t mx mailout.easydns.com +short<br><br>; <<>> DiG 9.7.3 <<>> -p 2025 -t mx mailout.easydns.com +short<br>;; global options: +cmd<br>;; connection timed out; no servers could be reached<br>alex@www:~$ dig mailout.easydns.com +short<br>64.68.200.141<br>alex@www:~$ dig -p2025
mailout.easydns.com +short<br>; <<>> DiG 9.7.3 <<>> -p2025 mailout.easydns.com +short<br>
;; global options: +cmd<br>
;; connection timed out; no servers could be reached<br>
<br>I haven't mentioned that mailout.easydns.com listens on an unconventional port and I thought that might be an explanation for the dig -t mx failure but it seems not.<br>I have postfix running on both machines with the same /etc/postfix/main.cf file (except for the "mydestination=" line)<br><br><br>alex<br><br>--- On <b>Sat, 8/18/12, Tom Haddon <i><tom@greenleaftech.net></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Tom Haddon <tom@greenleaftech.net><br>Subject: Re: [sf-lug] resolver problem<br>To: sf-lug@linuxmafia.com<br>Date: Saturday, August 18, 2012, 9:10 AM<br><br><div id="yiv1150366277">
<div>
<div class="yiv1150366277moz-cite-prefix">You're mixing things that you're
checking here. The host DNS entry for mailout.easydns.com may
exist, but that doesn't mean there's an MX record for it.<br>
<br>
mthaddon@mallory:~$ dig mailout.easydns.com<br>
<br>
; <<>> DiG 9.8.1-P1 <<>>
mailout.easydns.com<br>
;; global options: +cmd<br>
;; Got answer:<br>
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:
53568<br>
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL:
0<br>
<br>
;; QUESTION SECTION:<br>
;mailout.easydns.com. IN A<br>
<br>
;; ANSWER SECTION:<br>
mailout.easydns.com. 300 IN A 64.68.200.141<br>
<br>
;; Query time: 12 msec<br>
;; SERVER: 127.0.0.1#53(127.0.0.1)<br>
;; WHEN: Sat Aug 18 17:09:43 2012<br>
;; MSG SIZE rcvd: 53<br>
<br>
<a rel="nofollow" target="_blank" href="http://www.rg-racing.com/browseBike/Aprilia/RSV4-R/2011/RAD0076.aspx"></a>mthaddon@mallory:~$
dig -t mx mailout.easydns.com<br>
<br>
; <<>> DiG 9.8.1-P1 <<>> -t mx
mailout.easydns.com<br>
;; global options: +cmd<br>
;; Got answer:<br>
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id:
42943<br>
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL:
0<br>
<br>
;; QUESTION SECTION:<br>
;mailout.easydns.com. IN MX<br>
<br>
;; Query time: 13 msec<br>
;; SERVER: 127.0.0.1#53(127.0.0.1)<br>
;; WHEN: Sat Aug 18 17:04:57 2012<br>
;; MSG SIZE rcvd: 37<br>
<br>
Looks like you need to double check that that's what you should be
trying to connect to.<br>
<br>
Thanks, Tom<br>
<br>
On 18/08/12 16:55, Alex Kleider wrote:<br>
</div>
<blockquote type="cite">
<table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td style="font:inherit;" valign="top">I've got postfix
installed on my DreamPlug and am trying to get it<br>
configured to be able to send mail out to a "smart host."
The smart host is<br>
mailout.easydns.com. Mail doesn't get out; the following
is reported<br>
in /var/log/mail.info:<br>
"""<br>
Aug 18 08:34:59 dp4 postfix/pickup[25907]: 36C8229CE7:
uid=0 from=<root><br>
Aug 18 08:34:59 dp4 postfix/cleanup[26005]: 36C8229CE7:<br>
message-id=<a rel="nofollow" class="yiv1150366277moz-txt-link-rfc2396E" ymailto="mailto:20120818153459.GA25992@kleider.ca" target="_blank" href="/mc/compose?to=20120818153459.GA25992@kleider.ca"><20120818153459.GA25992@kleider.ca></a><br>
Aug 18 08:34:59 dp4 postfix/qmgr[17065]: 36C8229CE7:<br>
from=<a rel="nofollow" class="yiv1150366277moz-txt-link-rfc2396E" ymailto="mailto:root@kleider.ca" target="_blank" href="/mc/compose?to=root@kleider.ca"><root@kleider.ca></a>, size=416, nrcpt=1 (queue
active)<br>
Aug 18 08:35:15 dp4 postfix/smtp[26008]: 36C8229CE7:<br>
to=<a rel="nofollow" class="yiv1150366277moz-txt-link-rfc2396E" ymailto="mailto:akleider@sonic.net" target="_blank" href="/mc/compose?to=akleider@sonic.net"><akleider@sonic.net></a>, relay=none, delay=16,
delays=0.1/0.03/16/0,<br>
dsn=4.4.3, status=deferred (Host or domain name not found.
Name service<br>
error for name=mailout.easydns.com type=MX: Host not
found, try again)<br>
"""<br>
<br>
Investigation of name resolution gives what seem to be
conflicting<br>
results (ping and dig work but traceroute and mtr don't):<br>
<br>
root@dp4:/var/log# ping mailout.easydns.com<br>
PING mailout.easydns.com (64.68.200.141) 56(84) bytes of
data.<br>
64 bytes from mailout.easydns.com (64.68.200.141):
icmp_req=1 ttl=50<br>
time=81.9 ms<br>
64 bytes from mailout.easydns.com (64.68.200.141):
icmp_req=2 ttl=50<br>
time=79.9 ms<br>
64 bytes from mailout.easydns.com (64.68.200.141):
icmp_req=3 ttl=50<br>
time=81.3 ms<br>
^C64 bytes from mailout.easydns.com (64.68.200.141):
icmp_req=4 ttl=50<br>
time=80.3 ms<br>
<br>
--- mailout.easydns.com ping statistics ---<br>
4 packets transmitted, 4 received, 0% packet loss, time
13907ms<br>
rtt min/avg/max/mdev = 79.989/80.931/81.988/0.788 ms<br>
<br>
root@dp4:/var/log# traceroute mailout.easydns.com<br>
mailout.easydns.com: No address associated with hostname<br>
Cannot handle "host" cmdline arg `mailout.easydns.com' on
position 1 (argc<br>
1)<br>
<br>
root@dp4:/var/log# dig @127.0.0.1 mailout.easydns.com<br>
<br>
; <<>> DiG 9.7.3 <<>> @127.0.0.1
mailout.easydns.com<br>
; (1 server found)<br>
;; global options: +cmd<br>
;; Got answer:<br>
;; ->>HEADER<<- opcode: QUERY, status:
NOERROR, id: 47312<br>
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0,
ADDITIONAL: 0<br>
<br>
;; QUESTION SECTION:<br>
;mailout.easydns.com. IN A<br>
<br>
;; ANSWER SECTION:<br>
mailout.easydns.com. 191 IN A
64.68.200.141<br>
<br>
;; Query time: 4016 msec<br>
;; SERVER: 127.0.0.1#53(127.0.0.1)<br>
;; WHEN: Sat Aug 18 08:27:38 2012<br>
;; MSG SIZE rcvd: 53<br>
<br>
root@dp4:/var/log# mtr mailout.easydns.com<br>
No address associated with hostname: Success<br>
<br>
Other commands that require resolver success (wget, w3m)
work fine.<br>
<br>
Any thoughts?<br>
<br>
Alex<br>
~ <br>
<br>
<br>
<a rel="nofollow" class="yiv1150366277moz-txt-link-abbreviated" ymailto="mailto:a_kleider@yahoo.com" target="_blank" href="/mc/compose?to=a_kleider@yahoo.com">a_kleider@yahoo.com</a></td>
</tr>
</tbody>
</table>
<br>
<fieldset class="yiv1150366277mimeAttachmentHeader"></fieldset>
<br>
<pre>_______________________________________________
sf-lug mailing list
<a rel="nofollow" class="yiv1150366277moz-txt-link-abbreviated" ymailto="mailto:sf-lug@linuxmafia.com" target="_blank" href="/mc/compose?to=sf-lug@linuxmafia.com">sf-lug@linuxmafia.com</a>
<a rel="nofollow" class="yiv1150366277moz-txt-link-freetext" target="_blank" href="http://linuxmafia.com/mailman/listinfo/sf-lug">http://linuxmafia.com/mailman/listinfo/sf-lug</a>
Information about SF-LUG is at <a rel="nofollow" class="yiv1150366277moz-txt-link-freetext" target="_blank" href="http://www.sf-lug.org/">http://www.sf-lug.org/</a></pre>
</blockquote>
<br>
</div>
</div><br>-----Inline Attachment Follows-----<br><br><div class="plainMail">_______________________________________________<br>sf-lug mailing list<br><a ymailto="mailto:sf-lug@linuxmafia.com" href="/mc/compose?to=sf-lug@linuxmafia.com">sf-lug@linuxmafia.com</a><br><a href="http://linuxmafia.com/mailman/listinfo/sf-lug" target="_blank">http://linuxmafia.com/mailman/listinfo/sf-lug</a><br>Information about SF-LUG is at <a href="http://www.sf-lug.org/" target="_blank">http://www.sf-lug.org/</a></div></blockquote></td></tr></table>