#1  
Old 24th November 2006, 21:55
rojozak rojozak is offline
Junior Member
 
Join Date: Oct 2006
Posts: 14
Thanks: 0
Thanked 2 Times in 1 Post
Exclamation No mail logs from Postfix

Hi Everyone,

I've got a 'stange' problem with my mail logging....it stopped. My mail.log, mail.err, mail.info, mail.warn are all empty. There are old logs (.0, .gz) that end about a month or so ago (each different), but nothing is logging.

I have ISPConfig w/ Ubuntu Dapper Drake (perfect setup) and Postfix. Mail works (mostly..another issue), but no logging. Any clues?

I verified email logging in ISPConfig setup as /var/log/mail.log and have tried changing the name and restarting both ispconfig and postfix after to log an event but nothing.

Here's my crontab:

Code:
root@mail:/var/log# crontab -l                                                                                   30 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/ftp_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/mail_logs.php &> /dev/null
59 23 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/cleanup.php &> /dev/null
0 4 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/webalizer.php &> /dev/null
0,30 * * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/check_services.php &> /dev/null
15 3,15 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/quota_msg.php &> /dev/null
40 00 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/traffic.php &> /dev/null
05 02 * * * /root/ispconfig/php/php /root/ispconfig/scripts/shell/backup.php &> /dev/null
0 * * * * /etc/webmin/bandwidth/rotate.pl
Any ideas? Thanks.
Reply With Quote
Sponsored Links
  #2  
Old 25th November 2006, 14:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

What's the output of
Code:
df -h
? Maybe one of your partitions is full.
__________________
Falko
--
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
  #3  
Old 25th November 2006, 15:25
rojozak rojozak is offline
Junior Member
 
Join Date: Oct 2006
Posts: 14
Thanks: 0
Thanked 2 Times in 1 Post
Default

Hi Falko...thanks for the reply.

It looks like there's plenty of room.

Code:
root@mail:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sdb1              32G  2.5G   28G   9% /
varrun                126M  132K  126M   1% /var/run
varlock               126M  4.0K  126M   1% /var/lock
udev                  126M   60K  126M   1% /dev
devshm                126M     0  126M   0% /dev/shm
lrm                   126M   19M  107M  15% /lib/modules/2.6.15-27-386/volatile
What's the process that controls these logs? The only system change that I can think of that I have made was the changing of the hostname, if that may affect it?
Reply With Quote
  #4  
Old 26th November 2006, 15:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Looks ok. What's the output of
Code:
ls -la /var/log
? Are there any error messages in your logs?
__________________
Falko
--
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
  #5  
Old 28th November 2006, 17:08
rojozak rojozak is offline
Junior Member
 
Join Date: Oct 2006
Posts: 14
Thanks: 0
Thanked 2 Times in 1 Post
 
Default

Falko, thanks once again for your help. It appears I've solved the issue. I found that the logs just seemed to stop everyday at about 8 am. This is the sametime the bandwidth monitor of webmin runs it's rotate (see the crontab above). I shut down the bandwidth monitoring and it's all been running ok since.

Now I get to deal with the errors that I didn't see before because of the lack of logging. Among them is a postfix/cleanup warning that the virtualusertable.db is older than the source. So, I'll be digging into that one now....I may be back for more advice!

Thanks...
Reply With Quote
Reply

Bookmarks

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
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 08:27
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47
Verify email setup meekish Installation/Configuration 28 27th October 2006 15:36
Core 4: Error Messages on Fresh Install re CTX/SSL jjw Installation/Configuration 30 6th September 2006 12:16
Postfix mail is held in queue indefinitely... squallbsr Server Operation 9 15th January 2006 19:13


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


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