• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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