L
lluis
Guest
Hi,
I want to add a prerotate entry to logrotate config for qmail maillog, but I can't find the correct file.
I looked at
/usr/local/psa/etc/logrotate.d
/usr/local/psa/etc/logrotate.conf*
/etc/logrotate.d/
but I can't find entries for /usr/local/psa/var/log/maillog file
at /usr/local/psa/etc/logrotate.conf.in I found this entry:
@@PRODUCT_ROOT_D@@/var/log/maillog.processed {
missingok
rotate 3
size 10M
compress
nocreate
}
but it seems only for .processed
where can I add a prerotate option for /usr/local/psa/var/log/maillog file?
thanks in advance
I want to add a prerotate entry to logrotate config for qmail maillog, but I can't find the correct file.
I looked at
/usr/local/psa/etc/logrotate.d
/usr/local/psa/etc/logrotate.conf*
/etc/logrotate.d/
but I can't find entries for /usr/local/psa/var/log/maillog file
at /usr/local/psa/etc/logrotate.conf.in I found this entry:
@@PRODUCT_ROOT_D@@/var/log/maillog.processed {
missingok
rotate 3
size 10M
compress
nocreate
}
but it seems only for .processed
where can I add a prerotate option for /usr/local/psa/var/log/maillog file?
thanks in advance