Allow E-Mail from an outside IP to relay through my Exchange 2003 Server?

Posted on 2011-04-21
Last Modified: 2012-05-11
Our company uses an accounting software solution called Deltek Vision. We have this hosted through a provider specializing in hosting Vision solutions.
The software has a reporting feature that generates e-mail reports and sends them to our project managers, etc. This doesn't work.
Basically the Vision solution asks for our E-Mail Server, Port, and a username/password on the e-mail setup page.
I was told by our Vision host that my e-mail server needs to allow incoming from XXX.XXX.XX.XXX, and that was all the information they gave me.
I am assuming I need to set up some kind of SMTP Connector or Relay, but have never done this before and want to make sure it is done right.
Can anyone let me know if my assumption is correct, and point me in the correct direction to do this the right way in Exchange 2003?

Question by:Josh-IT
    LVL 8

    Expert Comment

    If the software was installed on you internal network then you would just point it at your internal Exchange IP address on port 25.
    If its hosted externaly and has internet access you should be able to point it to your Public Exchange IP address on port 25.
    If you have a firewall that tunnels SMTP traffic to exchnage this is the address you should use.

    If its just sending email to your internal users then you shouldnt need to setup any additional connectors - just use the existing one.
    LVL 1

    Author Comment

    The software is completely hosted externally and is a web based interface from our end.
    We do have a firewall in front of everything here, so I will have to try and set up vision to point to that address instead of my Exchange box and see what that does.
    I believe it will just be used to send e-mails to internal users, but from the very basic overview I got of it, since the software isn't hosted here, our Exchange Server has to be configured to accept messages from the hosted company's IP address which is what made me think of the relay/connector.
    LVL 8

    Expert Comment

    basicaly you should be able to point it at the IP address of your mx record if the mail is for your users.

    I'm sure you know what it is but you can check with nslookup from the command line:
    set type=mx

    this should list your mail gateways that are published etc.

    Exchange shouldnt care its your box on the internet if you accept email from other internet hosts directly.
    LVL 1

    Author Comment

    Alright, so I set up the software with- in the Email Server field and now it is working perfectly for sending email to Internal addresses. They have informed me they want to be able to send to external users as well, such as sending clients invoices, etc directly through the software-
    If I set the Default Email field to an external account, such as my Yahoo I get the following error when generating a test message-
    Error in processing. The server response was: Could not load DRD for domain ( rcpt (

    Call Stack:
    Deltek.Framework.SysEmail.Server.Message.SendEmail(fromEmail As String, fromName As String, sToList As String, sCCList As String, sBCCList As String, sSubject As String, sBody As String, aFiles As String, vTextBody As String, replyTo As String)
    System.Net.Mail.SmtpClient.Send(message As MailMessage)

    I have never set up a connector in Exchange and would appreciate any information/help you can give.

    Thanks again for all the help so far!
    LVL 8

    Accepted Solution

    this is where it may get a bit more interesting then if your using to host your mx.

    first off - if you have a mail that you managed to deliver a mail to yourself then you can look at the headers (open the message, view, options) this will show you the path and IP addresses of the each server that handled the message. You need to find the IP address of the originating server - its prabably the IP of the webserver but its best to check incase it has multiple IP's etc.

    OK, in order to relay the mail to external addresses I dont think you can send it through mxlogic so you may need to send it directly to your gateway IP.
    If your firewall is set to forward all port 25 requests to Exchange then this should be OK - but you may need to check it dosnt only accept traffic from mxlogic etc.
     Open System Manager.
     expand Administrative Groups, and then expand First Administrative Group.
     Expand Servers, expand Your_Servername, expand Protocols, expand SMTP
     rightclick on Default SMTP Virtual Server, and then click Properties.
     Click the Access tab, and then click Connection.

     This should contain a list of the servers that are allowed to connect and relay etc.
     This is where you need to add the IP address of your webserver.
    As far as another connector to receive goes then unless you have an alternative IP or want to listen on a different port then just use the default port.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Suggested Solutions

    Create high volume marketing opportunities using email signatures with these top 10 DOs and DON'Ts of email signature marketing.
    Use email signature images to promote corporate certifications and industry awards.
    In this video we show how to create a Distribution Group in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >>…
    In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now