Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-18-2007, 06:06 AM   #1
LQ Newbie
Registered: Dec 2007
Posts: 4

Rep: Reputation: 0
UW-IMAP server disconnects. Problems with Outlook and IMAP

Hi All!

A week ago I moved from RH7.3 to openSUSE 10.2
All users files and INBOXES have been copied to new server with the same permissions.

The two differences are:
- I compiled IMAP with different then default mail directory. Everything rest stayed default.
- on new server I use IMAP with SSL – self-signed certificates.

Users are connecting to IMAP with MS Outlook 2003. Some of them (not everyone) are getting error message in outlook while checking mail:
"...your imap server has closed connection" or other errors saying - can't connect to imap server - even if 10 minutes before everything worked fine.
Thunderbird sometimes has also problems with connecting to IMAP server too.

Sometimes in Outlook 2003 I also receive and error:
Task ‘Greg: Folder:Inbox Check for new mail.’ Reported error (0x800CCC0E) :
‘Outlook is unable to download folder Inbox from the IMAP e-mail server for account Greg. Error: Unable to connect to the server. If you continue to receive this message, contact your server administrator or Internet service provider (ISP).’

I run imap and imaps with xinetd and SSL.
Mail logs look fine. I really can’t find the right path how to fix it!

My configuration:

UW IMAP-2006k - used with SSL
I use Postfix as MTA

Outlook 2003 - configured to work with IMAP - turned off option "Get folder unread count"

I use "/home/mail/username" mailboxes - I guess UNIX mailbox format and the same configuration was on old server.
Sometimes user can reconnect to imap when I kill two or three imapd processes – but I hope that’s not going to be final solution.

With old server I haven’t had any problems with IMAP and this is why I am convinced it is possible to solve it out somehow. Unfortunately I still didn't find the way.
Maybe there is already somebody who went through all these things. ?
I would appreciate any help.

Kind Regrads
Old 12-18-2007, 09:42 AM   #2
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
I recommend to run UW-IMAP as a daemon instead of using xinetd. That may be the cause of the disconnects/timeouts. Believe it or not, Outlook Express has a much better IMAP client than all the Outlook 200?. You may want to stick to Outlook Express or another client like Thunderbird.
Old 12-19-2007, 04:18 AM   #3
LQ Newbie
Registered: Dec 2007
Posts: 4

Original Poster
Rep: Reputation: 0
IMAP and Outlook problems - solved!

Dear all,

I managed to sort out the problem with IMAP, which seemed to disconnect outlook after about 10 minutes.


I also must say that UW-IMAP is working just perfect with xinetd.

If IMAP is running from xinetd it is very important to check xinetd.conf file. Depending on how many users are logging to IMAP server it is worth to adjust two parameters:

INSTANCES = 30 #is default, but depending number of users I changed that # to 60


cps = 50 10 #is default (SUSE 10.2) - I changed to 25 30

I think the number of running instances does not need any special explains, but it's worth to mention about cps.

cps is the parameter, which limits the rate of incoming connections. Takes two arguments. The first argument is the number of connections per second to handle. If the rate of incoming connections is higher than this, the service will be temporarily disabled. The second argument is the number of seconds to wait before re-enabling the service after it has been disabled. The default for this setting is 50 incoming connections and the interval is 10 seconds.

Hope that helps a little bit. Changing that two parameters solved my problems.

Kind regards,


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
outlook users having "your imap server has closed the connection" problems fedora_user Linux - Server 16 12-17-2007 04:43 AM
using Global signature through IMAP server and Outlook Express coolamit78 Linux - Networking 2 04-07-2006 09:26 AM
Importing Emails From Outlook Pst To Linux Imap Server treedstang Linux - Networking 2 02-22-2006 09:26 PM
Outlook doesn't see Potfix IMAP mailboxes zivota Linux - Software 1 11-07-2005 05:18 PM
Filtering Outlook viruses on an IMAP server debest Linux - Software 2 09-28-2003 12:18 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration