Good catch. I was trying to be succinct, but didn't realize that one couldn't use an IP rather than the hostname.
So the corrected example should be something like this then: mail IN A 192.168.0.2 aaa IN A 192.168.1.1 IN MX 10 mail.aaa.com. ...Kevin -- Kevin Miller Network/email Administrator, CBJ MIS Dept. 155 South Seward Street Juneau, Alaska 99801 Phone: (907) 586-0242, Fax: (907) 586-4588 Registered Linux User No: 307357 -----Original Message----- From: owner-postfix-us...@postfix.org [mailto:owner-postfix-us...@postfix.org] On Behalf Of /dev/rob0 Sent: Thursday, November 16, 2017 5:57 PM To: postfix-users@postfix.org Subject: Re: Mail Routing Question On Thu, Nov 16, 2017 at 10:43:16PM +0000, Kevin Miller wrote: > You can point the A record for aaa.com to one IP and the MX record for > it to another. Yes, but not as per your example. > I.e. > aaa IN A 192.168.1.1 > IN MX 10 192.168.1.2 The RDATA for MX is "integer hostname". In your example the "192.168.1.2" would be read as a hostname, and noting the lack of trailing dot, the zone file's current $ORIGIN value would be appended. > In the example above, a web page to http://aaa.com would go to > 192.168.1.1, whereas an SMTP server would connect to 192.168.1.2. In this example mail would most likely not be deliverable. The MX record in DNS would point to a name which probably does not exist. -- http://rob0.nodns4.us/ Offlist GMX mail is seen only if "/dev/rob0" is in the Subject: