SMTP Server Monitor
The SMTP monitor in updu allows you to test connections to an email server. It establishes a TCP connection to the host/port and verifies that the server responds with a standard SMTP `220` success code indicating readiness.
Configuration Options
When setting up an SMTP monitor, you can configure the following options:
Basic Settings
- Name: A descriptive name for your monitor.
- Group: Optional group assignment for organizing monitors.
- Interval (seconds): How frequently updu should perform the check.
- Timeout (seconds): The maximum time updu will wait for a response reading before considering the check failed.
SMTP Specific Settings
- Hostname: The IP address or domain name of the email server (e.g.,
smtp.gmail.com). - Port: The port the email server is listening on. Standard ports are
25(unencrypted),465(SMTPs), or587(STARTTLS). - Require TLS: (Optional) Check this box if the server requires an initial TLS handshake (like port 465). This determines how updu builds the initial connection dialing.
Example Use Cases
- Mail Relay Availability: Monitor your self-hosted Postfix or external email gateway to catch server hangs or firewall drops preventing email.