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

# sk117634 - MTA and/or TEX and/or TE gateway is not able to upload files for extraction/emulation or parse any e-mails

| Property | Value |
|----------|-------|
| Solution ID | sk117634 |
| Date Created | 2017-05-29 |
| Last Modified | 2020-02-16 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * MTA and/or TEX and/or TE gateway is not able to upload files for extraction/emulation or parse any e-mails.

* There is a huge number of temporary files in these folders on Security Gateway:

  * *$FWDIR/tmp/email_tmp/*
  * */tmp/scrub/*
  * *$FWDIR/tmp/*
  * *$FWDIR/tmp/dlp*
* SandBlast Agent is used in the environment, and the *$FWDIR/tmp/dlp/* folder on Security Gateway is filled with files / folders named `{XXXX-XXXX-XXXX-XXXX}`

* TE emulation failures may cause "threat scan failed" error logs in Smart Console.

## Cause

There is a Python script on Security Gateway that runs periodically and is responsible for removing old temporary files that were not cleaned by the regular e-mail flow. However, in case the list of temporary files is getting too long until the next call to this script, it would fail to delete them, and the list of files would get bigger over time.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# 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
