nanog mailing list archives
Re: IPv6 isn't SMTP
From: "John Levine" <johnl () iecc com>
Date: 27 Mar 2014 02:08:33 -0000
To my knowledge, there are three impacts that IPv6 implementation makes on an SMTP implementation. One is that the OS interface to get the address of the next MUA or MTA needs to use getaddrinfo() instead of gethostbyname() (and would do well to observe RFC 6555�s considerations).
In practice it's considerably more complex than that due to MX handling. If you have multihomed hosts, or multiple MXes at the same priority, you need to decide in what order to try them, and what to do next if a connection attempt fails. If one MX has an A record and another has AAAA, do you always prefer the one with the AAAA? If a host has both an A and an AAAA, you probably try the AAAA first, so if the AAAA connection fails, do you try the A or do you skip to the next host? The RFC is deliberately unhelpful here, and a fair amount of fiddling is required to come up with heuristics that work well. There are also some odd things in the spec. For example, according to RFC 5321 this is not a syntactically valid e-mail address: mailbox@[IPv6:2001:12:34:56::78:ab:cd] R's, John
Current thread:
- Re: IPv6 isn't SMTP, (continued)
- Re: IPv6 isn't SMTP Barry Shein (Mar 27)
- Re: IPv6 isn't SMTP Blake Hudson (Mar 27)
- Re: IPv6 isn't SMTP Barry Shein (Mar 27)
- Re: IPv6 isn't SMTP Blake Hudson (Mar 28)
- Re: IPv6 isn't SMTP Clay Fiske (Mar 27)
- Re: IPv6 isn't SMTP Blake Hudson (Mar 28)
- Re: IPv6 isn't SMTP Dave Crocker (Mar 27)
- Re: IPv6 isn't SMTP Lamar Owen (Mar 27)
- Re: IPv6 isn't SMTP James R Cutler (Mar 26)
- Re: IPv6 isn't SMTP John Levine (Mar 26)
- Re: IPv6 isn't SMTP Tony Finch (Mar 27)
- Re: IPv6 isn't SMTP Enno Rey (Mar 27)
- Re: IPv6 isn't SMTP John R. Levine (Mar 27)
- Re: IPv6 isn't SMTP Robert Drake (Mar 26)
- Re: IPv6 address literals probably aren't SMTP either John Levine (Mar 26)
- Re: IPv6 address literals probably aren't SMTP either Robert Drake (Mar 26)
- Re: IPv6 address literals probably aren't SMTP either John R. Levine (Mar 26)