postfix-users October 2010 archive
Main Archive Page > Month Archives  > postfix-users archives
postfix-users: Re: postfix in an IPv6 network

Re: postfix in an IPv6 network

From: postfix <postfix_at_nospam>
Date: Mon Oct 25 2010 - 12:16:57 GMT
To: postfix-users@postfix.org

Hi Andreas and Christian

that has helped, now relaying without authenticatin works:

mynetworks = 192.168.97.0/24, aaa.bbb.206.128/27, [2002:uuuu:vvvv:1::]/64

is the clue.

thank you both very much.

myuser

On 2010-10-25 14:03, Christian Roessner wrote:
>>>> 1. Problem: format of IPv6 address in mynetworks
>>>>
>>>> After many trials, I have found out that the ipv6 Address in the
>>>> mynetworks attribute must have a double semicolon at the end,
>>>> otherwise the smtpd server throttles:
>>>>
>>>> Oct 25 12:40:10 mailhost postfix/smtpd[5019]: connect from
>>>> myclient.mydomain.com[2002:uuuu:vvvv:1::21]
>>>> Oct 25 12:40:10 mailhost postfix/smtpd[5019]: fatal: bad net/mask
>>>> pattern: "2002:uuuu:vvvv:/64"
>>>
>
> I can not say much about it, but maybe you want to lool lat my settings and compare them:
>
> inet_protocols = ipv4, ipv6
> inet_interfaces = 78.46.253.227, 2A01:4F8:61:8222:0:0:0:50
> smtp_bind_address6 = 2A01:4F8:61:8222:0:0:0:50
> mynetworks = 127.0.0.0/8, 10.1.0.0/16, [::1]/128, [2a01:4f8:61:8222::]/64
>
> These settings work for me. So maybe it gives you an idea.
>
> Regards
> Christian
>
> ---
> Roessner-Network-Solutions
> Bachelor of Science Informatik
> Nahrungsberg 81, 35390 Gießen
> F: +49 641 5879091, M: +49 176 93118939
> USt-IdNr.: DE225643613
> http://www.roessner-network-solutions.com
>