Javier:
> hello,
> 
> I had a problem with the resolution of my dns, however it is working
> fine know, i even got two emails sent to my gmail account...
> 
> i didn't do nothing else, and now i'm getting this error:
> 
> 
> May 30 04:03:15 server postfix/smtp[6193]: A2AA4F005A:
> to=<javier.rojasr at gmail dot com>, relay=none, delay=0,
> status=bounced (Host or domain name not found. Name service error for
> name=localhost type=AAAA: Host not found)

Someone edited main.cf, and set

        inet_protocols=all

The default setting, "inet_protocols=ipv4" prevents Postfix from
doing AAAA lookups.

> i searched on main.cf and this is all i have with localhost
> 
> content_filter= smtp:[localhost]:10025

Change that into:

        content_filter= smtp:[127.0.0.1]:10025

> and in master.cf
> 
> #localhost:10025 inet   n       -       n       -       -       smtpd
> -o content_filter=
> scache   unix  -      -       n       -        1       scache
> localhost:10025 inet  n      -       n       -        -       smtpd
>   -o content_filter=
> tlsmgr   unix  -      -       n       1000?    1       tlsmgr
> 
> 
> should localhost be between [] in mater.cf too?

No. The [] syntax is needed to change DNS lookups in the Postfix
SMTP client.

        Wietse

Reply via email to