Wednesday, January 27, 2010

Exchange 2007: how to setup whitelist from sender address or Sender domain, instead of ip address

Exchange 2007: how to setup whitelist from sender address or Sender domain, instead of ip address

Exchange 2007 has a whitelist but you can not see it or set it up from the GUI. It has to be done from the EMS(shell).

Shell command to add sender SMTP addresses to the BypassedSenders list:
Set-ContentFilterConfig -BypassedSenders me@allowedDomain.com,JohnSmith@fabrikam.com

Shell command to add sender domain addresses to the BypassedSenderDomains list:
Set-ContentFilterConfig -BypassedSenderDomains yahoo.com,fabrikam.com

You can also whitelist recipient. All emails address to that recipient will not be check. The only downside is , the user will always get spammed emails.

shell command:
Set-ContentFilterConfig -BypassedRecipients vip@yourdomain.com,executive@yourdomain.com

No comments: