Username aliases

Florian Pritz bluewind at xinu.at
Fri Sep 28 11:09:05 EEST 2018


On Fri, Sep 28, 2018 at 08:57:44AM +0300, Aki Tuomi <aki.tuomi at 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.tuomi at open-xchange.com> wrote:
> >> # before current passbd
> >> passdb {
> >>   driver = passwd-file
> >>   args = username_format=%Lu /etc/dovecot/aliases
> >> }
> >>
> >> # into /etc/dovecot/aliases
> >> alias at 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:

> test at xinu.at:::::::user=flo userdb_user=flo noauthenticate

Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://dovecot.org/pipermail/dovecot/attachments/20180928/ed6bf764/attachment-0001.sig>


More information about the dovecot mailing list