Watch a mail server¶
A mail server can stop taking mail while its website still works. This guide watches the ports your mail clients and other mail servers use, and checks that the service on each one says what a mail server should.
Before you start¶
You need the mail server's name, such as mail.example.com, to be an Owner or Admin of the account, and a plan with
port monitors (Plus and up; what each plan includes). If a firewall
in front of the server lets only some addresses in, allow our checks on the ports
you watch.
Choose the ports¶
One monitor watches one port, so add one monitor per port. The usual ones:
| Port | What it is for | Greeting |
|---|---|---|
| 993 | IMAP over TLS: mail clients reading mail | Mail server (IMAP) |
| 587 | SMTP: mail clients sending mail | Mail server (SMTP) |
| 25 | SMTP: other mail servers delivering mail to yours | Mail server (SMTP) |
| 465 | SMTP over TLS: sending mail, on servers that use it | Mail server (SMTP) |
| 995 | POP3 over TLS: mail clients that download mail | Mail server (POP3) |
You can watch at most 5 ports of one server. Every port we check: ports we check.
Steps¶
- Open Monitors in the side menu and click Add a monitor.
- Under Monitor type, choose Port.
- Under The port, type the Server address, such as
mail.example.com, withouthttps://or a port. - Type the Port, such as
993. The Greeting fills in by itself: Mail server (IMAP) for 993. - Optional: give it a Name, such as "Mail, IMAP". Without one, the list shows
mail.example.com:993. - Open Advanced settings and, under Server, type the server's name the same way on each of its monitors, such
as
mail-01(about Server). - Click Add monitor, then do the same for each other port.
What you get¶
- Up while the port accepts the connection and the service's first line starts as a mail server's should:
220for SMTP,* OKfor IMAP,+OKfor POP3 (greetings). - Down, with an email, once a second place agrees that the port is closed, does not answer, or answers with something else, such as Answers, but not as a mail server should: 421 ... from a busy server.
- On 993, 995 and 465, which speak TLS from the first byte, the service's certificate is checked too: an expired one is SSL certificate problem.
- When several of the server's ports go down together, one email lists them, since they share a Server (one email for several monitors of one server).
We only read the first line: we never sign in, send mail or type a command.
If something is wrong¶
The port's result says what happened: my port monitor is down but the service works.