Postfix
![]()
hi,
i would like to test if my postfix is able to send mails to addresses that only have AAAA (ipv6) but not a v4 address. does anyone know how should i test it ?
Postfix
Create the following DNS:
$ORIGIN example.org.
@ MX mx1
MX mx2
ipv4 MX mx1.ipv4
MX mx2.ipv4
ipv6 MX mx1.ipv6
MX mx2.ipv6
mx1 A 10.0.0.1
AAAA 2001:db8::1
mx2 A 10.0.0.2
AAAA 2001:db8::2
mx1.ipv4 A 10.0.0.1
mx2.ipv4 A 10.0.0.2
mx1.ipv6 AAAA 2001:db8::1
mx2.ipv6 AAAA 2001:db8::2
And have fun testing :)
Btw... postfix from http://www.ipnet6.org/postfix/ by Dean Strik works perfectly including TLS. Go go Dean!
Postfix
![]()
well, but for this i need 2 postfix servers each listening on one ipv6 ip ? do you have an ipv6 only e-mail address so i can test it by sending a mail to yo ? :P
Postfix
Nope it is all dual stacked.
Have fun setting up 2 postfix boxes :)
Or add a sendmail, qmail box etc that's the fun of experimentation :)
Postfix
![]()
Will this works?
e-utp.net. IN MX 10 fido.e-utp.net. (IPv4)
e-utp.net. IN MX 10 cl-128.mun-01.de.sixxs.net. (IPv6)
When sender is IPv6-operational, will mail go over IPv6?
fido & cl-128 is the same computer and listeing both IPv4 and IPv6 on SMTP by Postfix with IPv6 support.
Postfix
DNS will return them in random order, thus you could better go for:
e-utp.net. IN MX 10 cl-128.mun-01.de.sixxs.net.
e-utp.net. IN MX 20 fido.e-utp.net.
Though this has one big negative side: IPv4 only mailers will first try de IPv6 only address, which they can't find, thus failing over to the fido address.
The best solution is to add both a AAAA and a A to a hostname and use that for your MX lines.
Postfix
![]()
So the best should be?
e-utp.net. IN MX 10 fido.e-utp.net.
e-utp.net. IN MX 20 dsl-net.one.pl.
e-utp.net. IN MX 30 micha.waw.pl.
[...]
fido.e-utp.net. IN A 62.179.4.14
fido.e-utp.net. IN AAAA 2001:768:1900:7f::2
[...]
True?
Postfix
Looks like it ;)
Postfix
![]()
Maybe there will good to put this into FAQ?
And other dns questions?
I can make a small how to.
Postfix
It's more common sense and how one setups their network, afaik it's also documented in the IPv6 drafts's about transition from IPv4 to IPv6.
|