I am having a mail server problem where the mail to one domain is being sent to the wrong server. When I use "dig masonc.com mx", I get
;; ANSWER SECTION: masonc.com. 86400 IN MX 5 mail.masonc.com.
;; AUTHORITY SECTION: masonc.com. 86400 IN NS ns1.picadoo.com. masonc.com. 86400 IN NS ns2.picadoo.com.
;; ADDITIONAL SECTION: mail.masonc.com. 86400 IN A 207.44.194.3
However, when I send a mail to anyone@masonc.com, the mail service (postfix) on this server tries to deliver to server7.picadoo.com, another of my servers but not the mail server for the domain.
Feb 11 10:50:17 server postfix/smtp[16053]: EB01D6280C6: to=anyone@masonc.com, relay=server7.picadoo.com[64.246.62.9], delay=8, status=sent (250 2.0.0 k1BEoDM9015689 Message accepted for delivery)
I would like to examine the responses from named in the logs, not just the queries, but I cannot find a way to log them. Any suggestions on a: how to log the answers to queries b: what is wrong here