Integration: Email (SMTP)

Alerts by Mail, Always Encrypted

Your own mail server or Gmail sends the alerts: a machine offline, its picture lost, its login rejected, a server's critical fault, a backup not made, and back to normal. The connection is always encrypted, and up to ten addresses are told.

How the Mail Goes

Encrypted, or not sent

STARTTLS on port 587 or TLS on 465, no other port, with the server's certificate checked. A server that offers no STARTTLS on 587 is sent nothing.

Gmail by app password

smtp.gmail.com, 587, your address as the user name, and an app password, never the password of the account.

Up to ten people

One destination mails up to ten addresses. Another destination can tell other people of other machines.

One mail for a dead switch

Machines that drop together are one mail that lists them, not an inbox full.

Set It Up

  1. The serverYour own on 587 or 465, or smtp.gmail.com on 587.
  2. For GmailGoogle Account, Security, App passwords: make one for the wall.
  3. In qKVMSettings, Alerts, Add destination, Email (SMTP): the server, its port, the login and up to ten addresses.
  4. Send testThe server's own words, such as 535 5.7.8 Username and Password not accepted, with the password taken out.

Good to Know

The password
Kept exactly as typed, blanks at its ends too. One of fewer than four characters is refused: it could not be told apart from the server's own words when taken out of them.
Delivered
The server's yes to the end of the message is the delivery. A line lost after it is no failure, and the mail is not sent twice.
Some refused
A server that takes the mail for some addresses and refuses the others is not tried again. The delivery log says which were refused, in the server's words.
No headers added
A machine's name with a line break in it cannot add a header to a mail.
Firewall
Alerts go through no proxy. Let the wall reach the mail server on 587 or 465, or send to a mail relay on your own network with May be a private address ticked.