Solved

Exchange 2013 relay Failure / not authorized to use the server

Posted on 2013-05-29
4
501 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 17

Expert Comment

by:James H
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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video discusses moving either the default database or any database to a new volume.
Suggested Courses
Course of the Month9 days, 17 hours left to enroll

623 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