[Cialug] Postfix Fubar <g>!

Jerry Heiselman jerry at heiselman.com
Thu Jul 26 17:43:37 CDT 2012


I was wondering if your system uses anything other than DNS. For example,
does it use LDAP or NIS+ or anything like that? If so, I've seen where an
improperly configured/malfunctioning system will perform a getent lookup
against LDAP and when LDAP returns 'not found' it just fails instead of
moving on to other resolution systems.

-- 
Jerry

email: jerry at heiselman.com
twitter: @jheiselman <http://twitter.com/#!/jheiselman>
google+: +Jerry Heiselman<https://plus.google.com/108851277464971981957/posts>



On Thu, Jul 26, 2012 at 5:39 PM, L. V. Lammert <lvl at omnitec.net> wrote:

> 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
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>


More information about the Cialug mailing list