[Dovecot] How to get effective user information (was Re: question on "doveadm user" and pass/userdb)

Timo Sirainen tss at iki.fi
Wed Jan 9 11:35:00 EET 2013


On 9.1.2013, at 11.30, Steffen Kaiser <skdovecot at smail.inf.fh-brs.de> wrote:

> Is there a way to get the "effective" information about an user with all default values? For instance, I get:
> 
> # /usr/local/dovecot-2.1.12/bin/doveadm user  dvtest1
> userdb: dvtest1
>  home      : /home/dvtest1
>  quota_rule: *:bytes=7721225472
>  quota_rule2: Trash:bytes=+7745728
> # /usr/local/dovecot-2.1.12/bin/doveadm user -m dvtest1
> field   value
> uid     vmail
> gid     vmail
> home    /home/dvtest1
> mail
> 
> dvtest1 has quota_rule and quota_rule2 in LDAP, dvtest2 has not, but defaults are shown. Neither of them shows the default mail_location in "user -m", but the default uid/gid vmail/vmail. Using IMAP a.s.o. both users work correctly.

v2.2 does it by default:

#  doveadm user tss
field	value
uid	1000
gid	1000
home	/home/tss
mail	mdbox:~/mdbox
mail_replica	ssh:foo



More information about the dovecot mailing list