Postfix
Shadow Hawkins on Tuesday, 03 June 2003 15:53:38
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
Jeroen Massar on Tuesday, 03 June 2003 23:02:09
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
Shadow Hawkins on Thursday, 05 June 2003 17:27:53
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
Jeroen Massar on Thursday, 05 June 2003 19:17:01
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
Shadow Hawkins on Thursday, 21 August 2003 20:45:15
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
Jeroen Massar on Thursday, 21 August 2003 21:18:39
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
Shadow Hawkins on Thursday, 21 August 2003 21:42:32
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
Jeroen Massar on Thursday, 21 August 2003 22:14:01
Looks like it ;)
Postfix
Shadow Hawkins on Thursday, 21 August 2003 22:17:47
Maybe there will good to put this into FAQ?
And other dns questions?
I can make a small how to.
Postfix
Jeroen Massar on Friday, 22 August 2003 01:57:43
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.
Posting is only allowed when you are logged in. |