dovecot imap auth method issue

nobody73 nobody73 at riseup.net
Thu Sep 11 23:43:46 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iF4EAREKAAYFAlQSM7EACgkQApTzQf9mlJXt9AD/SCQX8+LkKRfp2GyDkrGT9dQD
SZeQ0E5Mv/OYbyfDO4wA/2vyHGxyUhv3N/N9+8xrVQT2KnfqIS5TrdhqIhfnEIc2
=gvNo
-----END PGP SIGNATURE-----


More information about the dovecot mailing list