Solved

Exchange 2013 relay Failure / not authorized to use the server

Posted on 2013-05-29
4
496 Views
Last Modified: 2013-06-03
Have a windows service app which sends emails but and am getting the below errors;

Event Application Log:
The account '<Domain>\Administrator' provided valid credentials, but is not authorized to use the server; failing authentication.

WS Log:
Mailbox unavailable. The server response was: 5.7.1 Unable to relay

I have a receive connection set up with TLS and Exchange Users
0
Comment
Question by:crundle32
  • 3
4 Comments
 
LVL 17

Expert Comment

by:Spartan_1337
ID: 39204335
Can you try putting 'Anonymous Users' in the permissions group and try again.
Did you also only specify your internal IP range in the receive connector?
0
 

Author Comment

by:crundle32
ID: 39204360
I have also tried TLS with and without the mutual Auth TLS with the anonymous. Getting same errors.
Scoping:  
IP Address: 10.0.5.2-10.0.5.200
Binding:
(All Available IPv4) 25

Should add this windows service is running on the Exchange service not a different machine.
0
 

Accepted Solution

by:
crundle32 earned 0 total points
ID: 39204566
For others;
changed to port 2525, and set app to UseDefaultCredentials = True
0
 

Author Closing Comment

by:crundle32
ID: 39215612
-
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Utilizing an array to gracefully append to a list of EmailAddresses
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
In this video we show how to create a Shared Mailbox 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 >> Sha…
In this video we show how to create an Accepted Domain 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 Mail Flow >> Ac…

930 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

16 Experts available now in Live!

Get 1:1 Help Now