The SMTP monitor connects to a mail server and verifies it's accepting connections and ready to receive email.
🎯 功能说明
- Connects to the SMTP port and reads the banner
- Sends an
EHLO command
- Detects STARTTLS support
- Identifies supported authentication mechanisms
- Optionally sends custom commands and checks responses
⚙️ 配置
| 设置 | 描述 | 默认值 |
|---|
| Name | Friendly name | — |
| Host | Mail server hostname or IP | — |
| Port | SMTP port | 587 |
| Send Data | Custom command after banner | (optional) |
| Expect Data | Expected string in response | (optional) |
Common Ports
| 端口 | 协议 | 用例 |
|---|
25 | SMTP | Server-to-server mail delivery |
465 | SMTPS | SMTP over implicit SSL |
587 | Submission | Client mail submission (recommended) |
📖 使用示例
Example 1: Basic SMTP check
| 设置 | 值 |
|---|
| Name | Mail Server |
| Address | mail.example.com |
| Port | 587 |
Example 2: Check for STARTTLS support
| 设置 | 值 |
|---|
| Name | Mail STARTTLS |
| Address | mail.example.com |
| Port | 587 |
| Expect Data | STARTTLS |
💡 技巧
- Monitor both port 25 (if you receive mail) and port 587 (if you send mail).
- Combine with the Blacklist monitor for complete email health.