Having troubles with sendmail on FBSD7.2. One of the issues might be DNS maybe. I'm not exactly sure what the following maillog error means:
I believe this mail originated on my local host sent to my local host. I get the sense either sendmail couldn't reach the nameserver, or the nameserver didn't return an MX record. Not sure.
I have 2 views set up in named, internal & external. my workstation is internal view obviously. External view doesn't include the 192.168/16 interfaces.
I do have the domain registered. And everything appeared to be running smoothly till several days ago. incoming mail arrived fine, especially spam. Never a problem with outgoing mail, or delivery on localhost. Upgrading to perl 5.10 and libpng preceded the sendmail meltdown. Since then incoming mail is stopped. When I send myself email from an external net, like Yahoo or from my corporate net, I now get the deferred error and delivery ultimately fails. The error report from my corporate email exchange server says something like MX record not found. (or maybe just not responsive, not sure).
I've not rebuilt sendmail or anything in /etc/mail. They didn't seem to depend on perl or png.
Would really appreciate some extra insight into where the communication between sendmail & bind is breaking down.
Code:
Apr 28 11:32:49 motive sm-msp-queue[54444]: o3S42j7r040474: to=marc, delay=14:30:04, xdelay=00:00:00, mailer=relay, pri=6051213, relay=
[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Name server: [127.0.0.1]: host name lookup failure
Apr 28 11:32:50 motive sm-msp-queue[54444]: o3S002ZC029776: to=marc, ctladdr=marc (1000/1000), delay=18:32:48, xdelay=00:00:00, mailer=relay,
pri=6589884, relay=[127.0.0.1], dsn=4.0.0, stat=Deferred: 451 4.3.2 Please try again later
I believe this mail originated on my local host sent to my local host. I get the sense either sendmail couldn't reach the nameserver, or the nameserver didn't return an MX record. Not sure.
Code:
sockstat -4 | grep 'named'
bind named 1121 20 tcp4 67.40.25x.yz:53 *:*
bind named 1121 21 tcp4 *:953 *:*
bind named 1121 512udp4 67.40.25x.yz:53 *:*
I have 2 views set up in named, internal & external. my workstation is internal view obviously. External view doesn't include the 192.168/16 interfaces.
Code:
dig @67.40.25x.yz myown.net MX
; <<>> DiG 9.4.3-P2 <<>> @67.40.25x.yz myown.net MX
; (1 server found)
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30960
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 3
;; QUESTION SECTION:
;myown.net. IN MX
;; ANSWER SECTION:
myown.net. 3600 IN MX 0 host.myown.net.
;; AUTHORITY SECTION:
myown.net. 3600 IN NS host.myown.net.
;; ADDITIONAL SECTION:
host.myown.net. 3600 IN A 192.168.1.1
host.myown.net. 3600 IN A 192.168.111.2
host.myown.net. 3600 IN A 67.40.25x.yz
;; Query time: 18 msec
;; SERVER: 67.40.25x.yz#53(67.40.25x.yz)
;; WHEN: Wed Apr 28 18:13:50 2010
;; MSG SIZE rcvd: 120
I do have the domain registered. And everything appeared to be running smoothly till several days ago. incoming mail arrived fine, especially spam. Never a problem with outgoing mail, or delivery on localhost. Upgrading to perl 5.10 and libpng preceded the sendmail meltdown. Since then incoming mail is stopped. When I send myself email from an external net, like Yahoo or from my corporate net, I now get the deferred error and delivery ultimately fails. The error report from my corporate email exchange server says something like MX record not found. (or maybe just not responsive, not sure).
Code:
sockstat -4 | grep 'sendmail'
root sendmail 5507 5 udp4 67.40.25x.yz:58624 67.40.25x.yz:53
root sendmail 1511 4 tcp4 *:25 *:*
root sendmail 1511 5 tcp4 *:587 *:*
telnet 67.40.25x.yz 25
Trying 67.40.25x.yz...
Connected to host.myown.net.
Escape character is '^]'.
220 host.myown.net ESMTP Sendmail 8.14.3/8.14.3; Wed, 28 Apr 2010 18:25:41 -0700 (PDT)
HELO
501 5.0.0 HELO requires domain address
Code:
more /etc/resolv.conf
domain myown.net
nameserver 67.40.25x.yz
options timeout:2
I've not rebuilt sendmail or anything in /etc/mail. They didn't seem to depend on perl or png.
Would really appreciate some extra insight into where the communication between sendmail & bind is breaking down.