Announcement

Collapse
No announcement yet.

Relay problem

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

  • Relay problem

    Hi

    I am currently running Exchange 2003 and I am having problems with relay.

    I offer a backup service which is hosted in the US and within my administration console in the US I have put in my smtp host name along with login credentials to relay email messages to our clients. These are automated reports which are emailed periodically.

    On my Exchange server, I have added the IP address of the server in the US to the Allow Relay list.

    The relay is working but only for addresses within my organisation.

    Any external email address is coming up with the following error:

    550 5.7.1 Unable to relay

    What am I doing wrong?? Help Please

  • #2
    Re: Relay problem

    Don't normally recommend that relaying is granted at the IP address level, as it is too easy to be spoofed. Can the remote machine use authentication instead?

    Are you sure that the IP address that you have put in to the settings is the same IP address that the connection comes from? With firewalls and NAT it can vary sometimes.
    If you can get remote access to the remote server, go to http://checkip.dyndns.org/ which will show you the IP address the server appears to be coming from.

    Simon.
    --
    Simon Butler
    Exchange MVP

    Blog: http://blog.sembee.co.uk/
    More Exchange Content: http://exchange.sembee.info/
    Exchange Resources List: http://exbpa.com/
    In the UK? Hire me: http://www.sembee.co.uk/

    Sembee is a registered trademark, used here with permission.

    Comment


    • #3
      Re: Relay problem

      Thanks for the suggestion

      The remote machine can use authentication and I have updated that. I also took the IP address out of the Allow Relay list.

      The emails are reaching my organisation but again are atill not being relayed externally.

      Comment


      • #4
        Re: Relay problem

        Is the server actually authenticating correctly?
        Even if authentication fails, emails would come in to internal users because that is how SMTP is designed. Incoming email doesn't require authentication - it is only for relaying that it is required.

        What is the remote server? Another Windows machine?

        Simon.
        --
        Simon Butler
        Exchange MVP

        Blog: http://blog.sembee.co.uk/
        More Exchange Content: http://exchange.sembee.info/
        Exchange Resources List: http://exbpa.com/
        In the UK? Hire me: http://www.sembee.co.uk/

        Sembee is a registered trademark, used here with permission.

        Comment


        • #5
          Re: Relay problem

          I never though of checking whether the server is actually authenticating or not!
          I removed the authentication information and I am receiving emails in my organisation!? I guess it's not authenticating!

          I'm starting to get really confused on this one!

          I am not sure what the remote server is. Does this matter?

          Comment


          • #6
            Re: Relay problem

            Depending on what the remote server is, there could be other ways round the issue.

            For example, if it was a Windows machine, then I would suggest installing the built in SMTP server and bouncing email messages off that, rather than trying to bounce them off your Exchange server.

            Alternatively you could also turn off anonymous authentication therefore forcing it to authenticate. That would aid troubleshooting.

            Simon.
            --
            Simon Butler
            Exchange MVP

            Blog: http://blog.sembee.co.uk/
            More Exchange Content: http://exchange.sembee.info/
            Exchange Resources List: http://exbpa.com/
            In the UK? Hire me: http://www.sembee.co.uk/

            Sembee is a registered trademark, used here with permission.

            Comment


            • #7
              Re: Relay problem

              Thanks again for the advice. I really appreciate it!

              Would turning off anonymous authentication have any effect on the normal operations of the exchange server? ie normal day to day sending and receving of emails? What authentication would I need to implement? Basic authentication?

              Also, is the virtual SMTP server in exchange and the "built in SMTP server" not the same thing?

              If not, how would I go about setting this up?

              Thanks again for the help!

              Comment


              • #8
                Re: Relay problem

                You misunderstood me.

                I didn't mean making any changes to your Exchange server, but the remote server that is sending the email messages to your Exchange server.
                If you disable anonymous authentication on the Exchange then you will stop receiving all email from external sources.

                Simon.
                --
                Simon Butler
                Exchange MVP

                Blog: http://blog.sembee.co.uk/
                More Exchange Content: http://exchange.sembee.info/
                Exchange Resources List: http://exbpa.com/
                In the UK? Hire me: http://www.sembee.co.uk/

                Sembee is a registered trademark, used here with permission.

                Comment


                • #9
                  Re: Relay problem

                  The only configs that I have access to on the remote server is the SMTP server host name, login name, and password.

                  I have access to a web based administrative portal where I can setup these settings.

                  They have also supplied me with the IP address of the server.

                  That is the all information I am able to work with from their side

                  Comment


                  • #10
                    Re: Relay problem

                    It becomes clear now.

                    You are not going to be able to authenticate relay, unless you recode the application that you are using to do it in the code. The information you have been provided with doesn't allow you to set the authentication for outbound email, just for inbound.

                    That probably means you are going to have to use the IP address - as you don't have any other choice.

                    Turn up logging on the SMTP virtual server so that you can see the connection attempts and verify whether they are coming "from" the IP address that you are expecting.

                    The only other option would be to see if the host had an SMTP server you could bounce the messages off.

                    Simon.
                    --
                    Simon Butler
                    Exchange MVP

                    Blog: http://blog.sembee.co.uk/
                    More Exchange Content: http://exchange.sembee.info/
                    Exchange Resources List: http://exbpa.com/
                    In the UK? Hire me: http://www.sembee.co.uk/

                    Sembee is a registered trademark, used here with permission.

                    Comment


                    • #11
                      Re: Relay problem

                      Thanks Simon

                      I will try what you suggest! I'll keep you informed as to what happens!

                      Thanks again

                      Comment

                      Working...
                      X