[Dovecot] MySQL Configuration

Luca Corti luca at leenoox.net
Sat Nov 4 17:07:57 UTC 2006

On Sat, 2006-11-04 at 11:06 -0500, Gerard Seibert wrote:
> I keep the 'users' and their respective 'passwords' in the same MySQL 
> database. I am not sure why I wouldn't. Therefore, would it not make more 
> sense to have just one MySQL configuration line in the 'dovecot.conf' file 
> rather than two, or am I missing something here?

It is not a matter of where information is stored. At authentication you need
username and password. At mail delivery you need address and mailbox location.
Dovecot allows you to do prefetching of userdb data in the passdb query and
use just one query. However for some features to work you still need a valid,
non prefetch userdb configuration (e.g. Dovecot LDA).



More information about the dovecot mailing list