mail.log is cut

Discussion in 'Installation/Configuration' started by arnaud, Jul 5, 2006.

  1. arnaud

    arnaud New Member

    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 ?
  2. falko

    falko Super Moderator ISPConfig Developer

Share This Page