Opened 13 years ago

Closed 13 years ago

#7538 closed bug (fixed)

IMAP doesn't work

Reported by: pulkomandy Owned by: czeidler
Priority: normal Milestone: R1
Component: Servers/mail_daemon Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Trying to login to my mail server (homeserver running dovecot imapd), I get the following in the status window : akina Failed to login: [Sat May 21 10:46:05 2011]

As far as I can say, no other error message. My mail isn't downloaded at all. Running a pre-alpha3 image.

Anything I can do to help with that ? Tried to delete and recreate the acocunt, and I get the same error.

Attachments (1)

imap.diff (1.4 KB ) - added by czeidler 13 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by czeidler, 13 years ago

I assume you configured everything correct? Start the server in a terminal to see more output... (take care your password will be printed to std out...) if thats not enough try to enable full server response tracing by uncomment the according line in:

src/add-ons/mail_daemon/inbound_protocols/imap/imap_lib/IMAPProtocol.cpp

IMAPProtocol::HandleResponse

there can't be go that much wrong IMHO... do you have uncommon server settings?

comment:2 by pulkomandy, 13 years ago

After sending the login command I see this :

Unhandled S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=PLAIN] Dovecot ready.
S:read error A0000001 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONSSLConnection::Disconnect()
SSLConnection::Disconnect()

Nothing special about the server, it's SSL-only, with a self-signed certificate. Seems to work fine with anything else (tried mutt and thunderbird).

comment:3 by czeidler, 13 years ago

Ah, the response is longer then 256 chars and this is not handled correctly. Could you try my quick patch? With the patch it should continue reading till the end of the line is reached... thanks.

by czeidler, 13 years ago

Attachment: imap.diff added

comment:4 by pulkomandy, 13 years ago

Much better like this. Thanks !

comment:5 by czeidler, 13 years ago

Resolution: fixed
Status: newclosed

Cool fixed in hrev41651, thanks.

Note: See TracTickets for help on using tickets.