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

# sk147672 - Outgoing mail is not working when SMTP inspection is enabled for Anti-Spam, and disabled for DLP

| Property | Value |
|----------|-------|
| Solution ID | sk147672 |
| Date Created | 2019-03-03 |
| Last Modified | 2020-04-27 |
| Technical Level | Advanced |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |
| OS | Gaia |

## Symptoms

- * Outgoing mail is not working when SMTP inspection is enabled for Anti-Spam, and disabled for DLP.

* Running emaild debug (fw_debug in.emaild.smtp on), in.emaild.smtp has lock_producers_hash twice without unlocking, for example:  

  **lock_producers_hash** `: kiss_stat_server.c:1318`  
  `
  kiss_stat_server_connection_handler: Producer dlp doesn't exist`  
  `
  fwasync_do_mux_in: 23: rc=-1, next: 2a9cf0 with 1, req: 0r, 0w`  
  `
  fwasync_do_mux_in: 23: handler returned with error`  
  `
  fwasync_end_conn: scheduling the end of connection 23`  
  `
  T_event_do_del: marking for deletion socket/type: 23/0 `  
  `
  T_event_do_del: marking for deletion socket/type: 23/1 `  
  `
  T_event_do_del: marking for deletion socket/type: 23/2 `  
  `
  fwasync_do_end_conn: closing connection 23 (conn=af1a528)`  
  `
  kiss_stat_server_end_handler: connection 23, state 1`  
  `
  fwasync_do_end_conn: 23: calling 0x2a9880 to free opaque 0xac1bf60`  
  `
  `**lock_producers_hash** `: kiss_stat_server.c:1072.`  

* No packet drops can be found when running kernel debud with:  

  `#fw ctl zdebug + drop | grep ":25"`

* Telnet to port 25 is stuck, for example: working telnet  

  `
  server@admin:~$ telnet 192.168.152.202 25`  
  `
  Trying 192.168.152.202...`  
  `
  Connected to 192.168.152.202.`  
  `
  Escape character is '^]'.`

  <br />

  For non-working telnet  
  `
  server@admin:~$ telnet 192.168.152.202 25`  
  `
  Trying 192.168.152.202....`

  <br />

## Cause

The issue happens due to unreleased "lock-in" in.emaild.smtp process.

## 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
