This is probably a no-brainer but I'm stumped. It seems the logrotate for psa is not working, and I'm not sure how it's supposed to be fired.
The evidence is a maillog in /usr/local/psa/var/log/ that is growing huge since October. The settings that should rotate this log are here: /usr/local/psa/etc/logrotate.conf
However, can't seem to get it to fire. Is it supposed to be cron'd? cron.daily? The logrotate in cron.daily looks like this:/usr/local/psa/var/log/maillog.processed {
missingok
rotate 3
size 10M
compress
nocreate
}
So it's not pointing at the PSA logrotate. Should I just change it? Add it? Sorry if this is brain dead, I can't seem to find the right info on Plesk or google.#!/bin/sh
/usr/sbin/logrotate /etc/logrotate.conf
EXITVALUE=$?
if [ $EXITVALUE != 0 ]; then
/usr/bin/logger -t logrotate "ALERT exited abnormally with [$EXITVALUE]"
fi
exit 0