• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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