Solved

Exchange 2013 relay Failure / not authorized to use the server

Posted on 2013-05-29
4
497 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

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
Marketers need statistics and metrics like everybody else needs oxygen. In this article we explain how to enable marketing campaign statistics for Microsoft Exchange mail.
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 …
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

803 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