Old 5th July 2006, 11:43
arnaud arnaud is offline
Join Date: May 2006
Posts: 40
Thanks: 0
Thanked 1 Time in 1 Post
Default 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).
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 ?
Reply With Quote
Sponsored Links
Old 6th July 2006, 12:58
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts

Originally Posted by arnaud
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/m..._src.htm#2_2_1
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
mail.log : admispconfig@localhost what is that? lyndros Installation/Configuration 1 29th June 2006 14:07
everything fine - except smtp isp99 Installation/Configuration 11 15th June 2006 17:11
Postfix cant receive (ubuntu) enriquecm Installation/Configuration 17 11th May 2006 00:40
saslauthd problem ... tmwtp Server Operation 11 16th October 2005 17:50
Empty messages jysse Installation/Configuration 5 15th August 2005 10:33

All times are GMT +2. The time now is 08:49.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.