How To Customize RBL Rejection Response In Exchange 2010
Posted by: robert in Untagged on
Nov 14, 2010
To use the Exchange Management Shell to configure IP Block List Providers, run this command:
Add-IPBlockListProvider -Name NewIpBlockListProvider -LookupDomain RBL.Domain.com -AnyMatch $True -RejectionResponse "Originating IP address matched to RBL.Domain.com's IP Block List provider service"
What do the variables mean:
{0}: IP address of the sending mail server
{1}: Rule name of the connection filter
{2}: The RBL provider
Example:
Add-IPBlockListProvider -Name zen.spamhaus.org -LookupDomain zen.spamhaus.org -AnyMatch $True -RejectionResponse "{1} has blocked your IP address ({0}) using the list '{2}'. Please see http://www.spamhaus.org/query/bl?ip={0} for further information."
Email me if you are having any problems with the command.
Robert Miranda