>> Still, it doesn't connect to ::1, but connects to 127.0.0.1.
>
> If a connection request to ::1 fails, or results in a connection
> to 127.0.0.1, then that is an issue with your IP stack, and should
> be resolved in a different forum. You're welcome to report the
> resolution here, as that is relevant to Postfix.
>
> Wietse
At last, works. My mistake, sorry to bother you with all this.
I turned on debugging, and got this in log:
postfix/smtp[40170]: smtp_connect_addr: bind 2001:1a68:1::3
postfix/smtp[40170]: smtp_connect_addr: trying: ::1[::1] port 10024...
Local bind address was wrong, i misplaced '6' character in parameter:
amavis unix - - n - 5 smtp
-o smtp_bind_address=127.0.0.1
-o smtp_bind6_address=::1
Should be smtp_bind_address6 instead of smtp_bind6_address and now works
like a charm.
Thumbs up for all your work and 20 years of dedication.
Best regards,
--
Michael Konieczny