In Exchange 2003 we could set custom error message with below variables:
%0: IP address of the sending mail server
%1: Rule name of the connection filter
%2: The RBL provider
BUT in Exchange 2007 or Exchange 2010 the variables above are not longer available.
To set custom rejection response we can use below variables.
{0}: IP address of the sending mail server
{1}: Rule name of the connection filter
{2}: The RBL provider
I.e.: Message refused: your IP {0} is listed by {2} (see http://multirbl.valli.org/lookup/{0}.html for details).
Naturally we can use the EMS:
Add-IPBlockListProvider -Name:Spamhaus -LookupDomain:zen.spamhaus.org -AnyMatch $True –RejectionResponse “Message refused: your IP {0} is listed by {2} (see http://multirbl.valli.org/lookup/{0}.html for details).”
Ref: http://technet.microsoft.com/en-us/library/bb124369(EXCHG.140).aspx
Nessun commento:
Posta un commento