mail.log is cut
I've made a perl script to analyse mail.log* and I see that ispconfig cut the mail log every night.
The ispconfig script is /root/ispconfig/scripts/shell/mail_logs.php (ispconfig 2.1.1 on debian sarge).
59 $fp = fopen($dist_mail_log, "w");
60 fwrite($fp, "");
I read this script and I understand that a copy of the mail log may be created in $dist_mail_log.ispconfigsave (cat $dist_mail_log >> $dist_mail_log.ispconfigsave)
but I don't see any *.ispconfigsave exept for /var/log/xferlog.ispconfigsave.
What can I do to keep mail.log intact for a future analysis ?