I'm running postfix + amavis, and I have the following in master.cf:

smtp      inet  n       -       n       -       -       smtpd
  -o content_filter=amavis:[127.0.0.1]:10024

amavis unix -      -       n       -       5       smtp
    -o smtp_bind_address=127.0.0.1

Works.

Now I'm trying to switch this to IPv6:

smtp      inet  n       -       n       -       -       smtpd
  -o content_filter=amavis:[::1]:10024

amavis unix -      -       n       -       5       smtp
    -o smtp_bind6_address=::1

And it doesn't work. I get the following in the log:

postfix/smtp[69016]: connect to ::1[::1]:10024: Operation timed out

Amavis is actually listening in IPv6:

/home/root # telnet -6 ::1 10024
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 [::1] ESMTP amavisd-new service ready

For my eye, IPv6 address in the log: ::1[::1]:10024 is suspisious,
there's doubled ::1 - looks strange.

How should I specify ::1 IPv6 address, for this to work?

Best regards,

-- 
Michael Konieczny

Reply via email to