Exchange 2007 Trusted relay

I am running Exchange server 2007. I have an application that uses smtp to send alerts. My question is how do I set up a relay to allow this application to send email without it being anonymous?
LVL 1
ConyersITAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jason CrawfordTransport NinjaCommented:
1. Create a new Receive Connector and give it a descriptive name.  For this example I'll use 'Relay Connector'.
2. For 'Local Network Settings' either leave at the default value or specify the LAN IP of the Hub server on port 25.
3. For the 'Remote Network Settings', enter the IP address connections from the application will be received from.  If the app server is internal enter the LAN IP, if it is external enter the WAN IP.
4. Once the initial configuration is complete open the properties of the Receive Connector you just created.
5. On the General tab, select Verbose for logging level
6. Open the Authentication tab and verify only TLS is checked
7. Open the Permission Groups tab and check the Anonymous Users box
8. Open Exchange Management Shell and type exactly this:

Get-ReceiveConnector 'Relay Connector' | Add-ADPermission -User 'NT AUTHORITY\ANONYMOUS LOGON' -ExtendedRights 'ms-Exch-SMTP-Accept-Any-Recipient'

Open in new window


That should be it.  You can check the SMTPReceive logs if you need to troubleshoot, and I highly encourage you to try out Log Parser Studio 2.2 to do so.

%ExchangeInstallPath%TransportRoles\Logs\Hub\ProtocolLog\SmtpReceive

http://blogs.technet.com/b/exchange/archive/2013/06/17/log-parser-studio-2-2-is-now-available.aspx

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ConyersITAuthor Commented:
Is there a way to configure it so the app has to use credentials to send mail?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Email Clients

From novice to tech pro — start learning today.