When installing AuthAnvil on an SBS 2008 box allowing Anonymous Users, mail server tests to an external domain fail and the Setup Log shows the SMTP error "Unable to relay 5.7.1"
The AuthAnvil application is not permitted to relay mail messages through exchange 2007.
- Open up the Exchange Management Console
- Expand Server Configuration
- Click Hub Transports
- In the "Receive Connectors" tab, right-click on the "Default <servername>" and select Properties. (ie: "Default CONTOSO")
- Click the Permission Groups tab
- Check Anonymous users
At this point, you will need to grant relay rights to the anonymous user following the configuration for Option 2 described in this Microsoft blog post for Exchange 2007: http://blogs.technet.com/b/exchange/archive/2006/12/28/3397620.aspx
The Exchange shell command will look like this:
Get-ReceiveConnector "(AuthAnvil Connector Name)" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "ms-Exch-SMTP-Accept-Any-Recipient"
SBS 2008 servers running any version of AuthAnvil 2FA