• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Plesk qmail log rotation

M

Magumo

Guest
Good day,

My server qmail logs are set to rotate every three days and past three days I cant do any troubleshooting requiring log files.

How and where can I change the log rotation to say monthly for a qmail server running 8.2.1?
 
Hi,

Actually, log rotation is performed at the end of statistics utility execution; by default it is configured on daily-basis.

Settings for maillog roration store in /usr/local/psa/etc/logrotate.conf on the server;
/usr/local/psa/var/log/maillog.processed {
missingok
rotate 3
size 10M
compress
nocreate
}

size 10M - log file is archived as soon as it reaches 10 Mb
rotate 3 - means how many maillog archives are stored on the server
 
Thanks Satoriya,

My logrotate.conf was in /etc/psa/logrotate.conf, I have changed the config and am putting it to test over the next week.
 
Back
Top