• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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