> Source: [sk183896](https://support.checkpoint.com/results/sk/sk183896)

# sk183896 - Threat Extraction -via MTA fails with error: "554 Permanent scan failure"

| Property | Value |
|----------|-------|
| Solution ID | sk183896 |
| Date Created | 2025-09-03 |
| Last Modified | 2025-09-18 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20, R81.10 (EOS) |

## Symptoms

- Threat Extraction fails with error: "*554 Permanent scan failure* " when trying to process an email with an attachment via MTA. The error appears in the */var/log/maillog* file.

## Cause

Threat Extraction attempts to replace an original attachment with a sanitized version. The file name conversion process fails because the attachment file name exceeds a certain length.  
As a result, the MTA cannot deliver the email, and the email bounces with the `554 Permanent scan failure` error.

## Solution

[Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for this issue.

A Support Engineer will make sure the Hotfix is compatible with your environment before providing it.  
For faster resolution and verification, collect these files:

1. [CPinfo](https://support.checkpoint.com/results/sk/sk92739) file from the Management Server involved in the case.
2. [CPinfo](https://support.checkpoint.com/results/sk/sk92739) file from the Security Gateway / each Cluster Member / Security Group involved in the case.

**Hotfix installation instructions:**   
Refer to [sk168597 - How to install a Hotfix](https://support.checkpoint.com/results/sk/sk168597).  

<br />

As a workaround, rename the attachment to a shorter file name.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
