Author Topic: What is the script that CWP uses to rotate the postfix mail log ?  (Read 385 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
I note that the Postfix mail log is 'rotated' on an intermittent basis - the file var/log/maillog is renamed to include a date based suffix and a new file var/log/maillog is created, but I want to be able to do this more frequently.

A Google search revealed that
Code: [Select]
# logrotate -f /etc/logrotate.d/syslog will reset the maillog (plus others), but I've found that the maillog is renamed maillog.1 and then deleted.

Does anyone know what script CWP uses to rotate the log ?

Offline
*
Re: What is the script that CWP uses to rotate the postfix mail log ?
« Reply #1 on: April 26, 2018, 08:07:49 AM »
it can only default in the logrotate, nothing other exist in cwp.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.