I'm trying to adapt http://wiki2.dovecot.org/HowTo/ImapcProxy to our Exchange Server, which has LOGINDISABLED on Port 143, and I offering LOGIN on Port 993. How do I go about this? Simply changing imapc_port to: imapc_port = 993 doesnt work: Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready. . LOGIN hildeb password . NO [UNAVAILABLE] Temporary authentication failure. [mproxy:2014-05-16 09:33:23] . LOGOUT * BYE Logging out . OK Logout completed. Connection closed by foreign host. Logs: May 16 11:33:04 mproxy dovecot: master: Dovecot v2.2.9 starting up (core dumps disabled) May 16 11:33:21 mproxy dovecot: auth: Error: imapc(exchange-imap.charite.de:143): Command '2 LOGIN "hildeb" "password"' failed with BAD: 2 Command received in Invalid state. May 16 11:33:21 mproxy dovecot: auth: Error: imap(hildeb,::1,<bjeUGoH53AAAAAAAAAAAAAAAAAAAAAAB>): Disconnected from server May 16 11:33:21 mproxy dovecot: auth: Error: imapc(exchange-imap.charite.de:143): Authentication failed: Command received in Invalid state. May 16 11:33:26 mproxy dovecot: imap-login: Aborted login (auth failed, 1 attempts in 8 secs): user=<hildeb>, method=PLAIN, rip=::1, lip=::1, secured, session=<bjeUGoH53AAAAAAAAAAAAAAAAAAAAAAB> But why is it still using port 143? -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de
* Ralf Hildebrandt <Ralf.Hildebrandt at charite.de>:> I'm trying to adapt http://wiki2.dovecot.org/HowTo/ImapcProxy > to our Exchange Server, which has LOGINDISABLED on Port 143, and I > offering LOGIN on Port 993. > > How do I go about this? > > Simply changing imapc_port to: > imapc_port = 993 > doesnt work:I got a bit further by usingthe info found in http://dovecot.org/list/dovecot/2012-September/138334.html Now I'm getting: # telnet localhost 143 Trying ::1... Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE STARTTLS AUTH=PLAIN AUTH=LOGIN] Dovecot (Ubuntu) ready. . LOGIN hildeb WRONGPASSWORD . NO [AUTHENTICATIONFAILED] Authentication failed. . LOGIN hildeb CORRECTPASSWORD * BYE Internal error occurred. Refer to server log for more information. Connection closed by foreign host. The log says: May 16 12:07:05 mproxy dovecot: master: Dovecot v2.2.9 starting up (core dumps disabled) May 16 12:07:29 mproxy dovecot: imap-login: Login: user=<hildeb>, method=PLAIN, rip=::1, lip=::1, mpid=23662, secured, session=<tqLKk4H5/QAAAAAAAAAAAAAAAAAAAAAB> May 16 12:07:29 mproxy dovecot: imap(hildeb): Error: user hildeb: Initialization failed: Namespace '': Mailbox list driver imapc: missing imapc_password May 16 12:07:29 mproxy dovecot: imap(hildeb): Error: Invalid user settings. Refer to server log for more information. Mailbox list driver imapc: missing imapc_password ??? -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de
Possibly Parallel Threads
- 2.3.0~alpha0-1~auto+197: Crash when openening a message via IMAP
- Recent update causes segfault in proxy mode
- Can't verify remote server certs without trusted CAs (ssl_client_ca_* settings)
- Can't verify remote server certs without trusted CAs (ssl_client_ca_* settings)
- Can't verify remote server certs without trusted CAs (ssl_client_ca_* settings)