Our initial lab deployment of Exchange 2007 doesn’t contain an Edge Transport server yet so I wanted to be able to route inbound SMTP email directly to a Hub Transport server from our MIMEsweeper servers. I had expected this to work ‘out of the box’ but found the connection kept failing as it was an anonymous source.
The Hub Transport server has 2 Receive Connectors that are created by default:
The Default RC accepts inbound connections on port 25 and the Client RC accepts connections from remote clients on port 587. Whilst I understand the purpose of the Default RC I’ll need to do some more research into when and how the Client RC is used.
I looked at the properties of on the Default RC but couldn’t see anything that might help me. There are various options available for authentication but none that seemed to allow anonymous access.
With the following command line I managed to get my Default RC to accept email from non-authenticated sources.
set-ReceiveConnector -identity "Default LABCRWEXHT1" -PermissionsGroups AnonymousUsers
The moral of the story? Get used to the Exchange Management Shell as there’s no avoiding it!