• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 73
  • Last Modified:

Anonymous relay issue

I accidentally ran the exchange shell command to allow anonymous relay to the outside with the default frontend receive connector instead of one we created.  How do I go about removing those permissions?
0
Chris Rice
Asked:
Chris Rice
  • 2
1 Solution
 
Simon Butler (Sembee)ConsultantCommented:
Exactly what command did you run?

It is usually a matter of reversing it with something like remove-adpermissions or something like that, but without knowing what command you used, impossible to say further.

Simon.
0
 
Chris RiceAuthor Commented:
I ran this command Get-ReceiveConnector "Relay Connector" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
0
 
VB ITSSpecialist ConsultantCommented:
In that case use the command Get-ReceiveConnector "Relay Connector" | Remove-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"

I'm not sure how the above command you ran would have modified the default frontend connector though, as you've specified the receive connector named "Relay Connector" with that command.
0
 
Chris RiceAuthor Commented:
That was just an example that I found on google.  I couldn't remember the command that I ran off the top of my head.  Thanks.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now