Send Test Mail: tries to use IPv6
When sending a test email via the Email tab in FreeNAS 9.10.2-U1, if the hostname contains both IPv4 and IPv6 records it appears it tries to use the IPv6 one, resulting in an error "No route to host". Note that this is with the default FreeNAS configuration of the system only having an IPv4 and no IPv6 address configured on the interface.
The network the NAS machine is on supports IPv6, so I'm not sure if that's a compounding factor.
#2 Updated by Kris Moore over 3 years ago
- Assignee set to William Grzybowski
- Priority changed from No priority to Nice to have
- Target version set to 9.10.3
- Seen in changed from Unspecified to 9.10.2-U1
I'm not sure how possible this is. William, if we have an IPv6 hostname and network is using IPv6 is there any way to detect a failure and fallback to IPv4? I would assume this isn't in the FreeNAS code but some other sendmail functionality, no?
#3 Updated by Rebecca Cran over 3 years ago
[root@freenas ~]# host mail.bluestop.org
mail.bluestop.org has address 184.108.40.206
mail.bluestop.org has IPv6 address 2605:7700:0:8:1:0:4a32:3323
[root@freenas ~]# telnet mail.bluestop.org 587
Connected to mail.bluestop.org.
If the FreeNAS machine only has an IPv4 address, sendmail etc. shouldn't even be trying to connect over IPv6 from what I understand.