How to unblock email sent by Exchange 2007 SP1

We finally traced down why our customers have not been reliably getting emails sent by our web server. It turns out that this started happening after Exchange 2007 SP1 got installed. Basically email sent from our web server, relayed through our exchange server, was getting blocked by Exchange’s content filtering.

This is the exception that was getting thrown by our call to System.Net.Mail.SmtpClient.Send(MailMessage message).

System.Net.Mail.SmtpException: Mailbox unavailable. The server response was: 5.7.1 Message rejected as spam by Content Filtering.

Here are the steps we followed to fix the issue.
– Open Exchange Management Console
– Expand Organization Configuration
– Select Hub Transport
– Select the Anti-spam tab
– Double-click Content Filtering
– Select the Custom Words tab
– Specify some word that is included in every email sent out to prevent
– Click Apply

Now our webserver can reliably send emails!

One thought on “How to unblock email sent by Exchange 2007 SP1

  1. Pingback: Email updates « CheckOutMyCards.com Blog

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s