LILiK-117bis / lilik_playbook

Playbooks to a new Lilik
Creative Commons Zero v1.0 Universal
0 stars 1 forks source link

Dovecot authentication mechanisms #6

Open cimbalo opened 8 years ago

cimbalo commented 8 years ago

Dovecot with ldap auth_bind only supports plain and login authentication mechanisms. Since they both use plain text passwords they are only enable on imaps protocol. This make imap protocol useless since no remaining authentication mechanisms are allowed.

We can use PassordLookups instead, which supports crypt mechanisms. Cons:

The old LILiK mail server permits plain text authentication mechanism over imap, which I think is the worst solution.

edoput commented 8 years ago

but auth_bind is preferable, it only returns the user info if the user is found.

I think we should look into encrypting the connection to ldap if we really are that concerned.

Moreover we can configure Dovecot with our CA and to use starttls by upgrading every connection to and encrypted channel. This should kill every kind of not-encrypted plaintext authentication.

Some admins want to require SSL/TLS, but don't realize that this is also possible with STARTTLS (Dovecot has disable_plaintext_auth=yes and ssl=required settings).