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

# sk39015 - How do I view the current Mail queue using the cpstat command?

| Property | Value |
|----------|-------|
| Solution ID | sk39015 |
| Date Created | 2009-04-14 |
| Last Modified | 2009-04-14 |
| Technical Level | General |
| Products | Security Gateway |
| Versions | R82.10, R82, R81.20 |

## Solution

To display the SMTP Security Server statistics, use{#SPAN9916416}

ipso\[admin\]# **cpstat fw -f smtp**{#SPAN9916416}

The mail queue is a combination of incoming current messages and outgoing current messages.{#SPAN9916416}

smtp - mail curr: Current number of mail messages  

smtp - outgoing mail curr:Current number of outgoing mail messages

Description of values for the output of the command 'cpstat fw -f smtp'

<br />

{#SPAN9916416}

```

smtp - pid: Process ID for the SMTP daemon in the $FSDIR/tmp/ directory
smtp - proto: Protocol used in the smtp connection (TCP) 
smtp - port:High port used for the smtp connection
smtp - logical port:Port 25 used for smtp 
smtp - max avail socket:Total numbers of sockets available
smtp - socket in use max: Maximum number of sockets in use 
smtp - socket in use current: Current socket in use when the command is run (snapshot)
smtp - socket in use count: Current number of sockets in use
smtp - session max: Maximum concurrent number of sessions 
smtp - session current: Current number of smtp sessions
smtp - session count: Total session count
smtp - accepted session:Total number of accepted sessions 
smtp - rejected session:Total number of rejected sessions
smtp - mail max:Maximum concurrent number of mail messages
smtp - mail curr: Current number of mail messages
smtp - mail count:Total number of mail messages 
smtp - outgoing mail max: Maximum concurrent number of outgoing mail messages 
smtp - outgoing mail curr Current number of outgoing mail messages 
smtp - outgoing mail count: Total number of outgoing mail messages 
smtp - max mail on conn:Maximum mail messages per connection
smtp - total mails :Total number of mail messages
smtp - time stamp:Current time stamp on mail messages
smtp - is alive:Is the smtp daemon alive
```

<br />

<br />

---

# 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
