Package: courier-imap
Version: 4.10.0-201202021
Severity: important
Dear Maintainer,
*** Please consider answering these questions, where appropriate ***
* What led up to the situation?
I do not know, maybe a kernel upgrade.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Nothing has been effective, but some tests have shown that the problem seems to
lie in imaplogin
* What was the outcome of this action?
stale connections, closing processes
* What outcome did you expect instead?
normal IMAP traffic
*** End of the template - remove these lines ***
I first detected that all may IMAP clients stopped working.
Authentication was OK, as shown in /var/log/syslog using DEBUG_LOGIN=1 .
Connecting directly to port 143 showed this:
root@server:~# telnet localhost 143
Trying ::1...
Connected to localhost.
Escape character is '^]'.
* OK [CAPABILITY IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE ACL ACL2=UNION] Courier-IMAP ready. Copyright
1998-2011 Double Precision, Inc. See COPYING for distribution information.
a login envite falsepassword
a NO Login failed.
a login envite goodpassword
>>>>>Here it hanged some seconds, and then
Connection closed by foreign host.
Stopping server and using imapd directly showed this:
root@server:/var/mail# IMAP_MAILBOX_SANITY_CHECK=0 /usr/bin/imapd
/var/mail/envite/
* PREAUTH Ready.
INFO: LOGIN, user=root, ip=[127.0.0.1], port=[0], protocol=IMAP
a select inbox
* FLAGS (\Draft \Answered \Flagged \Deleted \Seen \Recent)
* OK [PERMANENTFLAGS (\Draft \Answered \Flagged \Deleted \Seen)] Limited
* 2913 EXISTS
* 2 RECENT
* OK [UIDVALIDITY 1315612719] Ok
* OK [MYRIGHTS "acdilrsw"] ACL
a OK [READ-WRITE] Ok
a list "" "*"
>>>>>Here full list of subfolders
* LIST (\Marked \HasChildren) "." "INBOX"
a OK LIST completed
a logout
* BYE Courier-IMAP server shutting down
a OK LOGOUT completed
INFO: LOGOUT, user=root, ip=[127.0.0.1], headers=0, body=0, rcvd=38, sent=9211,
time=17
Trying with imaplogin showed this:
root@server:/var/mail# IMAP_MAILBOX_SANITY_CHECK=0
/usr/lib/courier/courier/imaplogin /usr/bin/imapd .Maildir
DEBUG: Connection, ip=[127.0.0.1]
* OK [CAPABILITY IMAP4rev1] Courier-IMAP ready. Copyright 1998-2011 Double
Precision, Inc. See COPYING for distribution information.
a login envite falsepassword
INFO: LOGIN FAILED, user=envite, ip=[127.0.0.1]
a NO Login failed.
a login envite goodpassword
>>>>>Hee immediate return to command promt
I'm ready to perform any test that can be suggested.
Regards
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages courier-imap depends on:
ii courier-authlib 0.63.0-6
ii courier-base 0.68.1-1
ii debconf 1.5.43
ii libc6 2.13-32
ii libgamin0 [libfam0] 0.1.10-4
ii libgdbm3 1.8.3-10
ii postfix [mail-transport-agent] 2.8.4-1
courier-imap recommends no packages.
Versions of packages courier-imap suggests:
ii courier-doc <none>
ii courier-imap-ssl <none>
ii evolution [imap-client] 3.2.2-1+b1
ii kmail [imap-client] 4:4.4.11.1+l10n-1
ii mutt [imap-client] 1.5.21-5
-- Configuration Files:
/etc/courier/imapd changed:
ADDRESS=0
PORT=143
MAXDAEMONS=40
MAXPERIP=20
PIDFILE=/var/run/courier/imapd.pid
TCPDOPTS="-nodnslookup -noidentlookup"
LOGGEROPTS="-name=imapd"
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT
THREAD=REFERENCES SORT QUOTA IDLE"
IMAP_KEYWORDS=1
IMAP_ACL=1
IMAP_CAPABILITY_ORIG="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE
THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA AUTH=CRAM-MD5 AUTH=CRAM-SHA1
AUTH=CRAM-SHA256 IDLE"
IMAP_PROXY=0
IMAP_PROXY_FOREIGN=0
IMAP_IDLE_TIMEOUT=60
IMAP_MAILBOX_SANITY_CHECK=0
IMAP_CAPABILITY_TLS="$IMAP_CAPABILITY AUTH=PLAIN"
IMAP_CAPABILITY_TLS_ORIG="$IMAP_CAPABILITY_ORIG AUTH=PLAIN"
IMAP_DISABLETHREADSORT=0
IMAP_CHECK_ALL_FOLDERS=0
IMAP_OBSOLETE_CLIENT=0
IMAP_UMASK=022
IMAP_ULIMITD=131072
IMAP_USELOCKS=1
IMAP_SHAREDINDEXFILE=/etc/courier/shared/index
IMAP_ENHANCEDIDLE=0
IMAP_TRASHFOLDERNAME=Trash
IMAP_EMPTYTRASH=Trash:7
IMAP_MOVE_EXPUNGE_TO_TRASH=0
SENDMAIL=/usr/sbin/sendmail
HEADERFROM=X-IMAP-Sender
IMAPDSTART=YES
MAILDIRPATH=Maildir
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]