Create Receive Connector with Relay Enabled

New-ReceiveConnector -Name "Application Anonymous Relay" -Usage Custom -PermissionGroups AnonymousUsers -Bindings <Server Ip>:25 -RemoteIpRanges <Client Ip>

Get-ReceiveConnector "Application Anonymous Relay" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"

 

powershell

how to set reviewer access rights example:

add-MailboxFolderPermission -Identity daniel:\calendar -User orly -AccessRights reviewer

How To Find Users With Specific Email Addresses \ Domain Using Exchange Shell

This Exchange cmdlet will help you find users with specific SMTP domain address, this is useful when you want to know how many users using this specific domain.


get-recipient -ResultSize unlimited | where {$_.emailaddresses -match “test.local“} | select name,emailaddresses

If you need to find just an email address add name@test.local to the line.

get-recipient -ResultSize unlimited | where {$_.emailaddresses -match “test@test.local“} | select name,emailaddresses > c:\out.txt

Make a Free Website with Yola.