How to: Enable Sending Mail over IPv6

The dns_ip6_lookup feature is disabled by default as of InterWorx Version 5.1.7.  As such, mail will not be sent via IPv6, unless manually configured to do so.

To Enable Sending over IPv6

  1. Log in to the server at the CLI as root, either via SSH or from the terminal

  2. At the CLI, create a file named /var/qmail/control/dns_ip6_lookup, with “1” as the contents. This can be done as a one-liner, using echo

    [root@server ~]# echo 1 > /var/qmail/control/dns_ip6_lookup
    [root@server ~]# cat /var/qmail/control/dns_ip6_lookup
    1
    [root@server ~]#
    
  3. At the CLI, use a text editor to create a file named /var/qmail/control/senderip6

    vim /var/qmail/control/senderip6
    
  4. Add the sending domain and IPv6 address in the format domain:ip6 address. For example:

    iwtest.net:2001:db8:0:1:1:1:1:1
    
  5. Save and exit the text editor