# sendmail -v -q -d8.7 > /tmp/sendmail.log
Code: Select all
Running /var/spool/mqueue/k74GFEN5003983 (sequence 1 of 2)
dns_getcanonname(ourdomain.net, trymx=1)
dns_getcanonname: trying ourdomain.net. (AAAA)
NO: errno=0, h_errno=4
dns_getcanonname: trying ourdomain.net. (A)
YES
dns_getcanonname: ourdomain.net
dns_getcanonname(ourdomain.co.uk, trymx=1)
dns_getcanonname: trying ourdomain.co.uk. (AAAA)
NO: errno=0, h_errno=4
dns_getcanonname: trying ourdomain.co.uk. (A)
NO: errno=0, h_errno=4
dns_getcanonname: trying ourdomain.co.uk. (MX)
YES
dns_getcanonname: ourdomain.co.uk
getmxrr(ourdomain.co.uk., droplocalhost=1)
<richard.shaw@ourdomain.co.uk>... Connecting to mail.ourdomain.net. via esmtp...
<richard.shaw@ourdomain.co.uk>... Deferred: Connection timed out with mail.ourdomain.net.
Running /var/spool/mqueue/k74GFEMv003983 (sequence 2 of 2)
<john.reeves@ourdomain.co.uk>... Deferred: Connection timed out with mail.ourdomain.net.
The smtpd.log shows nothing - no incoming connection, nada. I have no idea what's going on here as:
1. I can telnet onto mail.ourdomain.com, port 25 FROM the box that is trying to send the mail and sucessfully have an SMTP conversation.
2. mail to external domains from the box that is trying to send works fine!
/var/log/maillog
Code: Select all
Aug 4 17:31:27 smartsys sendmail[4179]: k74GFEN5003983: to=<richard.shaw@ourdomain.co.uk>, delay=00:16:12, xdelay=00:02:00, mailer=esmtp, pri=300601, relay=mail.ourdomain.net. [x7.x17.x09.x5], dsn=4.0.0, stat=Deferred: Connection timed out with mail.ourdomain.net.
Aug 4 17:31:27 smartsys sendmail[4179]: k74GFEMv003983: to=<john.reeves@ourdomain.co.uk>, delay=00:16:13, xdelay=00:00:00, mailer=esmtp, pri=300829, relay=mail.ourdomain.net., dsn=4.0.0, stat=Deferred: Connection timed out with mail.ourdomain.net.
Aug 4 17:35:45 smartsys sendmail[4236]: k74GZfv9004236: from=root, size=62, class=0, nrcpts=1, msgid=<200608041635.k74GZfv9004236@localhost.localdomain>, relay=root@localhost
Aug 4 17:35:45 smartsys sendmail[4238]: k74GZjeU004238: from=<root@localhost.localdomain>, size=361, class=0, nrcpts=1, msgid=<200608041635.k74GZfv9004236@localhost.localdomain>, proto=ESMTP, daemon=MTA, relay=smartsys [127.0.0.1]
Aug 4 17:35:45 smartsys sendmail[4236]: k74GZfv9004236: to=john.reeves@personalemail.net, ctladdr=root (0/0), delay=00:00:04, xdelay=00:00:00, mailer=relay, pri=30062, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (k74GZjeU004238 Message accepted for delivery)
*shrugs*