1

Since one of our customers updated their server courier does not handle IMAP connections properly any more. POP3 works without any problems.

When I try to test IMAP with telnet then it is always like this:

$ telnet domain.com 143
Trying 188.40.46.214...
Connected to domain.com.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION STARTTLS] Courier-IMAP ready. Copyright 1998-2011 Double Precision, Inc.  See COPYING for distribution information.
01 LOGIN [email protected] test
Connection closed by foreign host.

I enabled debugging in the authdaemond but the output does not really help much:

Apr 12 23:10:04 servername authdaemond: received auth request, service=imap, authtype=login
Apr 12 23:10:04 servername authdaemond: authmysql: trying this module
Apr 12 23:10:04 servername authdaemond: SQL query: SELECT login, password, "", uid, gid, homedir, maildir, quota, "", concat('disableimap=',disableimap,',disablepop3=',disablepop3) FROM mail_user WHERE login = '[email protected]' 
Apr 12 23:10:04 servername authdaemond: password matches successfully
Apr 12 23:10:04 servername authdaemond: authmysql: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/var/vmail, [email protected], fullname=<null>, maildir=/var/vmail/domain.com/test, quota=0, options=disableimap=n,disablepop3=n
Apr 12 23:10:04 servername authdaemond: Authenticated: sysusername=<null>, sysuserid=5000, sysgroupid=5000, homedir=/var/vmail, [email protected], fullname=<null>, maildir=/var/vmail/domain.com/test, quota=0, options=disableimap=n,disablepop3=n

Right after the "Authenticated" line the output stops. There is no other message. And in no other log file I've checked I could find any other related message.

The system was updated from Ubuntu 10.10 to 12.04.

How could I get more information? Or does anybody have an idea what could go wrong here?

2 Answers 2

1

Looks like the connection handler process is crashing for some reason. I'd advise the user to downgrade to the version they were previously using, or upgrade all its dependencies. Reinstalling may also help.

2
  • The whole Ubuntu was upgraded so the dependencies are all up to date too. And a downgrade is therefore not really an option either. I doubt that a reinstall will help but we will try it. Apr 12, 2012 at 21:59
  • The reinstall did not help either. Apr 13, 2012 at 10:12
1

I found a Solution for this problem.

http://ubuntuforums.org/showthread.php?s=fba71f803c489876a75fb08df822a930&p=11856138

2
  • Interesting. We moved to dovecot because we couldn't find any solution. But I will look more detailed into your forum thread. Apr 30, 2012 at 17:33
  • Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. Jun 26, 2013 at 4:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .