Grant the relay permission to Anonymous on a dedicated Receive Connector

Ever tried to configure MOSS 2007 to send e-mails through Exchange 2007 Server? Well, it can be a bit tricky. MOSS 2007 sends e-mails anonymously which is not-so-fine by out-of-the-box installation of Exchange 2007.

How to do it? It’s pretty easy:

  1. In a SharePoint 2007 Central Administration > Operations > Outgoing E-Mail Settings enter your server address and e-mail info
  2. In Exchange Management Shell, create a new Receive Connector:
    New-ReceiveConnector -Name ‘SharePoint’ -Usage ‘Custom’ –PermissionGroups AnonymousUsers -Bindings ‘’ -Fqdn ‘’ -RemoteIPRanges ‘’ -Server ‘exch01’
  3. Run the following command using the name of the Receive connector that you created in step 2:
    Get-ReceiveConnector “SharePoint” | Add-ADPermission -User “NT AUTHORITY\ANONYMOUS LOGON” -ExtendedRights “Ms-Exch-SMTP-Accept-Any-Recipient”


More info about allowing Anonymous Relay on a Receive Connector:

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s