Discussion:
dovecot imap auth method issue
nobody73
2014-09-10 22:39:20 UTC
Permalink
Hi List ,
I run Debian GNU/Linux 7 and i have followed the guide on workaround
dot org and at the end of it i have authentications issues with
thunderbird .On workaround there is a
local test for authentication and it was successfull .Thunderbird says:
"the IMAP server doesn't support the selected authentication method
,please change the authetntication method .... " I have tried all of
clear, starttls and ssl/tls .
disable_plaintext_auth = yes auth_mechanisms = plain login !include
auth-sql.conf.ext
passdb { driver = sql
# Path for SQL configuration file, see
example-config/dovecot-sql.conf.ext args =
/etc/dovecot/dovecot-sql.conf.ext }
userdb { driver = static args = uid=vmail gid=vmail
home=/var/vmail/%d/%n }
driver = mysql connect = host=127.0.0.1 dbname=maildb user=userdb
password=123456789 default_pass_scheme = PLAIN-MD5 password_query
= SELECT email as user, password FROM virtual_users WHERE
email='%u';
# 2.1.7: /etc/dovecot/dovecot.conf # OS: Linux 3.2.0-4-686-pae i686
Debian 7.6 ext3 auth_mechanisms = plain login mail_location =
maildir:/var/vmail/%d/%n/Maildir managesieve_notify_capability =
mailto managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave namespace inbox { inbox = yes
location = mailbox Drafts { special_use = \Drafts } mailbox Junk {
special_use = \Junk } mailbox Sent { special_use = \Sent } mailbox
"Sent Messages" { special_use = \Sent } mailbox Trash { special_use
= \Trash } prefix = separator = } passdb { args =
/etc/dovecot/dovecot-sql.conf.ext driver = sql } plugin { sieve =
~/.dovecot.sieve sieve_dir = ~/sieve } protocols = " imap sieve
pop3" service auth { unix_listener /var/spool/postfix/private/auth
{ group = postfix mode = 0660 user = postfix } } service imap-login
{ inet_listener imap { port = 143 } inet_listener imaps { port =
993 ssl = yes } } service pop3-login { inet_listener pop3 { port =
110 } inet_listener pop3s { port = 995 ssl = yes } } ssl_cert =
</etc/dovecot/ssl/cert.pem ssl_key = </etc/dovecot/ssl/key.pem
userdb { args = uid=vmail gid=vmail home=/var/vmail/%d/%n driver =
static } protocol lda { mail_plugins = " sieve" }
All help will be appreciated
Regards

Gab

- --
Key fingerprint = D8E8 7374 49EA 8017 EC52 AD73 0294 F341 FF66 9495
nobody73
2014-09-11 23:43:46 UTC
Permalink
Hi List ,
I run Debian GNU/Linux 7 and i have followed the guide on workaround
dot org and at the end of it i have authentications issues with
thunderbird .On workaround there is a
local test for authentication and it was successfull .Thunderbird says:
"the IMAP server doesn't support the selected authentication method
,please change the authetntication method .... " I have tried all of
clear, starttls and ssl/tls .

dovecot 10-auth.conf is set:

disable_plaintext_auth = yes
auth_mechanisms = plain login
!include auth-sql.conf.ext

auth-sql.conf.ex has:

passdb { driver = sql
args = /etc/dovecot/dovecot-sql.conf.ext }

userdb { driver = static args = uid=vmail gid=vmail
home=/var/vmail/%d/%n }

My dovecot-sql.conf.ext content is:

driver = mysql connect = host=127.0.0.1 dbname=maildb user=userdb
password=123456789 default_pass_scheme = PLAIN-MD5
password_query = SELECT email as user, password FROM virtual_users
WHERE email='%u';

and dovecot -n is:

# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-686-pae i686 Debian 7.6 ext3
auth_mechanisms = plain login
mail_location = maildir:/var/vmail/%d/%n/Maildir
managesieve_notify_capability = mailto
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date ihave
namespace inbox {
inbox = yes
location =
mailbox Drafts {
special_use = \Drafts
}
mailbox Junk {
special_use = \Junk
}
mailbox Sent {
special_use = \Sent
}
mailbox "Sent Messages" {
special_use = \Sent
}
mailbox Trash {
special_use = \Trash
}
prefix =
separator =
}
passdb {
args = /etc/dovecot/dovecot-sql.conf.ext
driver = sql
}
plugin {
sieve = ~/.dovecot.sieve
sieve_dir = ~/sieve
}
protocols = " imap sieve pop3"
service auth {
unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
}
}
service imap-login {
inet_listener imap {
port = 143
}
inet_listener imaps {
port = 993
ssl = yes
}
}
service pop3-login {
inet_listener pop3 {
port = 110
}
inet_listener pop3s {
port = 995
ssl = yes
}
}
ssl_cert = </etc/dovecot/ssl/cert.pem
ssl_key = </etc/dovecot/ssl/key.pem
userdb {
args = uid=vmail gid=vmail home=/var/vmail/%d/%n
driver = static
}
protocol lda {
mail_plugins = " sieve"
}

All help will be appreciated
Regards

Gab

- --
Key fingerprint = D8E8 7374 49EA 8017 EC52 AD73 0294 F341 FF66 9495
Thomas Herrmann
2014-09-12 06:42:24 UTC
Permalink
Gab,
Post by nobody73
I run Debian GNU/Linux 7 and i have followed the guide on workaround
dot org and at the end of it i have authentications issues with
thunderbird .On workaround there is a
"the IMAP server doesn't support the selected authentication method
,please change the authetntication method .... " I have tried all of
clear, starttls and ssl/tls .
I have a very similar setup to yours, and I also see the same error
message every once in a while (maybe once per day with heavy use). Do
you also get the error message occasionally or are you completely unable
to login using thunderbird?

Regards,
Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4246 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20140912/1fd6ec79/attachment.p7s>
Continue reading on narkive:
Search results for 'dovecot imap auth method issue' (Questions and Answers)
7
replies
What is POP3 & What is 3 over here?
started 2007-06-06 02:02:02 UTC
computer networking
Loading...