Start a conversation

Emails containing attached Microsoft Office documents are blocked as containing corrupt archives

Overview

MailEssentials may sometimes block and quarantine legitimate email messages that have Microsoft Office files as attachments (*.doc, *.docx, *.xls, *.xlsx, *.ppt, *.pptx) and report such email messages as having corrupt archives.

Solution

Anti-virus and backup software are known to cause MailEssentials to malfunction due to Operating System-level file contention and locks which prevent the email security filters from scanning the same files simultaneously. As a result, the decompression engine will report the inaccessible files as corrupt archives and move the associated emails to the quarantine.

The quarantined emails will be flagged as containing corrupt archives on the dashboard logs as well as on the quarantine web page as shown below.

Quarantine_email_blurred.png

MailEssentials can block and quarantines legitimate emails that have Microsoft Office (*.docx, *.xlsx, *.pptx) attachments as having corrupt archives due to the following reasons:

The attachments have unreleased Operating System file locks caused by Anti-virus or backup software

This behavior can be prevented by excluding the MailEssentials directories from being scanned by all Anti-Virus and Backup software, including Windows Defender that is part of the Windows Operating System.

This linked article on Recommended Antivirus and Backup Exclusions provides details on which directories must be excluded for different installation environments in order to ensure MailEssentials scanning proceeds uninterrupted.

The attachments are contained in a corrupt archive

If the problem persists despite configuring the exclusions described above, the likely reason is that the files are in fact contained in a corrupt archive therefore the workaround to ensure email delivery would be to exclude scanning of *.docx, *.xlsx, *.pptx, and any other file types being detected as corrupt archives by the Decompression Engine.

Follow the below steps to achieve this:

  1. Open the MailEssentials Configuration console and expand Content Filtering.
  2. Navigate to the Decompression Engine node.
  3. Click on the Scan within archives rule;
  4. Select Enable exclusion and add the respective file types being quarantined;

    Enable_exclusions.png
  5. Click Apply.
  6. Select Check corrupted archives and click Disable Selected.

    Check_corrupted_archives.png
Note: The above rule changes will take effect immediately without the need to restart services.
For the already quarantined items, check, and, release or delete as necessary as described in Managing Quarantined Emails.

Testing

Once the recommended exclusions have been configured on the Anti-Virus and/or Backup software, you can confirm that emails are now being delivered correctly by sending a test email containing a Microsoft Office attachment.

If the issue still persists, please generate the troubleshooting logs as follows:

  • Make sure that you have tracing enabled.
  • Wait for at least 30 minutes to gather enough information and for the issue to be reproduced.
  • Run the troubleshooter:
    1. Start > Programs > GFI MailEssentials > Troubleshooter
    2. Follow the Log Generation Wizard for collecting the required and pertinent information.
    3. Select New Case when completing the log generation to attach the logs to a new case that will be automatically created, or open a support ticket manually and attach the logs to that ticket, so that the Support team can investigate the problem.

Back to top

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments