If you need to change the FQDN on the Default Frontend SERVER Receive Connector, but encountered issues, follow these steps carefully:
Step 1: Verify the Connector Configuration
To make sure we're modifying the correct connector, run:
Get-ReceiveConnector -Identity "Default Frontend SERVER" | Format-List Name,Identity,AuthMechanism,Fqdn
- Confirm that the connector name is correct (
Default Frontend SERVER
in this case).
- Check if
AuthMechanism
includes ExchangeServer
(if it does, you may need to remove it).
- Check the current
Fqdn
value.
Step 2: Remove ExchangeServer
Authentication (If Necessary)
If the error persists because ExchangeServer
authentication is still enabled, modify the authentication mechanisms to remove it:
Set-ReceiveConnector -Identity "Default Frontend SERVER" -AuthMechanism BasicAuth, BasicAuthRequireTLS, ExchangeAuth
Now check again with:
Get-ReceiveConnector -Identity "Default Frontend SERVER" | Format-List Name,AuthMechanism
Step 3: Change the FQDN
Now that ExchangeServer
authentication is removed, you should be able to set the FQDN:
Set-ReceiveConnector -Identity "Default Frontend SERVER" -Fqdn "mail.domain.local"
Alternatively, if you want to remove the FQDN:
Set-ReceiveConnector -Identity "Default Frontend SERVER" -Fqdn $null
Step 4: Restart the Exchange Transport Service
For changes to take effect, restart the Exchange transport service:
Restart-Service MSExchangeTransport
Final Verification
Check if the FQDN has been successfully updated:
Get-ReceiveConnector -Identity "Default Frontend SERVER" | Select-Object Name, Fqdn
Now test sending an email and check the headers to see if the internal hostname is removed or replaced.
Let me know if you need further adjustments! 🚀