[Dovecot] Dovecot using authsasld

Dag Wieers dag at wieers.com
Sat Sep 16 20:46:00 EEST 2006


On Sat, 16 Sep 2006, Jan Kundrát wrote:

> Dag Wieers wrote:
> > Trying to simplify the postfix/dovecot/saslauthd setup with less than 10 
> > users, I was looking for some way to NOT duplicate the username/password 
> > setup.
> [...]
> > My other idea to simplify was using something like pam_unix, but modified 
> > to use a seperate file (not /etc/shadow) and use pam in both dovecot and 
> > saslauthd. But I can't find something like that, pam_unix is fixed, and 
> > pam_userdb is something I'd like to avoid.
> 
> Why don't you just use pam_unix?

These are virtual users.

But I found a workaround, apparently authsasld is able to authenticate 
against dovecot IMAP using 'rimap' authentication mechanism. Sadly this 
means I have to enable PLAIN IMAP password authentication in dovecot.

But at least it means I can get rid of the sasldb database that had the 
same user/pass information that was in my dovecot passwd file.

Now the only redundant information is in postfix's virtual user file and 
in the dovecot virtual user file. For defining new user this means I have 
3 files to edit (dovecot userdb en passdb, and postfix virtual 
mailbox map) instead of 4 (sasldb).

Kind regards,
--   dag wieers,  dag at wieers.com,  http://dag.wieers.com/   --
[all I want is a warm bed and a kind word and unlimited power]


More information about the dovecot mailing list