On Thu, 2013-03-21 at 15:10 +0100, David Obando wrote: > Is there a way to define "if <user> is local then auth_username_format = > %n else auth_username_format = %Lu"? Maybe. Depends on your Dovecot version and passdb/userdb configuration. So, doveconf -n output?