F
FulvioC
Guest
Hi, I have a plesk panel 8.3 installed with Qmail and spamassassin.
I would like to keep mail logs for at least 2 months, but I can't find anything to configure in web interface neither via shell.
The only way I found is to reconfigure syslog to log mail.* into a different file ( and not into the default one /usr/local/psa/var/log/maillog) and then rotate it via logrotate.
Another way is to run a custom shell script via cron, that copy the maillog into another place and then elaborate it..
But i like to keep an "official" way.
Is there a configuration that allows me to specify how many logs and how many time the system has to keep them?
thanks in advance,
k.
I would like to keep mail logs for at least 2 months, but I can't find anything to configure in web interface neither via shell.
The only way I found is to reconfigure syslog to log mail.* into a different file ( and not into the default one /usr/local/psa/var/log/maillog) and then rotate it via logrotate.
Another way is to run a custom shell script via cron, that copy the maillog into another place and then elaborate it..
But i like to keep an "official" way.
Is there a configuration that allows me to specify how many logs and how many time the system has to keep them?
thanks in advance,
k.