I am using Dovecot+Postfix+SOGo and I have users stored in SQL database.
My SOGo is configured to authenticate users against this SQL database.
But the same job is also done by Dovecot when authenticating user in
IMAP session.
Which means that two SQL queries are done (one by SOGo and one by Dovecot).
Is is possible to configure SOGo to use SQL database only as directory
and for authenticating try logging to IMAP?

It is not only question of efficiency but also functionality – SOGo
supports only few password schemes (plain, md5, sha)
but in Dovecot it is possible to use much more schemes (as salted SHA
etc.) and even using different schemes for different users – then in
database is stored passwords like this:

It is possible to implement additional algorithms/schemes into SOGo, but
it may be double work…
So it would be nice if SOGo can authenticate users against Dovecot's
auth socket (like Postfix does: smtpd_sasl_path = private/auth) or
against IMAP.

František Kučera

Reply via email to