On Wed, Jan 13, 2010 at 3:20 PM, Tom Hendrikx <t...@whyscream.net> wrote:

> Hi,
>
> After setting up postfix up on a ipv4/ipv6 dualstack machine I'm seeing
> the following issue: connections on 127.0.0.1 (where my content_filter
> re-injects mail) are logged as:
>
> 010-01-13T22:51:07+01:00 meredith-vmail postfix/smtpd[4772]: warning:
> 127.0.0.1: address not listed for hostname ip6-localhost
> 2010-01-13T22:51:07+01:00 meredith-vmail postfix/smtpd[4772]: connect
> from unknown[127.0.0.1]
>
> After some time reading google and debugging this is what I found out:
> - /etc/hosts contains the following stuff regarding localhost (in the
> specified order):
> ::1 ip6-localhost ip6-loopback
> 127.0.0.1 localhost
>
> [snip]

> mydomain = whyscream.net
> myhostname = a.mx.whyscream.net
>

Add your machine's hostname and FQDN to /etc/hosts:

::1 ip6-localhost ip6-loopback
127.0.0.1 localhost a a.mx.whyscream.net

-Mike

Reply via email to