Announcement

Collapse
No announcement yet.

redirect SMTP outgoing to another router

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • redirect SMTP outgoing to another router

    Hi,

    I've EX2K3 and i send email through an INTERNET connection that all my LAN use.
    now i setup another INTERNET connection only for sending email from the Exchange.
    my question is how i can say to the Exchange server to send email through the new INTERNET connection and still receive email from the existing INTERNET connection?

    Thx

  • #2
    Re: redirect SMTP outgoing to another router

    you need to do that on the firewall/router
    outgoing port 25 traffic should be redirected to the appropriate gateway

    make sure the IP you will be sending email from has an mx record and is not blacklisted in RBLs
    ________
    Honda Ns400R
    Last edited by DYasny; 6th March 2011, 18:25.
    Real stupidity always beats Artificial Intelligence (c) Terry Pratchett

    BA (BM), RHCE, MCSE, DCSE, Linux+, Network+

    Comment


    • #3
      Re: redirect SMTP outgoing to another router

      I read that slightly differently so just to confirm, avipenina, do you mean you have 2 gateways on your network now? It may just be as simple as changing this in your NIC properties. The server will then use this to send out by default.
      cheers
      Andy

      Please read this before you post:


      Quis custodiet ipsos custodes?

      Comment


      • #4
        Re: redirect SMTP outgoing to another router

        hi AndyJG247

        yes ,now i have 2 gateways and i want my EX to stay with the current default gateway but to send email form the EX use the second default gateway.

        Comment


        • #5
          Re: redirect SMTP outgoing to another router

          Do you have a smart host you send through?
          If so you could setup a route rule on the server, something like

          route add 62.62.62.144 mask 255.255.255.255 10.1.1.254 -p

          this will mean anything sent to that address will go through the supplied gateway. The -p means it persists over reboots.

          This is where 62.62.62.144 is the smarthost and 10.1.1.254 is your new gateway.

          If you send via DNS then I don't think there is a way to achieve what you want.
          cheers
          Andy

          Please read this before you post:


          Quis custodiet ipsos custodes?

          Comment


          • #6
            Re: redirect SMTP outgoing to another router

            Thx.
            I've pineapp on my first DG.
            but on the send DG i've regular router.can i send emails from the regular router and setup my SMTP server to use it as smarhost(do i need any capabilities for smarthost,or it just pass the email)?

            Comment


            • #7
              Re: redirect SMTP outgoing to another router

              you will either have to set up your own smarthost that will have the second DG as default gateway, or get a multi WAN port router that will be able to manage types of traffic directed to different gateways.
              Checkpoint is pretty good with that
              ________
              TOYOTA SA SPECIFICATIONS
              Last edited by DYasny; 6th March 2011, 18:27.
              Real stupidity always beats Artificial Intelligence (c) Terry Pratchett

              BA (BM), RHCE, MCSE, DCSE, Linux+, Network+

              Comment


              • #8
                Re: redirect SMTP outgoing to another router

                Regular router is fine but do you have a smart host on the internet (at your ISP for example) that you use? mail.isp.co.uk or similar? This will have an IP address you can use.
                cheers
                Andy

                Please read this before you post:


                Quis custodiet ipsos custodes?

                Comment


                • #9
                  Re: redirect SMTP outgoing to another router

                  Originally posted by AndyJG247 View Post
                  Regular router is fine but do you have a smart host on the internet (at your ISP for example) that you use? mail.isp.co.uk or similar? This will have an IP address you can use.
                  that will still direct SMTP traffic through the first DG
                  ________
                  Waterbongs
                  Last edited by DYasny; 6th March 2011, 18:27.
                  Real stupidity always beats Artificial Intelligence (c) Terry Pratchett

                  BA (BM), RHCE, MCSE, DCSE, Linux+, Network+

                  Comment


                  • #10
                    Re: redirect SMTP outgoing to another router

                    I disagree.
                    If the server has a route statement that says anything destined for 62.62.62.144 use the second gateway then it will send the traffic that way. The defaulty gateway is for anything it doesn't have a specific route for.
                    cheers
                    Andy

                    Please read this before you post:


                    Quis custodiet ipsos custodes?

                    Comment


                    • #11
                      Re: redirect SMTP outgoing to another router

                      Originally posted by AndyJG247 View Post
                      I disagree.
                      If the server has a route statement that says anything destined for 62.62.62.144 use the second gateway then it will send the traffic that way. The defaulty gateway is for anything it doesn't have a specific route for.
                      we are not talking about ANYTHING, we are talking about SMTP traffic ONLY
                      ________
                      Easy vape vaporizer
                      Last edited by DYasny; 6th March 2011, 18:27.
                      Real stupidity always beats Artificial Intelligence (c) Terry Pratchett

                      BA (BM), RHCE, MCSE, DCSE, Linux+, Network+

                      Comment


                      • #12
                        Re: redirect SMTP outgoing to another router

                        I think it is fair to say it is likely this is not going to be an issue for just 1 IP address. I am trying to offer a solution to the problem and this, to me, seems acceptable. I think avipenina would be the best person to decide.
                        cheers
                        Andy

                        Please read this before you post:


                        Quis custodiet ipsos custodes?

                        Comment


                        • #13
                          Re: redirect SMTP outgoing to another router

                          in that case, just setting this server with the second gateway as the default one should be enough, no need in adding routes
                          ________
                          SUZUKI GSX650F
                          Last edited by DYasny; 6th March 2011, 18:28.
                          Real stupidity always beats Artificial Intelligence (c) Terry Pratchett

                          BA (BM), RHCE, MCSE, DCSE, Linux+, Network+

                          Comment


                          • #14
                            Re: redirect SMTP outgoing to another router

                            The problem with that is what you brought up earlier. The mail will go to the default gateway.

                            I believe the server needs access to everything through the normal gateway but wants to send mail out of the second gateway. In this situation just setting up another route statement for the smarthost will force any traffic (as you stated) destined for this host out of the second gateway but leave everything else using the original one.
                            cheers
                            Andy

                            Please read this before you post:


                            Quis custodiet ipsos custodes?

                            Comment


                            • #15
                              Re: redirect SMTP outgoing to another router

                              the topic clearly stated the server uses DNS for outgoing SMTP, not a smarthost.
                              do you read, or do you jump to conclusions?
                              ________
                              Frontenac (automobile)
                              Last edited by DYasny; 6th March 2011, 18:28.
                              Real stupidity always beats Artificial Intelligence (c) Terry Pratchett

                              BA (BM), RHCE, MCSE, DCSE, Linux+, Network+

                              Comment

                              Working...
                              X