Skip to main content
gmichailidis
Staff
Staff
August 4, 2022

Technical Tip: How to configure IPv6 preference for outgoing connections.

  • August 4, 2022
  • 0 replies
  • 1327 views
Description This article describes how to prioritize IPv6 for outgoing emails.
Scope All FortiMail versions.
Solution

To use IPv6 addresses when relaying outgoing emails.

 

When FortiMail delivers email to a host name, it does DNS AAAA and A record lookup.

 

Use the commands below to:

 

- ipv6: try IPv6 only. This setting is not recommended.

 

gmichailidis_0-1659617542735.png

 

- ipv6-ipv4: try IPv6 first, then IPv4.

 

However, if the AAAA record does not exist, the extra AAAA DNS lookup for IPv6 addresses will potentially cause email delivery delay.

 

gmichailidis_1-1659617568076.png

 

# config system mailserver

    set smtp-delivery-addr-pref {ipv6-ipv4 | ipv6}

end

Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!