Solved

Exchange 2013 relay Failure / not authorized to use the server

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
This article explains how to install and use the NTBackup utility that comes with Windows Server.
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 an Address List 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 Organization >> Ad…

809 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