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


Navigation

    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    not working email forward when email relay ?

    Support
    email forwarding relay
    3
    8
    103
    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.
    • F
      freetommy last edited by girish

      Hi,
      I test email forward by filter in rainloop.
      But, send email failed. I use Email Relay.
      Is this not working ?

      Best Regards,

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @freetommy last edited by

        @freetommy Where does it fail? Any logs? What email relay have you setup ? Email -> Logs should give us a better idea of where it is failing.

        F 1 Reply Last reply Reply Quote 0
        • F
          freetommy @girish last edited by

          @girish

          Dear,

          Email Relay is Amazon SES.

          Maybe, almost same issue as below.

          https://forum.cloudron.io/topic/1568/email-forward-to-gmail-hotmail-accounts

          Here log.

          17b08cb0-ffd6-4fa0-b5e5-1d77ca18224e-image.png

          then,

          b18eaa8e-cc5a-48cb-b687-fa500a8fb1de-image.png

          girish 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @freetommy last edited by

            @freetommy Thanks. The error "Tried all MXs" means that it tried to resolve DNS address (gmail.com) but couldn't. Can you go to Services view and check if unbound is running? And for good measure restart it and then try forwarding another mail. Thanks.

            Also, in the same view as above, there is button at the bottom that says "Show Full Logs". You can copy/paste the logs from there into https://paste.cloudron.io if it's still failing.

            F 1 Reply Last reply Reply Quote 0
            • F
              freetommy @girish last edited by

              @girish

              running unbound well.
              I'm very strange why forwad from seder's domain changed to gmail.com ?

              I set outbound ,
              Email Relay is Amanzon SES.

              Forward Test...
              Ex,)
              a@domain.com on Cloudron,
              a@domain.com have filter

              • if from a@xyz.dom, then forward to a@recivedomain.com

              I sent email
              form a@xyz.com to a@domain.com.

              a@domain.com user get email well.
              then try to forward to a@recivedomain.com.
              I expect from a@xyz.com to a@recivedomain.com

              but,
              cloudron try send email,
              from : xyz.com=a@gmail.com
              to : a@recivedomain.com

              then Failed delivery (log Tried all MXs)
              why changed domain from xyz.com to gmail.com ?

              ????

              How to solve ? or Knows issue ?

              in case of gmail,
              If I want to forward email to other email, I need put verification code first.

              Thanks
              Best Regards,

              girish 1 Reply Last reply Reply Quote 0
              • girish
                girish Staff @freetommy last edited by

                @freetommy That is strange. Are you saying gmail.com just appears like that out of the blue ?(I assume xyz.com is not gmail.com ?) BTW, cloudron implements SRS for email forwarding - https://en.wikipedia.org/wiki/Sender_Rewriting_Scheme . In the re-written address, do you see SRS0 or something like that?

                A 1 Reply Last reply Reply Quote 0
                • A
                  annaooo @girish last edited by

                  @girish
                  I'm having I think the same issue. I have server logs on the recieving side I can share as well. here are the details

                  Here is my setup:

                  • me@SenderServer.com to send the test mail
                  • me@DestinationServer.com is the final destination address we are forwarding to and where server logs are recovered from
                  • me@MyCloudron.io is set to forward to me@DestinationServer.com
                  • MyCloudron.io which has ip 1.1.1.1 is the cloudron install
                    NOTE: 1.1.1.1 is fake. The real IP is a dynamically changing IP address from the ISP which is likely spam blocked. Prior to setting up the STMP relay server no outgoing emails would work as they would be blocked on the destination server due to ISP's all adding dynamic ip blocks to spam lists by default. After setting up the relay I was able to send as me@MyCloudron.io, and that still works, just forwarding does not work. I suspect, or wonder, if sogo and rainloop are properly using the cloudron configured smtp relay?
                  • MyCloudron.io is setup to forward mail through a posteo.de server using a paid account. This works fine for sending and recieving using me@MyCloudron.io directly but me@MyCloudron.io forward to me@DestinationServer.com fails.

                  The forwarding was setup using sogo.

                  Error on MyCloudron.io

                  {
                    "ts": 1609960307783,
                    "type": "bounce",
                    "direction": "outbound",
                    "uuid": "860650A1-438F-48AB-9CFE-79A20126D25A.1",
                    "mailFrom": "<>",
                    "rcptTo": [
                      "<me@SenderServer.com>"
                    ],
                    "details": {
                      "message": "554 kundenserver.de (mxeue112) Nemesis ESMTP Service not available No SMTP service IP address is black listed. For explanation visit https://www.ionos.com/help/index.php?id=2425&ip=1.1.1.1&c=bl"
                    }
                  }
                  

                  logs from DestinationServer.com that appear when the cloudron server attempts to forward to me@DestinationServer.com:

                  2021-01-06 19:11:47 no host name found for IP address 1.1.1.1
                  2021-01-06 19:11:47 H=(MyCloudron.io) [1.1.1.1] sender verify fail for <SRS0=0ad3=GK=SenderServer.com=me@DestinationServer.com>: Unrouteable address
                  
                  ==> /var/log/exim4/rejectlog <==
                  2021-01-06 19:11:47 H=(MyCloudron.io) [1.1.1.1] sender verify fail for <SRS0=0ad3=GK=SenderServer.com=me@DestinationServer.com>: Unrouteable address
                  
                  ==> /var/log/exim4/mainlog <==
                  2021-01-06 19:11:47 H=(MyCloudron.io) [1.1.1.1] X=TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256 CV=no F=<SRS0=0ad3=GK=SenderServer.com=me@DestinationServer.com> rejected RCPT <me@DestinationServer.com>: Sender verify failed
                  
                  ==> /var/log/exim4/rejectlog <==
                  2021-01-06 19:11:47 H=(MyCloudron.io) [1.1.1.1] X=TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256 CV=no F=<SRS0=0ad3=GK=SenderServer.com=me@DestinationServer.com> rejected RCPT <me@DestinationServer.com>: Sender verify failed
                  
                  ==> /var/log/exim4/mainlog <==
                  2021-01-06 19:12:22 TLS error on connection from (MyCloudron.io) [1.1.1.1] (recv): The TLSconnection was non-properly terminated.
                  
                  girish 1 Reply Last reply Reply Quote 0
                  • girish
                    girish Staff @annaooo last edited by

                    @annaooo This got lost in all the forum activity. Did this get sorted out?

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