[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

postfix relaying, mynetworks and IPv6 (was: EHLO command rejected / postfix IPv6)



Rémi Denis-Courmont <remi-usenet1-ms-ipv6@simutrans.fr.st> writes:

[...]

> Yes it is correct. IP addresses have a different format for SMTP:
> "[1.2.3.4]" for IPv4 and "[IPv6:1:2:3:4:5:6:7:8]" for IPv6.

I tried (and failed) to get my postfix relaying in my local IPv6
network.


| mynetworks = 127.0.0.0/8, 192.168.0.0/24, [IPv6:3ffe:bc0:10ab:1::]/48

When I try to relay (excuse me for long lines):

,----
| Aug  5 18:28:27 toxic postfix/smtpd[28786]: connect from unknown[3ffe:bc0:10ab:1:202:1cff:fef7:2678]
| Aug  5 18:28:56 toxic postfix/smtpd[28786]: NOQUEUE: reject: RCPT from unknown[3ffe:bc0:10ab:1:202:1cff:fef7:2678]: 554 <relay@example.com>: Relay access denied; from=<me@privacy.net> to=<relay@example.com> proto=SMTP
`----


I run a backported postfix from http://www.backports.org/

,----
| niehaus@toxic:~$ apt-cache policy postfix
| postfix:
|   Installed: 2.1.4-2.backports.org.1
|   Candidate: 2.1.4-2.backports.org.1
|   Version Table:
|  *** 2.1.4-2.backports.org.1 0
|         500 http://www.backports.org woody/postfix Packages
|         100 /var/lib/dpkg/status
|      1.1.11-0.woody3 0
|         500 cdrom://[Debian GNU/Linux 3.0 r2 _Woody_ - Official i386 Binary-2 (20031201)] unstable/main Packages
|         500 http://security.debian.org woody/updates/main Packages
|         500 http://ftp.rfc822.org woody/updates/main Packages
|         500 ftp://ftp.de.debian.org woody/main Packages
| niehaus@toxic:~$ 
`----


Postfix works - as far as my tests worked out til now - quite good
with IPv6; mails to "mydestination" are delivered. 


The syntax for the "mynetworks" is taken from
http://6net.iif.hu/fom-servee/cache/18.html and I already tried some
variations which caused the smpd to throttle.

Do I need a special patched version of Postfix to allow relaying for
IPv6 address space?



TIA, 


Sebastian



Reply to: