[Dovecot] plain text auth
Hi everyone,
This is my second try with dovecot, and still no luck. What I want is twig to work with dovecot on the localhost address .
I need to authenticate through pam for real accounts and through pgsql for virtual ones.
I just cant autenticate: logs are : imap-:login: Authenticate PLAIN failed: Unsupported authentication mechanism or: Aborted login: method = PLAIN
Could someone please share a working config file that does what I want? I'm struggling for weeks now both on tyhe alpha5 and beta1 versions.
TIA
-- Olivier PRENANT Tel: +33-5-61-50-97-00 (Work) 15, Chemin des Monges +33-5-61-50-97-01 (Fax) 31190 AUTERIVE +33-6-07-63-80-64 (GSM) FRANCE Email: ohp@pyrenet.fr
Make your life a dream, make your dream a reality. (St Exupery)
ohp@pyrenet.fr wrote:
Hi everyone,
This is my second try with dovecot, and still no luck. What I want is twig to work with dovecot on the localhost address .
I need to authenticate through pam for real accounts and through pgsql for virtual ones.
I just cant autenticate: logs are : imap-:login: Authenticate PLAIN failed: Unsupported authentication mechanism or: Aborted login: method = PLAIN
Could someone please share a working config file that does what I want? I'm struggling for weeks now both on tyhe alpha5 and beta1 versions.
TIA
What do you get if you "telnet localhost 143" then type ". CAPABILITY" (then ". LOGOUT")? Does it include "AUTH=PLAIN"? What do you have for "mechanisms" and "disable_plaintext_auth"?
Best Wishes, Chris
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
On Tue, 17 Jan 2006, Chris Wakelin wrote:
Date: Tue, 17 Jan 2006 17:56:50 +0000 From: Chris Wakelin c.d.wakelin@reading.ac.uk To: ohp@pyrenet.fr Cc: dovecot@dovecot.org Subject: Re: [Dovecot] plain text auth
ohp@pyrenet.fr wrote:
Hi everyone,
This is my second try with dovecot, and still no luck. What I want is twig to work with dovecot on the localhost address .
I need to authenticate through pam for real accounts and through pgsql for virtual ones.
I just cant autenticate: logs are : imap-:login: Authenticate PLAIN failed: Unsupported authentication mechanism or: Aborted login: method = PLAIN
Could someone please share a working config file that does what I want? I'm struggling for weeks now both on tyhe alpha5 and beta1 versions.
TIA
What do you get if you "telnet localhost 143" then type ". CAPABILITY" (then ". LOGOUT")? Does it include "AUTH=PLAIN"? No What do you have for "mechanisms" and "disable_plaintext_auth"?
I don't have mechanisms, I have auth_mechanisms to plain and disable_plaintext_auth is no
Best Wishes, Chris
-- Olivier PRENANT Tel: +33-5-61-50-97-00 (Work) 15, Chemin des Monges +33-5-61-50-97-01 (Fax) 31190 AUTERIVE +33-6-07-63-80-64 (GSM) FRANCE Email: ohp@pyrenet.fr
Make your life a dream, make your dream a reality. (St Exupery)
ohp@pyrenet.fr wrote:
On Tue, 17 Jan 2006, Chris Wakelin wrote:
Date: Tue, 17 Jan 2006 17:56:50 +0000 From: Chris Wakelin c.d.wakelin@reading.ac.uk To: ohp@pyrenet.fr Cc: dovecot@dovecot.org Subject: Re: [Dovecot] plain text auth
ohp@pyrenet.fr wrote:
Hi everyone,
This is my second try with dovecot, and still no luck. What I want is twig to work with dovecot on the localhost address .
I need to authenticate through pam for real accounts and through pgsql for virtual ones.
I just cant autenticate: logs are : imap-:login: Authenticate PLAIN failed: Unsupported authentication mechanism or: Aborted login: method = PLAIN
Could someone please share a working config file that does what I want? I'm struggling for weeks now both on tyhe alpha5 and beta1 versions.
TIA
What do you get if you "telnet localhost 143" then type ". CAPABILITY" (then ". LOGOUT")? Does it include "AUTH=PLAIN"? No What do you have for "mechanisms" and "disable_plaintext_auth"?
I don't have mechanisms, I have auth_mechanisms to plain and disable_plaintext_auth is no
Best Wishes, Chris
"auth_mechanisms" is old syntax I think. Are you sure you're using 1.0-alpha5 or beta1?
From dovecot-example.conf :-
auth default { # Space separated list of wanted authentication mechanisms: # plain digest-md5 cram-md5 apop anonymous gssapi mechanisms = plain
... }
Best Wishes, Chris
-- --+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+- Christopher Wakelin, c.d.wakelin@reading.ac.uk IT Services Centre, The University of Reading, Tel: +44 (0)118 378 8439 Whiteknights, Reading, RG6 2AF, UK Fax: +44 (0)118 975 3094
On Tue, 17 Jan 2006, Chris Wakelin wrote:
Date: Tue, 17 Jan 2006 18:08:40 +0000 From: Chris Wakelin c.d.wakelin@reading.ac.uk To: ohp@pyrenet.fr Cc: dovecot@dovecot.org Subject: Re: [Dovecot] plain text auth
ohp@pyrenet.fr wrote:
On Tue, 17 Jan 2006, Chris Wakelin wrote:
Date: Tue, 17 Jan 2006 17:56:50 +0000 From: Chris Wakelin c.d.wakelin@reading.ac.uk To: ohp@pyrenet.fr Cc: dovecot@dovecot.org Subject: Re: [Dovecot] plain text auth
ohp@pyrenet.fr wrote:
Hi everyone,
This is my second try with dovecot, and still no luck. What I want is twig to work with dovecot on the localhost address .
I need to authenticate through pam for real accounts and through pgsql for virtual ones.
I just cant autenticate: logs are : imap-:login: Authenticate PLAIN failed: Unsupported authentication mechanism or: Aborted login: method = PLAIN
Could someone please share a working config file that does what I want? I'm struggling for weeks now both on tyhe alpha5 and beta1 versions.
TIA
What do you get if you "telnet localhost 143" then type ". CAPABILITY" (then ". LOGOUT")? Does it include "AUTH=PLAIN"? No What do you have for "mechanisms" and "disable_plaintext_auth"?
I don't have mechanisms, I have auth_mechanisms to plain and disable_plaintext_auth is no
Best Wishes, Chris
"auth_mechanisms" is old syntax I think. Are you sure you're using 1.0-alpha5 or beta1?
From dovecot-example.conf :-
auth default { # Space separated list of wanted authentication mechanisms: # plain digest-md5 cram-md5 apop anonymous gssapi mechanisms = plain Yes I have that What pam.d does it look at (although, looking at the logs it doesn't even go to pam) ... }
Best Wishes, Chris
-- Olivier PRENANT Tel: +33-5-61-50-97-00 (Work) 15, Chemin des Monges +33-5-61-50-97-01 (Fax) 31190 AUTERIVE +33-6-07-63-80-64 (GSM) FRANCE Email: ohp@pyrenet.fr
Make your life a dream, make your dream a reality. (St Exupery)
On Tue, 2006-01-17 at 19:12 +0100, ohp@pyrenet.fr wrote:
auth default { # Space separated list of wanted authentication mechanisms: # plain digest-md5 cram-md5 apop anonymous gssapi mechanisms = plain Yes I have that
Are you sure you have that exactly? The only reason I can think of for the error message you have is if the mechanisms list doesn't contain "plain" in it.
Do you have multiple auth blocks then maybe? Or multiple "mechanisms" lines? Can you just send the whole auth-block you have in dovecot.conf?
Jakob Hirsch wrote:
ohp@pyrenet.fr wrote:
logs are : imap-:login: Authenticate PLAIN failed: Unsupported
disable_plaintext_auth = no but PLAIN should always work on localhost.
Set auth_verbose and auth_debug both to yes to see in detail what is going wrong.
I was running into the same problem and had to back it out to 0.99.
This weekend I might have a chance to give at another go.
On Wed, 18 Jan 2006, Tom Allison wrote:
Date: Wed, 18 Jan 2006 22:06:26 -0500 From: Tom Allison tallison@tacocat.net To: dovecot@dovecot.org Subject: Re: [Dovecot] plain text auth
Jakob Hirsch wrote:
ohp@pyrenet.fr wrote:
logs are : imap-:login: Authenticate PLAIN failed: Unsupported
disable_plaintext_auth = no but PLAIN should always work on localhost.
Set auth_verbose and auth_debug both to yes to see in detail what is going wrong.
I was running into the same problem and had to back it out to 0.99.
This weekend I might have a chance to give at another go.
Great! Take a look at my last post, it works on openbsd and not on Unixware. I have no clue where to start for debuging... I suspect a setuid or socket problem
Olivier PRENANT Tel: +33-5-61-50-97-00 (Work) 15, Chemin des Monges +33-5-61-50-97-01 (Fax) 31190 AUTERIVE +33-6-07-63-80-64 (GSM) FRANCE Email: ohp@pyrenet.fr
Make your life a dream, make your dream a reality. (St Exupery)
participants (5)
-
Chris Wakelin
-
Jakob Hirsch
-
ohp@pyrenet.fr
-
Timo Sirainen
-
Tom Allison