PureMessage for UNIX: configuring your system to support IPv6

  • Article ID: 114111
  • Updated: 22 Nov 2011

If you are running PureMessage 6 on a server that is configured to support only IPv4, make the following adjustments before attempting to accept email from IPv6 addresses.

Note: If you have a multi-server configuration, you must perform these steps for each server.

  1. Configure the PostgreSQL database

    1. Add the IPv6 address(es) to the server, and confirm that you added the address(es) successfully. Do NOT remove the IPv4 addresses because PureMessage requires these for operation.
    2. Edit the /opt/pmx6/var/data/pg_hba.conf to specify which hosts can connect to the PureMessage database. The edited file should look similar to this:

      hostssl all all 2001:db8:AC10:FE01::/64 trust
      hostssl all all 2001:db8::/32 trust
      host all all ::1/128 trust
    3. As the PureMessage user, run:

      pmx-database restart
  2. Configure the mail transfer agent

    You must also ensure that your mail transfer agent (MTA) can accommodate both IPv4 and IPv6 addresses. The settings differ, depending on whether you're using Postfix or sendmail.

    Postfix

    To use IPv6, your /opt/pmx6/postfix/etc/main.cf configuration file must contain lines similar to the following:

    mynetworks = [192.0.2.0.1], [192.0.2.2], [2001:db8:AC10:FE01::/64], [2001:db8::/32]

    Although the square brackets surrounding each address are optional for IPv4 addresses, they are required for IPv6 addresses specified in this setting.

    inet_protocols = all

    The "all" setting allows Postfix to accept and deliver both IPv4 and IPv6 addresses.

    Sendmail

    To use IPv6, your /opt/pmx6/sendmail/etc/sendmail.mc configuration file must contain the following line:

    DAEMON_OPTIONS(`Name=MTA-v6, Family=inet6')

  3. [Optional]: Create additional IPv6 entries Add the IPv6 address(es) to opt/pmx6/etc/internal-hosts and opt/pmx6/etc/trusted-relays.
  4. Restart PureMessage As the PureMessage user, run:

    pmx restart

 
If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent

Comments