Exchange 2007 Content Filter Blocking An Email For One User

Posted on 2010-11-13
Medium Priority
Last Modified: 2012-05-10
We have a small domain network of five users using Small Business Server 2008 and our email is handled by Exchange 2007 using Outlook 2010. The problem we have is that Exchange server is blocking an email sent from a classic ASP CDO Script. It only affects one user on the network, if I change the recipient address to someone else in the GAL the mail gets through or if I send it to a separate POP3 account it works fine, I hope this means there is no problem with the script (The script is listed below). I think I have narrowed down the problem to the content filter because if I disable it the email will arrive in the effected users Inbox almost immediately, likewise if I whitelist the email address using “Set-ContentFilterConfig -BypassedSenders no_reply@clientone.com”  at the Exchange Management Shell the email will arrive almost immediately, This is not really a satisfactory solution as we will use this script for different clients and email addresses and the same user never receives the emails. The affected users main email address, joe@company.com is in the GAL however the script uses an alternative email address for the user of development@company.com which is set up in exchange

Our content filter settings are:
Delete massages with an SCL of 9
Reject messages with an SCL greater or equal to 7
Quarantine messages with an SCL greater or equal to 5
Quarantined messages are delivered to a redundant mailbox on exchange and one of the quarantined messages is shown below:-

Diagnostic information for administrators:
 Generating server: domain.lan
#550 5.2.1 Content Filter agent quarantined this message ##
 Original message headers:
 Received: from cust-smtp-193.fasthosts.net.uk ( by
 remote.company.com ( with Microsoft SMTP Server id 8.1.436.0;
 Thu, 11 Nov 2010 10:42:28 +0000
Received: from IIS6105 (server213-171-218-105.livedns.org.uk
 [])      by cust-smtp-193.fasthosts.net.uk (Postfix) with SMTP id
 9693E141004E    for <development@company.com>; Thu, 11 Nov 2010 10:42:27 +0000
Thread-Topic: Client One Contact Us Form
X-Mailer: Microsoft CDO for Windows 2000
thread-index: AcuBjSDPBCwBJGQPRbuRSCVadxYPxA==
From: <no_reply@clientone.com>
To: <development@company.com>
Subject: Client One Contact Us Form
Date: Thu, 11 Nov 2010 10:42:25 +0000
Message-ID: <D7F10284126B47E8893FE9CAC72EFE0E@VHOSTS3.LOCAL>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4721
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
Return-Path: no_no_reply@clientone.com
Received-SPF: None (SERVER.company.lan: no_reply@clientone.com does not
 designate permitted sender hosts)

The ASP CDO scripts are sent using a Fasthosts server and a sample is:-

Set myMail=CreateObject("CDO.Message")
myMail.Subject="Contact Us Form"
' the email
myMail.TextBody= "Date/Time: " & Date() & " - " & Time() & vbcrlf & vbcrlf
myMail.TextBody=myMail.TextBody & "Name: " & FRMname & vbcrlf & vbcrlf
myMail.TextBody=myMail.TextBody & "Telephone: " & FRMphone & vbcrlf & vbcrlf
myMail.TextBody=myMail.TextBody & "Email Address: " & FRMemail & vbcrlf & vbcrlf
myMail.TextBody=myMail.TextBody & "Subject: " & FRMsubject & vbcrlf & vbcrlf
myMail.TextBody=myMail.TextBody & "Message: " & FRMmessage & vbcrlf & vbcrlf
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/sendusing")=2
'Name or IP of remote SMTP server
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserver")="smtp.fasthosts.co.uk"
'Server port
myMail.Configuration.Fields.Item ("http://schemas.microsoft.com/cdo/configuration/smtpserverport")=25
set myMail=nothing

Sorry for such a long post but I have tried to include all the relevant information, I look forward to hearing your comments and suggestions.

Thank you,


Question by:Declaro
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2

Accepted Solution

Shack-Daddy earned 2000 total points
ID: 34130114
What if we said that the core of the issue was that sending it to a secondary email address for the user (not the primary one found in the GAL) was the key variable? Would you say that based on your testing that is true?

If you found that the content filter would reliably block delivery to a mailbox if the primary email address was not used, then how about creating a workaround with an email-enabled distribution list instead of using an additional alias on a user mailbox?

Or how about sending it to a service mailbox (development@company.com) and the configure that mailbox to forward a copy (and not keep a local copy) to whichever user(s) is appropriate?

Author Comment

ID: 34130495
Hi Shack-Daddy,

Thanks for the response, Is was hoping it was caused by not being in the GAL, I am only a basic user of Exchange and do not really understand distribution lists properly but if that is the problem a service mailbox should work :) i have implemented that now for the user and I will test it tomorrow when he is back in the office and let you know.

Thanks for steering me in a new direction.

Expert Comment

ID: 34134161
ok soz m8 dus the mail get blocked or quarantined?
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.


Author Comment

ID: 34135359
Thanks for your input lala187, the mail would sometimes be rejected but mostly quarantined, I seem to have got it sorted now thanks to Shack-Daddy, I created a service email account and forwarded the emails to the affected user without storing a local copy and it appears to have worked, he is now getting the mail, hopefully it will work for other email addresses we will have to use in the future.

Thanks to everyone who contributed.


Expert Comment

ID: 34135458
just remember you get a higher spam score wen you don't use a authenticated smtp. that is y you get the quarantine and rejected massages to some users. you can always add your subject words to the content filter so it will allow your mail to pass with no rule filter.  Tested for the mail

Author Comment

ID: 34135965
Thanks for that lala187 it's a good idea and your advice is welcome as i'm learning about exchange on the job as it were :) it's one thing learning from videos but real world solutions and advice are always better.


Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
how to add IIS SMTP to handle application/Scanner relays into office 365.

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question