> On 12 Nov 2015, at 22:35, Frank de Bot (lists) <li...@searchy.net> wrote: > > Hi, > > i have a dovecot setup with virtual users. Each user has 2 entries for > his mailbox. One is with the username formatted as > %username%@%default_realm% , the other %username%@%domain%
passdb and userdb should change the username by returning "user" field, so it'll be the same regardless of how the user logins.