Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 9th January 2008, 20:05
jorizzzz jorizzzz is offline
Member
 
Join Date: May 2007
Location: Soest, Netherlands
Posts: 81
Thanks: 1
Thanked 4 Times in 2 Posts
Send a message via MSN to jorizzzz
Default IMAP(-SSL) problems!

I've got big problems with IMAP on both of my servers. I get often a message from my customers that the IMAP server could not be reached...

I have tried it myself and at first everything worked perfectly, but after a while i also got the error message that the server could not be contacted. It is definitely a software problem, because i've got two servers on two different locations that show the exact same problem.

I can't seem to find anything in the log files.. Better said, i can't seem to find any log files generated by courier?!

Could somebody please help me?
Reply With Quote
Sponsored Links
  #2  
Old 10th January 2008, 16:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Are there any errors in your mail log? Do you use something like Denyhosts, Blockhosts, or fail2ban? If so, maybe you've locked yourself out because you were trying a wrong password too often.
__________________
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 12th January 2008, 00:27
tensor tensor is offline
Member
 
Join Date: Jul 2007
Posts: 51
Thanks: 11
Thanked 9 Times in 6 Posts
Default

You may try "grep courier /var/log/mail.log". /var/log/mail.log is a default log file in Debian. In your distro it may be different.
Reply With Quote
  #4  
Old 12th January 2008, 09:30
jorizzzz jorizzzz is offline
Member
 
Join Date: May 2007
Location: Soest, Netherlands
Posts: 81
Thanks: 1
Thanked 4 Times in 2 Posts
Send a message via MSN to jorizzzz
Default

I've looked at the log files again. And it seems that courier is logging in mail.info, mail.log and syslog..

Couldn't find anything intereseting though, only a whole bunch of login's and logout's.

I did find a small section with 7 or 8 times this line:
imapd-ssl: couriertls: read: Connection reset by peer

But that was all in the same second and i can't find it anywhere else in the log files.

This really is a strange problem. It works, but after a while it suddenly stops working. And a while later it works again. All this without writing anything to the log files.

Is there a way to enable debugging for courier and send those lines to a different log file?
Reply With Quote
  #5  
Old 12th January 2008, 17:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

Are there any errors in the other logs, e.g. syslog?
__________________
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
  #6  
Old 12th January 2008, 19:19
jorizzzz jorizzzz is offline
Member
 
Join Date: May 2007
Location: Soest, Netherlands
Posts: 81
Thanks: 1
Thanked 4 Times in 2 Posts
Send a message via MSN to jorizzzz
Default

Quote:
Originally Posted by falko
Are there any errors in the other logs, e.g. syslog?
Nothing relative to this...

What i did notice is that all the information from mail.info and mail.err also appears in syslog. How can i change this? I only want important things in syslog, not a log that some user has logged in to courier to check his mail. That can go in mail.info

Also another little thing, I often get the message from my system that some user is almost over his quota. Is there any way to disable this? I only want to know this if someone is over his quota...
Reply With Quote
  #7  
Old 13th January 2008, 12:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
 
Default

Quote:
Originally Posted by jorizzzz
What i did notice is that all the information from mail.info and mail.err also appears in syslog. How can i change this? I only want important things in syslog, not a log that some user has logged in to courier to check his mail. That can go in mail.info
Take a look at
Code:
man 5 syslog.conf
Quote:
Originally Posted by jorizzzz
Also another little thing, I often get the message from my system that some user is almost over his quota. Is there any way to disable this? I only want to know this if someone is over his quota...
You must set the $threshold value in /root/ispconfig/scripts/shell/quota_msg.php to 1.
__________________
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
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
mail problems with imap Compadre Installation/Configuration 2 6th March 2008 10:54
SSL for virtual hosts on one certificate rbartz Tips/Tricks/Mods 8 20th November 2007 17:59
Upgrade from 2.2.0 to 2.2.1 successful but SSL and IMAP stopped working teleriddler Installation/Configuration 8 29th April 2006 14:25
Courier IMAP & POP without SSL work, but not with SSL. Traxus Installation/Configuration 15 4th April 2006 18:50
REAL SSL Cert install problems theduke Installation/Configuration 5 4th October 2005 22:06


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


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