[GRLUG] Postfix Fubar <g>!

L. V. Lammert lvl at omnitec.net
Thu Jul 26 18:35:46 EDT 2012


OK, finally figured out the postfix problem! For SOME strange reason, this
[new] machine is refusing to use a CNAME host record [even pointed at
8.8.8.8 as a test]:

# host smtp.gmail.com
smtp.gmail.com is an alias for gmail-smtp-msa.l.google.com.
gmail-smtp-msa.l.google.com has address 209.85.225.108
gmail-smtp-msa.l.google.com has address 209.85.225.109
gmail-smtp-msa.l.google.com has IPv6 address 2001:4860:b007::6c

# dig smtp.gmail.com
;; ANSWER SECTION:
smtp.gmail.com.         284     IN      CNAME
gmail-smtp-msa.l.google.com.
gmail-smtp-msa.l.google.com. 284 IN     A       209.85.225.108
gmail-smtp-msa.l.google.com. 284 IN     A       209.85.225.109

relayhost = [smtp.gmail.com]:587

produces

-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient-------
598DE81C97      471 Thu Jul 26 22:16:59  lvl
(Host or domain name not found. Name service error for name=smtp.gmail.com
type=A: Host not found, try again)
                                         lvl at omnitec.net
BUT

relayhost = 209.85.225.108:587

Produces a SUCCESSFUL send via Gmail! WTF?? It's NOT the distro (another
system with the same distro works fine), there has to be somthing farkled
in this 'migration' from an old Mandrake system to SuSE.

Any thoughts on how to identify the actual problem, instead of hacking a
fix by substituting the IP, would be greatly appreciated.

	Lee


More information about the grlug mailing list