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

    Zimbra help..multi-domain each with own external relay

    IT Discussion
    5
    48
    8.7k
    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.
    • dbeatoD
      dbeato @vhinzsanchez
      last edited by

      @vhinzsanchez said in Zimbra help..multi-domain each with own external relay:

      @dbeato thanks!

      Do I also need to include both SMTP servers in MTA Trusted Networks? How do I input them in CIDR format?

      119.93.x.x /32?
      119.93.x.y /32?

      Thanks!

      Yes /32 is one IP address.

      1 Reply Last reply Reply Quote 0
      • dbeatoD
        dbeato @vhinzsanchez
        last edited by

        @vhinzsanchez said in Zimbra help..multi-domain each with own external relay:

        @dbeato thanks!

        Do I also need to include both SMTP servers in MTA Trusted Networks? How do I input them in CIDR format?

        119.93.x.x /32?
        119.93.x.y /32?

        Thanks!

        Please include them there for sure.

        vhinzsanchezV 1 Reply Last reply Reply Quote 0
        • vhinzsanchezV
          vhinzsanchez @dbeato
          last edited by

          @dbeato

          Yup...tried to enter the IPs in MTA Trusted Networks but still the same even after issuing "zmcontrol restart" and even restarting the whole VM. It seems as though that the email is being sent directly to the recipient's server (Google's in this case):

          Feb 13 16:36:59 postoffice systemd-logind[936]: Removed session 92.
          Feb 13 16:37:10 postoffice postfix/smtp[38133]: connect to alt1.gmail-smtp-in.l.google.com[74.125.198.27]:25: Connection timed out
          Feb 13 16:37:10 postoffice postfix/smtp[38134]: connect to alt1.gmail-smtp-in.l.google.com[74.125.198.27]:25: Connection timed out
          Feb 13 16:37:40 postoffice postfix/smtp[38134]: connect to alt2.gmail-smtp-in.l.google.com[74.125.124.26]:25: Connection timed out
          Feb 13 16:37:40 postoffice postfix/smtp[38133]: connect to alt2.gmail-smtp-in.l.google.com[74.125.124.26]:25: Connection timed out
          Feb 13 16:37:46 postoffice zmconfigd[1371]: Fetching All configs
          Feb 13 16:37:46 postoffice zmconfigd[1371]: All configs fetched in 0.09 seconds
          Feb 13 16:37:51 postoffice zmconfigd[1371]: Watchdog: service antivirus status is OK.
          Feb 13 16:37:51 postoffice zmconfigd[1371]: All rewrite threads completed in 0.00 sec
          Feb 13 16:37:51 postoffice zmconfigd[1371]: All restarts completed in 0.00 sec
          Feb 13 16:38:10 postoffice postfix/smtp[38133]: connect to alt3.gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed out
          Feb 13 16:38:10 postoffice postfix/smtp[38134]: connect to alt3.gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed out
          Feb 13 16:38:40 postoffice postfix/smtp[38134]: connect to alt4.gmail-smtp-in.l.google.com[173.194.208.26]:25: Connection timed out
          Feb 13 16:38:40 postoffice postfix/smtp[38133]: connect to alt4.gmail-smtp-in.l.google.com[173.194.208.26]:25: Connection timed out
          Feb 13 16:38:40 postoffice postfix/smtp[38133]: B00E09B4207B: to=[email protected], relay=none, delay=3353, delays=3231/0.75/121/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.208.26]:25: Connection timed out)
          Feb 13 16:38:40 postoffice postfix/smtp[38134]: 065129B42075: to=[email protected], relay=none, delay=3351, delays=3230/0.59/121/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.208.26]:25: Connection timed out)

          dbeatoD 1 Reply Last reply Reply Quote 0
          • dbeatoD
            dbeato @vhinzsanchez
            last edited by

            @vhinzsanchez said in Zimbra help..multi-domain each with own external relay:

            @dbeato

            Yup...tried to enter the IPs in MTA Trusted Networks but still the same even after issuing "zmcontrol restart" and even restarting the whole VM. It seems as though that the email is being sent directly to the recipient's server (Google's in this case):

            Feb 13 16:36:59 postoffice systemd-logind[936]: Removed session 92.
            Feb 13 16:37:10 postoffice postfix/smtp[38133]: connect to alt1.gmail-smtp-in.l.google.com[74.125.198.27]:25: Connection timed out
            Feb 13 16:37:10 postoffice postfix/smtp[38134]: connect to alt1.gmail-smtp-in.l.google.com[74.125.198.27]:25: Connection timed out
            Feb 13 16:37:40 postoffice postfix/smtp[38134]: connect to alt2.gmail-smtp-in.l.google.com[74.125.124.26]:25: Connection timed out
            Feb 13 16:37:40 postoffice postfix/smtp[38133]: connect to alt2.gmail-smtp-in.l.google.com[74.125.124.26]:25: Connection timed out
            Feb 13 16:37:46 postoffice zmconfigd[1371]: Fetching All configs
            Feb 13 16:37:46 postoffice zmconfigd[1371]: All configs fetched in 0.09 seconds
            Feb 13 16:37:51 postoffice zmconfigd[1371]: Watchdog: service antivirus status is OK.
            Feb 13 16:37:51 postoffice zmconfigd[1371]: All rewrite threads completed in 0.00 sec
            Feb 13 16:37:51 postoffice zmconfigd[1371]: All restarts completed in 0.00 sec
            Feb 13 16:38:10 postoffice postfix/smtp[38133]: connect to alt3.gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed out
            Feb 13 16:38:10 postoffice postfix/smtp[38134]: connect to alt3.gmail-smtp-in.l.google.com[74.125.136.26]:25: Connection timed out
            Feb 13 16:38:40 postoffice postfix/smtp[38134]: connect to alt4.gmail-smtp-in.l.google.com[173.194.208.26]:25: Connection timed out
            Feb 13 16:38:40 postoffice postfix/smtp[38133]: connect to alt4.gmail-smtp-in.l.google.com[173.194.208.26]:25: Connection timed out
            Feb 13 16:38:40 postoffice postfix/smtp[38133]: B00E09B4207B: to=[email protected], relay=none, delay=3353, delays=3231/0.75/121/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.208.26]:25: Connection timed out)
            Feb 13 16:38:40 postoffice postfix/smtp[38134]: 065129B42075: to=[email protected], relay=none, delay=3351, delays=3230/0.59/121/0, dsn=4.4.1, status=deferred (connect to alt4.gmail-smtp-in.l.google.com[173.194.208.26]:25: Connection timed out)

            Can you setup a relay as below?
            https://support.google.com/a/answer/2956491?hl=en

            1 Reply Last reply Reply Quote 0
            • vhinzsanchezV
              vhinzsanchez
              last edited by

              Thanks @dbeato, by goal is to use our own SMTP (external email server) as smarthost. We are using the 2 now, in a separate physical Zimbra installation, without issues. I was only trying to replicate that settings into a single (VM) zimbra install.

              Thanks again for sticking with me to help me out with my dilemma.

              dbeatoD 1 Reply Last reply Reply Quote 0
              • dbeatoD
                dbeato @vhinzsanchez
                last edited by

                @vhinzsanchez said in Zimbra help..multi-domain each with own external relay:

                Thanks @dbeato, by goal is to use our own SMTP (external email server) as smarthost. We are using the 2 now, in a separate physical Zimbra installation, without issues. I was only trying to replicate that settings into a single (VM) zimbra install.

                Thanks again for sticking with me to help me out with my dilemma.

                Strange, I mean your error seem to be trying to connect to Gmail that the ports are timing out.

                1 Reply Last reply Reply Quote 0
                • vhinzsanchezV
                  vhinzsanchez
                  last edited by

                  @dbeato said in Zimbra help..multi-domain each with own external relay:

                  Strange, I mean your error seem to be trying to connect to Gmail that the ports are timing out.

                  That's where I'm also confused about. It seems that it is directly trying to connect to Gmail to send the messages. The recipient is my personal gmail account. Creating bysender and relay_password files and configuring Zimbra to recognize those (by the searches I had done), it should have routed the mails to the external (SMTP) server.

                  Inputting the smtp.domain1.com to "Relay MTA for external delivery" routes all outgoing emails to it, including the ones from domain2.com which should route to smtp.domain2.com.

                  1 Reply Last reply Reply Quote 0
                  • vhinzsanchezV
                    vhinzsanchez
                    last edited by

                    Hi,

                    Guys, I'll be out and will be back on Monday. Tomorrow is a holiday here in Philippines, work resumes on Monday. Hope you can help me out :smiling_face_with_open_mouth:

                    Thanks!

                    scottalanmillerS 1 Reply Last reply Reply Quote 2
                    • scottalanmillerS
                      scottalanmiller @vhinzsanchez
                      last edited by

                      @vhinzsanchez enjoy your holiday.

                      vhinzsanchezV 1 Reply Last reply Reply Quote 0
                      • vhinzsanchezV
                        vhinzsanchez @scottalanmiller
                        last edited by

                        @scottalanmiller Thanks! I did enjoy it with family and friends!

                        1 Reply Last reply Reply Quote 1
                        • bbigfordB
                          bbigford @vhinzsanchez
                          last edited by

                          @vhinzsanchez said in Zimbra help..multi-domain each with own external relay:

                          @dbeato
                          Wow! You are one of the gems which has set it up correctly.

                          How? How? How?

                          0_1519015698097_websearch.png

                          dbeatoD 1 Reply Last reply Reply Quote 2
                          • vhinzsanchezV
                            vhinzsanchez
                            last edited by

                            @BBigford yeah, that's it. And no fault of any other. I just can't figure this thing out...luckily, its just a test server (planning for an upgrade...thus the test).

                            dbeatoD 1 Reply Last reply Reply Quote 1
                            • dbeatoD
                              dbeato @bbigford
                              last edited by

                              @bbigford said in Zimbra help..multi-domain each with own external relay:

                              @vhinzsanchez said in Zimbra help..multi-domain each with own external relay:

                              @dbeato
                              Wow! You are one of the gems which has set it up correctly.

                              How? How? How?

                              0_1519015698097_websearch.png

                              Lol

                              1 Reply Last reply Reply Quote 1
                              • dbeatoD
                                dbeato @vhinzsanchez
                                last edited by

                                @vhinzsanchez said in Zimbra help..multi-domain each with own external relay:

                                @BBigford yeah, that's it. And no fault of any other. I just can't figure this thing out...luckily, its just a test server (planning for an upgrade...thus the test).

                                I explained how I have it but I will set it up from the ground up.

                                vhinzsanchezV 1 Reply Last reply Reply Quote 1
                                • vhinzsanchezV
                                  vhinzsanchez @dbeato
                                  last edited by

                                  @dbeato, thanks...I'm relieved that someone still has working with me on this.

                                  dbeatoD 1 Reply Last reply Reply Quote 0
                                  • dbeatoD
                                    dbeato @vhinzsanchez
                                    last edited by

                                    @vhinzsanchez said in Zimbra help..multi-domain each with own external relay:

                                    @dbeato, thanks...I'm relieved that someone still has working with me on this.

                                    I am building a server now with multiple domains to follow up on this.

                                    vhinzsanchezV bbigfordB 2 Replies Last reply Reply Quote 2
                                    • vhinzsanchezV
                                      vhinzsanchez @dbeato
                                      last edited by

                                      @dbeato, I can not stress my gratitude on this. Thanks!

                                      dbeatoD 1 Reply Last reply Reply Quote 1
                                      • bbigfordB
                                        bbigford @dbeato
                                        last edited by

                                        @dbeato said in Zimbra help..multi-domain each with own external relay:

                                        @vhinzsanchez said in Zimbra help..multi-domain each with own external relay:

                                        @dbeato, thanks...I'm relieved that someone still has working with me on this.

                                        I am building a server now with multiple domains to follow up on this.

                                        0_1519090091012_beast-mode.jpg

                                        1 Reply Last reply Reply Quote 1
                                        • dbeatoD
                                          dbeato @vhinzsanchez
                                          last edited by

                                          @vhinzsanchez said in Zimbra help..multi-domain each with own external relay:

                                          @dbeato, I can not stress my gratitude on this. Thanks!

                                          So I built up my Zimbra Servers on Google Cloud so I could definitely need to have usage of other relay services (As Google Cloud doesn't allow outgoing port 25). So I did the same thing as noted on my example and I can send from both domains. I am wondering if you are hitting the limit of gmail relay sending at all.

                                          Can you telnet to port 25 from the Zimbra Server to Gmail?

                                          vhinzsanchezV 1 Reply Last reply Reply Quote 0
                                          • vhinzsanchezV
                                            vhinzsanchez @dbeato
                                            last edited by

                                            @dbeato said in Zimbra help..multi-domain each with own external relay:

                                            limit of gmail relay sending at all.

                                            Hi @dbeato, thanks! No, definitely not. I've not configured relay through gmail. I'm also not hitting a limit in my smtp.domain1.com and smtp.domain2.com as we are using both in our present Zimbra install.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post