Contacts and Alerts
How the server tells you about problems and events, covering the contact address and server watch, the Notifications list and bell, which events are mailed, the spam threshold, and forwarding root's mail.
The Contacts and Alerts section of the admin menu decides how intoPanel tells you what happens on the server. Alert Contacts sets where messages go and what the server watches. Notifications lists the events. System Mail Forwarding passes on the mail the operating system sends to root.
Alert Contacts#
In the admin area, open Contacts and Alerts → Alert Contacts (open). This card sets the contact address and what the server watches.
- Send notifications to: the address that gets the panel's messages. Use an address at another provider, so that messages still arrive when this server's own mail is the problem.
- Warn when a disk is this full (percent): 50 to 99. The default is 90.
Under Watching the server (all on by default):
- Start failed services again automatically: a service that has failed is started again.
- Tell me when a service failed.
- Tell me when a disk fills up: when a server disk passes the percentage above.
- Tell me when an automatic backup failed.
The watched services are Apache, MariaDB, BIND, Exim, Dovecot, SpamAssassin, Pure-FTPd, the firewall's LFD and every installed PHP-FPM version.
To set it up:
- Enter your address and adjust the percentage.
- Tick what you want to be told about. The "Also mail me when" list is explained in the next section.
- Click Save.
- Click Send a test message and check that it arrives, including in your spam folder.
Good to know: the server is checked every five minutes, and the same problem is reported at most once in six hours. Many other messages go to this same address too, such as account usage warnings, expiry notices, load warnings and sign-in attack notices. If no address is set, nothing is mailed. The Security Checkup then reports "Nobody receives the server's warnings".
Which events are mailed#
In the admin area, open Contacts and Alerts → Alert Contacts (open) and find Also mail me when. Besides the problems the server watch reports, intoPanel records these events:
- An account is created
- An account is deleted
- An account is suspended or unsuspended
- A subdomain or an additional (addon) domain is added
- Backups have been copied to the remote destination
- An account sends an unusual amount of mail (possible spam)
- Updates are available (intoPanel or system packages)
- Updates were installed, with the update log
Every event is always listed under Notifications and counted on the bell, whether or not it is mailed. A ticked box also sends it to the contact address. Untick a kind to stop the mail for it; it still appears in the list.
To mail only the events you care about:
- Untick the kinds you do not want by email, for example account creation on a busy reseller server.
- Click Save.
All kinds are mailed by default. If no contact address is set, nothing is mailed, but events are still recorded.
The spam threshold#
In the admin area, open Contacts and Alerts → Alert Contacts (open) and find Messages an hour from one account that count as possible spam. This sets when the "possible spam" notification is raised.
How it works:
- The panel reads the mail server's log and counts, for each hosting account, the messages it sent during the last hour.
- If the count reaches the threshold, a notification "Possible spam from account …" is recorded and, if that kind is ticked, mailed.
- An account that reaches its hourly sending limit, so that further messages are refused, also counts as possible spam, whatever the threshold.
- Each account is reported at most once in each six-hour period.
The default is 500 messages an hour. You can set 10 to 100,000. Choose a number well above what your busiest legitimate sender (a newsletter, for example) sends in an hour.
When you get the notification, look at the Mail Queue and the account's Mail Delivery Reports. To stop the mail at once, suspend the account or lower its hourly sending limit, either in its package or under Email in Server Preferences.
Notifications#
In the admin area, open Contacts and Alerts → Notifications (open), or click the bell in the top bar and then All notifications. This page lists what happened on the server, newest first. It covers accounts created, deleted or suspended, domains added, backups copied to the remote destination, possible spam, and updates.
- Each entry shows the time (UTC) and a title. Click it to read the details. For example, an "updates were installed" entry includes the update log, and a spam entry includes the counts and what to do.
- New entries are marked new. Opening this page marks them all as read, so the bell count drops. They still show as new while you are on the page.
- To see one kind only, choose it under Show and click Show.
- Remove all notifications deletes the whole list. This cannot be undone.
The newest 300 notifications are kept; older ones are dropped automatically.
The notifications bell#
In the admin area, the bell in the top bar shows how many things need your attention. The number counts unread notifications plus these alerts:
- New version available: a newer intoPanel is ready to install. Click it to open Update intoPanel.
- Server needs a reboot: installed updates take effect only after a reboot. Click it to open Restart the Server Safely.
Click the bell to open its list. It shows these alerts and up to six of the newest unread notifications, each with its time in UTC. Click an entry to open it on the Notifications page. All notifications opens the full list. When there is nothing to show, the list reads "Nothing needs your attention."
The two alerts stay on the bell until their cause is gone, that is until you upgrade the panel or restart the server. Notifications leave the count once you have opened the Notifications page.
System Mail Forwarding#
In the admin area, open Contacts and Alerts → System Mail Forwarding (open). The operating system and its programs send their messages about problems and routine activity to the root user. Examples are reports from scheduled system tasks and the firewall's LFD alerts. This page passes that mail on.
To forward root's mail:
- Under Forward mail for "root" to, enter one or more email addresses or users of this server, separated by commas. For example:
you@example.com, admin2@example.org. - Click Save.
Leave the field empty to keep root's mail in root's own mailbox on the server.
Good to know:
- At most 10 addresses can be entered. Each must be an email address or an existing user of this server.
- The setting is the
rootline in the server's mail aliases file (/etc/aliases). - The panel's own notices do not depend on this. They go to the address under Alert Contacts. Set both if you want everything in one inbox.
- LFD can send a lot of mail on a busy server. If it is too much, change the alert settings in Firewall → Settings under Alerts.
Something missing? Ask in the community or open a ticket.