Hello 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). lines : 59 $fp = fopen($dist_mail_log, "w"); 60 fwrite($fp, ""); 61 fclose($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 ?
You can enable this under Management -> Server -> Settings -> Email ("Save Log"): http://www.ispconfig.org/downloads/manual_en/manual_admin_en_src.htm#2_2_1