Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


URLScan Installed and Now E-Mail Attachments are Blocked?

Posted on 2005-03-26
Medium Priority
Last Modified: 2012-06-27
I'm trying to e-mail a .zip attachment, and I am receiving the response from my Exchange 2003 server listed below. The only thing I have changed recently is I installed URLScan. I'm pretty sure I have it configured correctly for OWA, and even if I didn't I don't think that would be causing SMTP actions like this would it? Nothing about this problem is logged in the urlscan logs either. I've never had a problem with sending .zip files before.

Your message did not reach some or all of the intended recipients.

 Subject:      ********
Sent:      3/26/2005 1:05 PM

The following recipient(s) could not be reached:

  ********@gmail.com on 3/26/2005 1:06 PM
  The recipient could not be processed because it would violate the security policy in force
  <mydomain.com #5.7.0 smtp;552 5.7.0 Illegal Attachment>

Also, this is logged in the Event Log:

Event Type:      Error
Event Source:      MSExchangeTransport
Event Category:      NDR
Event ID:      3030
A non-delivery report with a status code of 5.7.0 was generated for recipient rfc822;*******@gmail.com (Message-ID <E18DF4A94205CE40B10250A34F5280462921@mydomain.com>).
Question by:Grime121
  • 2
LVL 21

Expert Comment

ID: 13637293
This actually looks like its gmail's fault.  Exchange doesn't have native attachment filtering capability and I know gmail filters zip files that contain exe's.  So, if you're sending a zip with an exe inside (or other types like vbs) I believe gmail will reject it.  If this rejection is taking plae before the SMTP conversation finishes, then it would be Exchange's responsibility to NDR the message.  That would explain why it appears to be an Exchange NDR.  Try password protecting the zip file.

Oh, and you are correct.  URLScan would not have an impact on this type of issue.  And if you wanted to prove further that is gmail you could look at the SMTP protocol log, or run a network sniffer while the message is trying to be sent.

Author Comment

ID: 13637439
Ok, that makes sense. Why do you suppose it was logged in the exchange server's event logs though?
LVL 21

Accepted Solution

marc_nivens earned 2000 total points
ID: 13637460
The RFC states that a server is not responsible for the NDR until the message is accepted for delivery.  If gmail detected that there was an executable inside the zip before the message was accepted (during the SMTP conversation) and it kicked back the 5.7.0 error without taking the message, then the Exchange server would be responsible for delivering it and that would also have caused it to log the event.

Expert Comment

ID: 14972633
I know this will not solve the Exchange problem but if anyone wants to send an .exe file over Gmail, heres how:  zip the .exe, rar the resulting .zip, now zip the .rar and rename it to .doc

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Question has a verified solution.

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

In this post, I will showcase the steps for how to create groups in Office 365. Office 365 groups allow for ease of flexibility and collaboration between staff members.
This article will help to fix the below errors for MS Exchange Server 2016 I. Certificate error "name on the security certificate is invalid or does not match the name of the site" II. Out of Office not working III. Make Internal URLs and Externa…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses

581 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