[Dovecot] Postfix/Dovecot/lmtp with virtual and local users

Timo Sirainen tss at iki.fi
Thu Apr 11 13:22:06 EEST 2013


On Thu, 2013-04-11 at 11:04 +0200, David Obando wrote:
> Hi,
> 
> thanks for the answer.
> Do I understand you right that currently it's not possible to manage
> both system users and virtual users in a dovecot 2 and lmtp setup?

If you have only a single domain, set auth_username_format=%Ln and
configure your virtual userdb to work without @domain.

Or you could switch to using only virtual users, and have your MTA
forward the local users' mails to virtual users.

Or you could use userdb checkpassword instead of passwd, which strips
away the domain before doing a passwd lookup.

> You were talking about "adding a generic passdb/userdb {
> auth_username_format } setting". Are there any plans to do so?

Sure, but as to when I'll actually implement it, no idea. It's not a big
priority right now (although it would probably be pretty quick to
implement).

> What are your recommendations about migrating from dovecot 1.2.15 to
> dovecot 2 regarding system and virtual users? Should I use LDA instead
> of LMTP then?

That's one possibility too, yes.




More information about the dovecot mailing list