Avatar of Starquest321
Starquest321
 asked on

External Relay Setup User Authentication

I tried to create a Hub Transport for a specific server which sends email reports coming from a specific user. I get a 550 5.7.1 error - unable to relay. What am I doing wrong?
Exchange

Avatar of undefined
Last Comment
XCONBLR

8/22/2022 - Mon
bigmack333

Have you tried adding the server's IP to allowed senders group?

1. Exchange Management Console --> Server Configuration

2. Right-click Hub Transport, select properties

3. Select Network tab, then add user's IP under "Receive mail from remote servers that have these IP addresses"
Starquest321

ASKER
Yes - I setup a new recieve connector and added the server IP address. That was successful. The problem is that the "user unknown: 550 5.5.1" The user who sends the message is a known user on the Exchange box and the name/password is correct.
bigmack333

Do you have additional info as to what's happening with your relay?

Not sure if you may be experiencing a similar issue, authenticated user, but read the thread below:

http://www.petri.co.il/forums/showthread.php?t=34194
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Starquest321

ASKER
Add-AdPermission -Identity "Default Receive Connector" -User "NT AUTHORITY\Authenticated Users" -ExtendedRights ms-Exch-SMTP-Accept-Any-Sender

I added that command in the Exchange shell. When I run the software to generate the email from the user I now get a "User Unknown" failure. . .
Starquest321

ASKER
I tried adding the SELF as a user but got the following error:

8-7-2011-6-45-15-PM.png
ASKER CERTIFIED SOLUTION
XCONBLR

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Starquest321

ASKER
I thought so ..  .but I read the article and that is what is said. The only command I really ran on the default connector is the:


Add-AdPermission -Identity "Default Receive Connector" -User "NT AUTHORITY\Authenticated Users" -ExtendedRights ms-Exch-SMTP-Accept-Any-Sender


How can I undo that?
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
XCONBLR

Run Remove-AdPermission -Identity "Default Receive Connector" -User "NT AUTHORITY\Authenticated Users" -ExtendedRights ms-Exch-SMTP-Accept-Any-Sender

You can also change it from ADSIEDIT.MSC