• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.
Resource icon

Instruction Plesk Server Report – hourly security & mail health report (read-only bash script) 1.22.0

No permission to download
Firewall: what the kernel does, not what the Plesk Firewall has stored
The daily check for databases and the Plesk installer reachable from outside now reads the firewall rules the kernel actually applies. Not only the Plesk Firewall writes rules there – fail2ban, other security tools, scripts and commands by hand do too, and the Plesk Firewall knows nothing about them. The bans of fail2ban are left out, and when the Plesk Firewall's own rule says the opposite of the kernel, the report adds a note.

SSH logins checked against the account
Until now a successful SSH login only raised an alert when it came from an unknown IP. Now a login of an account that isn't meant for SSH is a critical alert of its own, also from a known IP: a system account, an account whose shell refuses logins (Plesk's "Forbidden" – a key still opens a tunnel without any shell), or a subscription user with a full shell you haven't allowed. Normal SFTP logins of chrooted subscriptions stay quiet.

Which nginx actually runs
Plesk ships fixes for its nginx in its own packages, often before nginx.org releases a new version – so the version number alone doesn't tell you much. The daily check now shows the nginx that runs for the websites and for the panel, with the package it comes from (Plesk's, the distribution's, or none at all) and its modules. A pending update of Plesk's nginx is a warning – the package manager never counted it as a security update – and so is an update that was installed while the old program keeps running.

As always: read only, nothing on the server is changed. Update with the built-in self-update.
Three new daily checks, two of them suggested here in the forum:

  • Reachable from outside: whether MySQL/MariaDB and PostgreSQL listen only locally or on public addresses – the port is taken from the running process, not assumed – and what the Plesk Firewall allows for them and for the Plesk installer (8447). Only a database that is really reachable from the internet raises an alert.
  • SSH access of the Plesk system users: how many are chrooted, have a full shell or no SSH, and how many get only SFTP. A full shell raises a warning unless you allow it – and so does a keys file the account can change itself, e.g. because it lies in the web space.
  • PHP versions without security support: per domain, installed versions and service plans that still use them as default, with patch level and end of support.

And after a lot of changes in the last weeks – added one by one, not always in the right place – I cleaned up the reports. They are now ordered by theme: mail, access, web, system, each with its daily checks at the end, and the alerts at the top are grouped the same way. The 24-hour summary now also has fail2ban, failed panel logins and the newest daily checks, so it's enough on its own for a daily review.

If you read the reports with an AI prompt from an earlier version, or parse the text report with your own scripts, have a look at Updating to 1.21.0 in the README.

Update with:
Code:
plesk-server-report.sh --self-update

GitHub · Changelog
plesk-server-report 1.19.0 is out: Release v1.19.0 · cmelius/plesk-monitoring-server-Report

Fixed: false "DKIM MISSING"
A DNS lookup that timed out was taken as a missing record – the report showed "DKIM MISSING" for a domain whose key was in DNS. Such lookups are now retried; without an answer the domain is shown as "not rated", never as a finding or an alert.

Faster daily checks
The DNS checks now run several domains at a time: on a server with about 40 domains the daily checks went from about 4½ minutes to under 30 seconds. Every report now also shows its run time.

Forwarded mail
When Gmail & co. reject mail that Plesk forwards, the report no longer suspects your customers. It names the forwarding address, the target and the original sender, and raises its own alert when it piles up – forwarded spam still counts against your IP.

Update with plesk-server-report.sh --self-update.
plesk-server-report 1.18.0 is out:

Release v1.18.0 · cmelius/plesk-monitoring-server-Report

New: mail forwarding check
Forwarded spam leaves from your server and hurts your IP's reputation at Gmail & co. – for all customers. The report now lists every address forwarding to another provider and what its spam filter does with spam. Tested: deleted spam, or spam moved to the Spam folder with a copy kept, is not forwarded; spam that is only marked is. You get the exact plesk bin spamassassin command to fix it, plus the SpamAssassin size limit and the DNS blocklist for incoming mail.

Also
  • Plesk panel logins now show the user name (from Plesk's Action Log).
  • fail2ban bans of customer IPs name the login that caused them – e.g. an old phone still set up for a deleted mailbox.
  • Crashes of the Plesk panel (sw-cp-server, affected by nginx2root as well) are detected and rated critical.

Update with plesk-server-report.sh --self-update.
  • Crashing programs: web server and PHP workers that die from a crash (segfault & co.) raise an alert – attempts to exploit a memory bug make them crash, often long before anything else shows.
  • Rarely used kernel modules: once a day the report shows whether SCTP, DCCP, TIPC and RDS are loaded or could be loaded, with the one line to block them. The nginx2root attack used SCTP to become root.

As always: read-only, it changes nothing on the server. Update with the built-in self-update or from the releases page.
New
  • Who rejected the mail, and what to do: when remote servers reject your mail, the report now names the blocklist or provider behind it – Trend Micro, Spamhaus, Cloudmark, Proofpoint, Barracuda, SpamCop, Microsoft 365, Outlook.com, Gmail, Yahoo/AOL, Apple iCloud, GMX/WEB.DE/IONOS, T-Online – and where to check and delist the server's IP. For Trend Micro, Spamhaus, Proofpoint and Cloudmark the link already carries the IP: one click shows the result.
  • Found with a real case: a customer's mail to a public authority was rejected by Trend Micro, which had the server's IP on its Dial-up User List. No public blocklist showed it, the mail never sat in the queue, and the bounce went to the customer. A short delisting request fixed it the same day.
  • Previous versions kept safely: the self-update now keeps the last versions of the script (5 by default, adjustable) next to the script instead of in the state folder – so deleting the state no longer takes away the way back. A rollback can now also go to a specific version.
  • The report of the very first run is kept outside the state folder as well and is never replaced.
  • Missing cron job: if no cron job runs the script – or one still points to an old location after moving it – the report says so and shows the line to add.
  • Documentation: a clearer table of contents with the example report, uninstall step by step, and how to switch an existing installation to "everything in one folder".

Fixed
  • After a self-update, a new state folder could be refused on the next run.
  • Found on Rocky Linux 9: the EFI variable store is no longer counted as a full disk, the number of all pending updates is shown (not only security updates), "reboot required" also after updates of core libraries, and fail2ban jails without bans are listed.
  • A failed rc.local service is explained once instead of twice.

Help wanted: if your mail log contains rejections by providers the report doesn't know yet, I'd be glad to get them – the README explains how to collect and anonymise them.

Thanks to everyone who reported and discussed issues on GitHub – the feedback made these changes much better.

Download, changelog and documentation: GitHub release 1.16.0
New
  • Everything in one folder: script, configuration and state can now live together in one folder of their own, so the whole installation can be removed at once. A new installation outside the usual system folders creates its configuration file next to the script on the first run – every setting with its default, commented out, readable only by root. The usual layout keeps working as before; existing installations don't change.
  • First report kept: the report of the very first run – which lists everything as it was found – is kept for reference.
  • Safer state folder: the script refuses a state folder that holds other files, so its files never end up among them.
  • rc.local check: once a day the report says whether the deprecated rc.local is still in use – no current distribution needs it. With commands in it you get a warning and a guide to move them to a systemd unit.
  • A setting to silence failed systemd units you know are harmless (they stay listed).

Fixed (found by running it on a desktop with Ubuntu 26.04)
  • No false reverse-DNS alert for servers behind NAT.
  • fail2ban: "not installed" and "not running" are now told apart – and a stopped fail2ban is reported, which it wasn't before.
  • Servers that listen only on localhost no longer get "ports could not be read".

Thanks to everyone who reported and discussed issues on GitHub – the feedback made these changes much better.

Download, changelog and documentation: GitHub release 1.15.0
New
  • JSON report (setting JSON_REPORT=1, off by default): next to every text report the script can now write a machine-readable copy of the same run. It holds the status, every alert with the check that raised it and whether it is new in the last 24 hours, the notes, a few figures for graphs (load, RAM, disk, mail, web) and the text of each check line by line. The newest one is also kept as latest.json, on the server and in the upload.
  • The option --json writes it for a single run.
  • With mailbox pseudonymisation switched on, the uploaded JSON is pseudonymised like the text.

Unchanged
The text reports, the daily summary and the mails stay exactly the same, with or without the setting. A test checks that the text report is identical byte for byte.

Why JSON?
It was built for a possible Plesk extension: a dashboard page in the panel showing the reports at a glance. This extension is only planned, there is no date yet. Until then, the JSON lets anyone build their own automated evaluation, graphs or alerting without parsing the text.
Please note: while the extension is being developed, the JSON format may still change. If you build something on it, check the changelog before updating.

Update
From 1.12.0 on, the built-in self-update option does it, otherwise download the new version from the GitHub release. Format and fields are described in the README (section "JSON report"), all changes are in the CHANGELOG.
New checks come out every few days, most of them from findings on a real server. From now on, updating is one command:

  • --self-update downloads the newest 1.x release, tests it without running it, shows the changes and asks. The previous version is kept; --rollback brings it back. Only by hand, never from cron.
  • Blocklists are asked through the server's own resolver – Spamhaus and URIBL refuse the hosting provider's DNS.
  • Deferred mails are counted as mails, not only as delivery attempts.
  • An installed security update leaves the report with the next run.

Full release notes and download on GitHub.
Plesk rejects mail for a full mailbox without telling the admin. The report now names the mailbox in the same hour, warns at 95 % and also measures mailboxes without a size limit.

  • Full mailboxes raise an alert in every run, with the number of rejected delivery attempts.
  • Fill level of every mailbox once a day – the limit is taken from the mailbox or its subscription.
  • Mailboxes without a limit: largest one and total, warning above 5 GB.
  • Blocklists: "clean" only if the list really answers your server; URIBL added for your domains.
  • Tests with anonymized logs of a real server run on every change.

Full release notes and download on GitHub.
Back
Top