ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Postfix having trouble sending to IPv6

    IT Discussion
    postfix
    5
    16
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DustinB3403D
      DustinB3403
      last edited by

      The setting as defined is inet_protocols = all (enable IPv4, and IPv6 if supported)

      If you want to enable IPv6, regardless of if it's supported or not (based on your Postfix version) change the setting to

      inet_protocols = ipv4, ipv6 (enable both IPv4 and IPv6)

      As to whether or not it should work is based on your instance.

      1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403
        last edited by

        You can run postconf -d | grep mail_version to see what version of postfix you're running, if it's not 2.2+ you would require an addon to enable IPv6 support.

        1 Reply Last reply Reply Quote 0
        • AdamFA
          AdamF
          last edited by

          @dustinb3403 said in Postfix having trouble sending to IPv6:

          postconf -d | grep mail_version

          I have 2.6.6.

          So the inet_protocols = all does not actually mean both IPv4 AND IPv6 then?? The documentation says:

          /etc/postfix/main.cf:
              # You must stop/start Postfix after changing this parameter.
              inet_protocols = ipv4       (DEFAULT: enable IPv4 only)
              inet_protocols = all        (enable IPv4, and IPv6 if supported)
              inet_protocols = ipv4, ipv6 (enable both IPv4 and IPv6)
              inet_protocols = ipv6       (enable IPv6 only)
          
          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

            What does your logging state when your system tries to send email via IPv6?

            AdamFA 1 Reply Last reply Reply Quote 0
            • AdamFA
              AdamF
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • DustinB3403D
                DustinB3403
                last edited by

                That would indicate that IPv6 isn't supported.

                AdamFA 1 Reply Last reply Reply Quote 0
                • AdamFA
                  AdamF @DustinB3403
                  last edited by

                  @dustinb3403

                  
                  Sep 23 12:15:14 104 postfix/smtp[9187]: connect to mx.spamexperts.com[2a00:1630:2:80b::1]:25: Network is unreachable
                  Sep 23 12:15:14 104 postfix/smtp[9187]: connect to mx.spamexperts.com[2a00:1630:2:80a::1]:25: Network is unreachable
                  Sep 23 12:15:14 104 postfix/smtp[9187]: connect to mx.spamexperts.com[2a00:1630:2:805::]:25: Network is unreachable
                  Sep 23 12:15:14 104 postfix/smtp[9187]: connect to mx.spamexperts.com[2a00:1630:2:801::]:25: Network is unreachable
                  Sep 23 12:15:14 104 postfix/smtp[9187]: connect to mx.spamexperts.com[2a01:4f9:2a:2189::2]:25: Network is unreachable
                  Sep 23 12:15:14 104 postfix/smtp[9187]: E9858201A0E: to=<[email protected]>, relay=none, delay=433199, delays=433199/0.01/0.3/0, dsn=4.4.1, status=deferred (connect to mx.spamexperts.com[2a01:4f9:2a:2189::2]:25: Network is unreachable)
                  1 Reply Last reply Reply Quote 0
                  • AdamFA
                    AdamF @DustinB3403
                    last edited by

                    @dustinb3403 said in Postfix having trouble sending to IPv6:

                    That would indicate that IPv6 isn't supported.

                    Not supported on PostFix itself, or in the actual server network config?

                    DustinB3403D 1 Reply Last reply Reply Quote 0
                    • DustinB3403D
                      DustinB3403 @AdamF
                      last edited by

                      @fuznutz04 said in Postfix having trouble sending to IPv6:

                      @dustinb3403 said in Postfix having trouble sending to IPv6:

                      That would indicate that IPv6 isn't supported.

                      Not supported on PostFix itself, or in the actual server network config?

                      Just taking a guess, I would say via the networking.

                      dafyreD AdamFA 2 Replies Last reply Reply Quote 2
                      • A
                        Alex Sage
                        last edited by Alex Sage

                        http://www.postfix.org/IPV6_README.html

                        DustinB3403D 1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403 @Alex Sage
                          last edited by

                          @aaronstuder said in Postfix having trouble sending to IPv6:

                          Did you even read anything I posted?

                          1 Reply Last reply Reply Quote 1
                          • dafyreD
                            dafyre @DustinB3403
                            last edited by

                            @dustinb3403 said in Postfix having trouble sending to IPv6:

                            @fuznutz04 said in Postfix having trouble sending to IPv6:

                            @dustinb3403 said in Postfix having trouble sending to IPv6:

                            That would indicate that IPv6 isn't supported.

                            Not supported on PostFix itself, or in the actual server network config?

                            Just taking a guess, I would say via the networking.

                            Me too. I have to disable IPv6 on all of my Linux stuff otherwise, I'll get IPv6 DNS answers, yet, my Router does not have an IPv6 address (internally or externally).

                            1 Reply Last reply Reply Quote 1
                            • AdamFA
                              AdamF @DustinB3403
                              last edited by

                              @dustinb3403 said in Postfix having trouble sending to IPv6:

                              @fuznutz04 said in Postfix having trouble sending to IPv6:

                              @dustinb3403 said in Postfix having trouble sending to IPv6:

                              That would indicate that IPv6 isn't supported.

                              Not supported on PostFix itself, or in the actual server network config?

                              Just taking a guess, I would say via the networking.

                              So I will try this with both IPv4 AND IPv6 listed and see what happens. Specifying IPv4 only works, but I will try both.

                              Thanks guys.

                              JaredBuschJ 1 Reply Last reply Reply Quote 0
                              • JaredBuschJ
                                JaredBusch @AdamF
                                last edited by

                                @fuznutz04 said in Postfix having trouble sending to IPv6:

                                @dustinb3403 said in Postfix having trouble sending to IPv6:

                                @fuznutz04 said in Postfix having trouble sending to IPv6:

                                @dustinb3403 said in Postfix having trouble sending to IPv6:

                                That would indicate that IPv6 isn't supported.

                                Not supported on PostFix itself, or in the actual server network config?

                                Just taking a guess, I would say via the networking.

                                So I will try this with both IPv4 AND IPv6 listed and see what happens. Specifying IPv4 only works, but I will try both.

                                Thanks guys.

                                The point here is does your server have routable IPv6 available to it?

                                ✔ The postfix instance seems to have IPv6 enable.

                                ✔ Your DNS seems to return IPv6 information.

                                :question_mark: Does your router have IPv6 enabled?

                                :question_mark: Does your ISP support IPv6?

                                AdamFA 1 Reply Last reply Reply Quote 1
                                • AdamFA
                                  AdamF @JaredBusch
                                  last edited by

                                  @jaredbusch said in Postfix having trouble sending to IPv6:

                                  @fuznutz04 said in Postfix having trouble sending to IPv6:

                                  @dustinb3403 said in Postfix having trouble sending to IPv6:

                                  @fuznutz04 said in Postfix having trouble sending to IPv6:

                                  @dustinb3403 said in Postfix having trouble sending to IPv6:

                                  That would indicate that IPv6 isn't supported.

                                  Not supported on PostFix itself, or in the actual server network config?

                                  Just taking a guess, I would say via the networking.

                                  So I will try this with both IPv4 AND IPv6 listed and see what happens. Specifying IPv4 only works, but I will try both.

                                  Thanks guys.

                                  The point here is does your server have routable IPv6 available to it?

                                  ✔ The postfix instance seems to have IPv6 enable.

                                  ✔ Your DNS seems to return IPv6 information.

                                  :question_mark: Does your router have IPv6 enabled?

                                  :question_mark: Does your ISP support IPv6?

                                  This server is a Vultr box. Not using the Vultr Firewall. I just noticed in the Vultr manage page, that IPv6 is available, but no subnet has been assigned. That will do it!

                                  1 Reply Last reply Reply Quote 1
                                  • 1 / 1
                                  • First post
                                    Last post