On Fri, Sep 28, 2018 at 08:57:44AM +0300, Aki Tuomi 
<aki.tu...@open-xchange.com> wrote:
> On 28.09.2018 00:08, Florian Pritz wrote:
> > On Wed, Sep 26, 2018 at 09:34:07AM +0300, Aki Tuomi 
> > <aki.tu...@open-xchange.com> wrote:
> >> # before current passbd
> >> passdb {
> >>   driver = passwd-file
> >>   args = username_format=%Lu /etc/dovecot/aliases
> >> }
> >>
> >> # into /etc/dovecot/aliases
> >> alias@user:::::::user=real_username noauthenticate
> 
> Username change should've occured in userdb too, although with
> passwd_file you probably need to return it as userdb_user.

That works. Thanks!

In case anyone else is interested, put this in the alias file if you
want to use it for both:

> t...@xinu.at:::::::user=flo userdb_user=flo noauthenticate

Florian

Attachment: signature.asc
Description: PGP signature

Reply via email to