Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Email sending broken after updating to 8.2.x (due to IPv6 issues)

Email sending broken after updating to 8.2.x (due to IPv6 issues)

Scheduled Pinned Locked Moved Solved Support
ipv6emailupdate8.2.3
74 Posts 13 Posters 7.5k Views 13 Watching
  • 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.
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    wrote on last edited by
    #18

    Got the same issue again, with Outlook servers again. IPv6 is disabled on Cloudron settings and on OS level.

    potemkin_aiP 1 Reply Last reply
    0
    • potemkin_aiP potemkin_ai

      Got the same issue again, with Outlook servers again. IPv6 is disabled on Cloudron settings and on OS level.

      potemkin_aiP Offline
      potemkin_aiP Offline
      potemkin_ai
      wrote on last edited by
      #19

      fixed by removing IPv6 IP address from Hetzner completely and cleaning up old AAA entries from DNS - they seems like confused Outlook servers.

      1 Reply Last reply
      3
      • P Offline
        P Offline
        privsec
        wrote on last edited by
        #20

        I set this up and it worked on netcup for about a week.

        It’s giving me Al the error again about gmails ipv6 not being set up correctly.

        Is there an in-depth how to guide to correcting this on netcup?

        jdaviescoatesJ 1 Reply Last reply
        0
        • J Online
          J Online
          joseph
          Staff
          wrote on last edited by
          #21

          @privsec if you update to 8.2.4, the ipv6 check is already in place. Check the status tab after update. What does it say?

          1 Reply Last reply
          0
          • P privsec

            I set this up and it worked on netcup for about a week.

            It’s giving me Al the error again about gmails ipv6 not being set up correctly.

            Is there an in-depth how to guide to correcting this on netcup?

            jdaviescoatesJ Online
            jdaviescoatesJ Online
            jdaviescoates
            wrote on last edited by
            #22

            @privsec not netcup specific but the most in depth guide is this post by @avatar1024 :

            https://forum.cloudron.io/topic/13072/gmail-ipv6-anyone-else-with-this-experience/22?_=1738857946551

            I use Cloudron with Gandi & Hetzner

            1 Reply Last reply
            1
            • sponchS Offline
              sponchS Offline
              sponch
              wrote on last edited by
              #23

              Also got massive problems sending mails for 2 days now. Possible that 8.2.4 was released that day?

              jdaviescoatesJ 1 Reply Last reply
              0
              • sponchS sponch

                Also got massive problems sending mails for 2 days now. Possible that 8.2.4 was released that day?

                jdaviescoatesJ Online
                jdaviescoatesJ Online
                jdaviescoates
                wrote on last edited by
                #24

                @sponch have you sorted out your IPv6 stuff?

                I use Cloudron with Gandi & Hetzner

                1 Reply Last reply
                0
                • sponchS Offline
                  sponchS Offline
                  sponch
                  wrote on last edited by sponch
                  #25

                  Yes. Worked well after doing so for some days. Then ā€žout of the blueā€œ sending not possible anymore on both of my instances.
                  ā€žEmail not configured properlyā€œ errors in notifications when I go to email-overview page it takes 30-40 seconds until the domains get green. All values are set correctly for every single domain…
                  Log says: Delivery failure, will retry in 65536s.. DNS lookup failure: Error: queryMx ESERVFAIL

                  1 Reply Last reply
                  0
                  • J Online
                    J Online
                    joseph
                    Staff
                    wrote on last edited by
                    #26

                    @sponch they might be old emails. You can just delete the old mail queue (to check if these are fresh failures) from /home/yellowtent/boxdata/mail/haraka-queue/ (files inside it). Restart mail container after deleting files.

                    sponchS 1 Reply Last reply
                    0
                    • sponchS Offline
                      sponchS Offline
                      sponch
                      wrote on last edited by
                      #27

                      will try that.
                      Just found that issue on Hetzner: can that be the reason??
                      Due to a missing DKIM signature (DomainKey), external mail servers reject your e-mails as spam. For this reason, we have activated DKIM for your domains.

                      If you use our DNS servers for these domains, the DKIM record has been automatically set in the DNS. If you use external DNS servers for these domains, you must also store the displayed DNS record there accordingly. To do this, open the ā€˜Products’ tab, select the domain in question and click on ā€˜Advanced settings’ under the menu items ā€˜E-Mail; DKIM / SPF / DMARC’.

                      jdaviescoatesJ 1 Reply Last reply
                      0
                      • J joseph

                        @sponch they might be old emails. You can just delete the old mail queue (to check if these are fresh failures) from /home/yellowtent/boxdata/mail/haraka-queue/ (files inside it). Restart mail container after deleting files.

                        sponchS Offline
                        sponchS Offline
                        sponch
                        wrote on last edited by
                        #28

                        @Joseph did that an deleted 15 Mails (these were all test mails I tried to send) an restarted mail. No difference still have the same problems..

                        1 Reply Last reply
                        0
                        • sponchS sponch

                          will try that.
                          Just found that issue on Hetzner: can that be the reason??
                          Due to a missing DKIM signature (DomainKey), external mail servers reject your e-mails as spam. For this reason, we have activated DKIM for your domains.

                          If you use our DNS servers for these domains, the DKIM record has been automatically set in the DNS. If you use external DNS servers for these domains, you must also store the displayed DNS record there accordingly. To do this, open the ā€˜Products’ tab, select the domain in question and click on ā€˜Advanced settings’ under the menu items ā€˜E-Mail; DKIM / SPF / DMARC’.

                          jdaviescoatesJ Online
                          jdaviescoatesJ Online
                          jdaviescoates
                          wrote on last edited by
                          #29

                          @sponch said in Email sending broken after updating to 8.2.x (due to IPv6 issues):

                          Just found that issue on Hetzner: can that be the reason??

                          Could be. Have you hit resync dns after enabling and doing all the ipv6 stuff? I think that should auto generate this stuff for you (presuming you're using a supported DNS provider)

                          I use Cloudron with Gandi & Hetzner

                          1 Reply Last reply
                          0
                          • avatar1024A Online
                            avatar1024A Online
                            avatar1024
                            wrote on last edited by avatar1024
                            #30

                            I've started to have this issue again randomly (emails only sometimes bounce...helpful I know) despite having IPv6 is disabled on both Cloudron and on the Network interface for that server.

                            jdaviescoatesJ avatar1024A 2 Replies Last reply
                            0
                            • avatar1024A avatar1024

                              I've started to have this issue again randomly (emails only sometimes bounce...helpful I know) despite having IPv6 is disabled on both Cloudron and on the Network interface for that server.

                              jdaviescoatesJ Online
                              jdaviescoatesJ Online
                              jdaviescoates
                              wrote on last edited by
                              #31

                              @avatar1024 said in Email sending broken after updating to 8.2.x (due to IPv6 issues):

                              having IPv6 is disabled on both Cloudron and on the Network interface for that server.

                              I think the solution is not to disable IPv6 but to fully set it all up. Seems to me this has basically become a requirement Big Tech is forcing on us all.

                              I use Cloudron with Gandi & Hetzner

                              avatar1024A 1 Reply Last reply
                              1
                              • jdaviescoatesJ jdaviescoates

                                @avatar1024 said in Email sending broken after updating to 8.2.x (due to IPv6 issues):

                                having IPv6 is disabled on both Cloudron and on the Network interface for that server.

                                I think the solution is not to disable IPv6 but to fully set it all up. Seems to me this has basically become a requirement Big Tech is forcing on us all.

                                avatar1024A Online
                                avatar1024A Online
                                avatar1024
                                wrote on last edited by
                                #32

                                @jdaviescoates said in Email sending broken after updating to 8.2.x (due to IPv6 issues):

                                I think the solution is not to disable IPv6 but to fully set it all up.

                                I'm afraid this is still not working, I keep getting weird intermittent bounce even though it's all set-up...

                                jdaviescoatesJ 1 Reply Last reply
                                0
                                • avatar1024A avatar1024

                                  @jdaviescoates said in Email sending broken after updating to 8.2.x (due to IPv6 issues):

                                  I think the solution is not to disable IPv6 but to fully set it all up.

                                  I'm afraid this is still not working, I keep getting weird intermittent bounce even though it's all set-up...

                                  jdaviescoatesJ Online
                                  jdaviescoatesJ Online
                                  jdaviescoates
                                  wrote on last edited by
                                  #33

                                  @avatar1024 said in Email sending broken after updating to 8.2.x (due to IPv6 issues):

                                  @jdaviescoates said in Email sending broken after updating to 8.2.x (due to IPv6 issues):

                                  I think the solution is not to disable IPv6 but to fully set it all up.

                                  I'm afraid this is still not working, I keep getting weird intermittent bounce even though it's all set-up...

                                  😭

                                  I use Cloudron with Gandi & Hetzner

                                  1 Reply Last reply
                                  0
                                  • A Offline
                                    A Offline
                                    AartJansen
                                    wrote on last edited by
                                    #34

                                    So with a self hosted install I would need to ask the ISP to set up the ipv6 PTR like they ip4 record ?

                                    J 1 Reply Last reply
                                    2
                                    • avatar1024A Online
                                      avatar1024A Online
                                      avatar1024
                                      wrote on last edited by
                                      #35

                                      Ok so I've now noticed that the bounce are only when someone with a Gmail address email say user1@mydomain (mailbox hosted on Cloudron) which then forwards to user1@gmail (redirect through roundcube).

                                      • anyuser@mydomain > user1@gmail works ā˜‘ (
                                      • anyuser@posteo > user1@mydomain > user1@gmail works ā˜‘
                                      • anyuser@gmail > user1@mydomain > user1@gmail fails āŽ

                                      So something seem to be up with redirect specifically when the sender is a Gmail user and the recipient of the redirect is Gmail user.

                                      Error is the usual IPv6 Google BS:

                                      "Upstream error: 421 4.7.23 [2a03:xxxx:xx:xxx:xxxx:xxxx:xxxx:51af]
                                      The IP address sending this 4.7.23 message does not have a PTR record, or the corresponding forward DNS 4.7.23 entry does not match the sending IP. 
                                      To protect our users from spam, 4.7.23 mail has been temporarily rate limited. To learn more about IP 4.7.23 address requirements for sending to Gmail, visit  4.7.23  https://support.google.com/a?p=sender-guidelines-ip  4.7.23 
                                      To learn more about Gmail requirements for bulk senders, visit 4.7.23  https://support.google.com/a?p=sender-guidelines. a640c23a62f3a-ab7d06caa39si398649666b.93 - gsmtp",  "delay": 128
                                      
                                      jdaviescoatesJ 1 Reply Last reply
                                      0
                                      • avatar1024A avatar1024

                                        Ok so I've now noticed that the bounce are only when someone with a Gmail address email say user1@mydomain (mailbox hosted on Cloudron) which then forwards to user1@gmail (redirect through roundcube).

                                        • anyuser@mydomain > user1@gmail works ā˜‘ (
                                        • anyuser@posteo > user1@mydomain > user1@gmail works ā˜‘
                                        • anyuser@gmail > user1@mydomain > user1@gmail fails āŽ

                                        So something seem to be up with redirect specifically when the sender is a Gmail user and the recipient of the redirect is Gmail user.

                                        Error is the usual IPv6 Google BS:

                                        "Upstream error: 421 4.7.23 [2a03:xxxx:xx:xxx:xxxx:xxxx:xxxx:51af]
                                        The IP address sending this 4.7.23 message does not have a PTR record, or the corresponding forward DNS 4.7.23 entry does not match the sending IP. 
                                        To protect our users from spam, 4.7.23 mail has been temporarily rate limited. To learn more about IP 4.7.23 address requirements for sending to Gmail, visit  4.7.23  https://support.google.com/a?p=sender-guidelines-ip  4.7.23 
                                        To learn more about Gmail requirements for bulk senders, visit 4.7.23  https://support.google.com/a?p=sender-guidelines. a640c23a62f3a-ab7d06caa39si398649666b.93 - gsmtp",  "delay": 128
                                        
                                        jdaviescoatesJ Online
                                        jdaviescoatesJ Online
                                        jdaviescoates
                                        wrote on last edited by
                                        #36

                                        @avatar1024 said in Email sending broken after updating to 8.2.x (due to IPv6 issues):

                                        Ok so I've now noticed that the bounce are only when someone with a Gmail address email say user1@mydomain (mailbox hosted on Cloudron) which then forwards to user1@gmail (redirect through roundcube).

                                        anyuser@mydomain > user1@gmail works ā˜‘ (
                                        anyuser@posteo > user1@mydomain > user1@gmail works ā˜‘
                                        anyuser@gmail > user1@mydomain > user1@gmail fails āŽ
                                        

                                        So something seem to be up with redirect specifically when the sender is a Gmail user and the recipient of the redirect is Gmail user.

                                        This sounds like the same or very similar problem as @fengchang is having too https://forum.cloudron.io/topic/13277/forward-email-with-ses-got-554-message-rejected-email-address-is-not-verified?_=1739395101471

                                        I use Cloudron with Gandi & Hetzner

                                        avatar1024A 1 Reply Last reply
                                        0
                                        • jdaviescoatesJ jdaviescoates

                                          @avatar1024 said in Email sending broken after updating to 8.2.x (due to IPv6 issues):

                                          Ok so I've now noticed that the bounce are only when someone with a Gmail address email say user1@mydomain (mailbox hosted on Cloudron) which then forwards to user1@gmail (redirect through roundcube).

                                          anyuser@mydomain > user1@gmail works ā˜‘ (
                                          anyuser@posteo > user1@mydomain > user1@gmail works ā˜‘
                                          anyuser@gmail > user1@mydomain > user1@gmail fails āŽ
                                          

                                          So something seem to be up with redirect specifically when the sender is a Gmail user and the recipient of the redirect is Gmail user.

                                          This sounds like the same or very similar problem as @fengchang is having too https://forum.cloudron.io/topic/13277/forward-email-with-ses-got-554-message-rejected-email-address-is-not-verified?_=1739395101471

                                          avatar1024A Online
                                          avatar1024A Online
                                          avatar1024
                                          wrote on last edited by avatar1024
                                          #37

                                          @jdaviescoates Indeed that looks very similar...thanks I'll post there. In my case I'm using the Cloudron built SMTP server

                                          I wonder if it is also linked to this: https://forum.cloudron.io/post/99711

                                          1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Bookmarks
                                          • Search