is it possible - username aliases
Aki Tuomi
aki.tuomi at open-xchange.com
Sat Mar 23 20:44:30 EET 2019
> On 23 March 2019 20:40 Wojciech Puchar via dovecot <dovecot at dovecot.org> wrote:
>
>
> i already have quite large dovecot installation with multiple domains but
> with users handled via unix passwd.
>
> Domain name mapping in both directions is done by sendmail, and mail
> delivery by procmail to Maildir format - one account per user. this
> accounts are often used for more than mail.
>
> So for example john smith have email john at foo.pl and unix username
> foo-john.
>
> His imap client and smtp client is configured to use login foo-john and
> email address john at foo.pl
>
> Everything works flawlessly.
>
>
> But i will have few new users that insist of being able to login as
> someone at somewhere.pl
>
>
> Can i have something similar to sendmail method in dovecot - an alias
> table like
>
> someone at somewhere.pl some-unix-account
>
> For this few users and have everything like it is now?
put this before the passwd passdb...
passdb {
driver = passwd-file
args = username_format=%Lu /path/to/some/passwd
}
then put this into the passwd file
alias at user:::::::user=real.username at domain
See https://wiki.dovecot.org/PasswordDatabase for more details
Aki
More information about the dovecot
mailing list