Order of loading and checking userdb on Ubuntu
Mike
barjunk at attglobal.net
Sun Jan 16 16:00:17 UTC 2022
BTW, I THINK the right answer is just to set
auth_username_format = %Ln
in 20-lmtp.conf to make it look like this:
protocol lmtp {
# this postmaster_address entry is required??? Saw that in a much
older post
postmaster_address = postmaster at mydomain.com
# Space separated list of plugins to load (default is global mail_plugins).
mail_plugins = $mail_plugins sieve
auth_username_format = %Ln
info_log_path = /var/log/dovecot-lmtp.log
}
Just want to make sure that it will only affect lmtp.
Mike
Quoting Mike <barjunk at attglobal.net>:
> When using the lmtp service for local delivery, I'd like to change
> the user lookup to only use the user portion of the email address.
>
> I think I do that in the 20-lmtp.conf file, but not exactly sure how.
>
> From what I've found on the web, I just need to change the
> auth_username_format=%n.
>
> I feel confident that I'm not doing it right.
>
> older posts implied that the order things are loaded is an issue,
> but not sure if that is the case anymore.
>
> My goal is to set username_format for only lmtp.
>
> Thanks for any help.
More information about the dovecot
mailing list