Answer
PROBLEM
GFI WebMonitor is not sending email notifications or alerts to Microsoft Exchange server.
ENVIRONMENT
- GFI WebMonitor (all versions)
- Microsoft Exchange 2007 and later
SOLUTION
Allowing anonymous relay on a Receive connector for the connection from GFI WebMonitor.
Note: Allowing anonymous relay on a Receive connector for all sources can be a security risk, especially on Internet-facing servers. Make sure that only the GFI WebMonitor server is granted this permission.
1. Using command shell, create a new receive connector using this format (change the bold items per your environment):
New-ReceiveConnector -Name "Anonymous Relay" -Usage Custom -PermissionGroups AnonymousUsers -Bindings Exchange_IP_address:25 -RemoteIpRanges GFI_WebMonitor_IP_address
Example:
New-ReceiveConnector -Name "Anonymous Relay" -Usage Custom -PermissionGroups AnonymousUsers -Bindings 10.2.3.4:25 -RemoteIpRanges 192.168.5.77
This will create the Receive connector named Anonymous Relay that listens on local IP address 10.2.3.4 on port 25 from a source server at IP address 192.168.5.77
Example:
New-ReceiveConnector -Name "Anonymous Relay" -Usage Custom -PermissionGroups AnonymousUsers -Bindings 10.2.3.4:25 -RemoteIpRanges 192.168.5.77
This will create the Receive connector named Anonymous Relay that listens on local IP address 10.2.3.4 on port 25 from a source server at IP address 192.168.5.77
2. Using the command shell, grant relay permission to anonymous connections on the new Receive connector:
Get-ReceiveConnector "Anonymous Relay" | Add-ADPermission -User "NT AUTHORITY\ANONYMOUS LOGON" -ExtendedRights "Ms-Exch-SMTP-Accept-Any-Recipient"
More information can be found here: http://technet.microsoft.com/en-us/library/bb232021.aspx
CAUSE
GFI WebMonitor can not provide credentials and and there is no receiver for anonymous connection on the Exchange server.