Re: [Dovecot] New install authentication probs (Solved)
Update on this problem, seems the only issue I had was that the telnet method of verifying IMAP authentication that works on Courier just doesnt work with Dovecot. I tried connected to Dovecot with an IMAP client (IMP webmail) and I get a load of info logged about authenitaction. Duno why I cant test via telnet but anyway, now I have fixed my config probs and have a working Dovecot server, thanks Andy.
Re: [Dovecot] New install authentication probs (Solved)
On Thu, Apr 01, 2010 at 10:21:35AM +0100, Andy Smith wrote: Update on this problem, seems the only issue I had was that the telnet method of verifying IMAP authentication that works on Courier just doesnt work with Dovecot. What did you use? What did you see in response? Correct syntax is simply a login username password
Re: [Dovecot] New install authentication probs (Solved)
On Thu, Apr 01, 2010 at 06:50:28PM +0100, Brian Candler wrote: On Thu, Apr 01, 2010 at 10:21:35AM +0100, Andy Smith wrote: Update on this problem, seems the only issue I had was that the telnet method of verifying IMAP authentication that works on Courier just doesnt work with Dovecot. What did you use? What did you see in response? Correct syntax is simply a login username password ... although now I come to think of it, you may need to enable this in dovecot.conf first, since by default it won't allow a plaintext login over an unsecured channel.
Re: [Dovecot] New install authentication probs (Solved)
Hi Brian, yes sounds likely, I am attempting to authenticate using the text: LOGIN username password and I always recieve the error: LOGIN BAD Error in IMAP command received by server. With zero logged to the debug log... With courier IMAP this works by default, I guess by default it doesnt work with dovecot... thanks Andy. Brian Candler b.cand...@pobox.com escribió: On Thu, Apr 01, 2010 at 06:50:28PM +0100, Brian Candler wrote: On Thu, Apr 01, 2010 at 10:21:35AM +0100, Andy Smith wrote: Update on this problem, seems the only issue I had was that the telnet method of verifying IMAP authentication that works on Courier just doesnt work with Dovecot. What did you use? What did you see in response? Correct syntax is simply a login username password ... although now I come to think of it, you may need to enable this in dovecot.conf first, since by default it won't allow a plaintext login over an unsecured channel.
Re: [Dovecot] New install authentication probs (Solved)
On 04/01/2010 09:09 PM a.sm...@ukgrid.net wrote: Hi Brian, yes sounds likely, I am attempting to authenticate using the text: LOGIN username password and I always recieve the error: LOGIN BAD Error in IMAP command received by server. With zero logged to the debug log... With courier IMAP this works by default, I guess by default it doesnt work with dovecot... please stop top-posing. The imap command you have used is syntactically wrong. Please have a look at RFC 3501, section 6.2.3 (LOGIN Command) http://tools.ietf.org/html/rfc3501#section-6.2.3 When courier supports violation of protocols/RFCs/STDs, please file a bug against courier. Regards, Pascal -- The trapper recommends today: c01dcafe.1009...@localdomain.org
Re: [Dovecot] New install authentication probs (Solved)
On Thu, Apr 01, 2010 at 08:09:30PM +0100, a.sm...@ukgrid.net wrote: yes sounds likely, I am attempting to authenticate using the text: LOGIN username password (with a tag in front of the command) With zero logged to the debug log... With courier IMAP this works by default, I guess by default it doesnt work with dovecot... If you want it, set this in dovecot.conf: disable_plaintext_auth = no Basically dovecot is taking the secure approach by default. If the client is connected without encryption, then they should not be sending a plaintext password, as it's easily sniffed. The above config removes this policy. Or: try making an encrypted (imaps) connection, like this: openssl s_client -connect 127.0.0.1:993 HTH, Brian.
Re: [Dovecot] New install authentication probs (Solved)
On Thu, Apr 01, 2010 at 09:03:46PM +0100, Brian Candler wrote: If you want it, set this in dovecot.conf: disable_plaintext_auth = no and you may also need: auth default { ... mechanisms = plain login ...