> On Feb 7, 2016, at 10:59 AM, Timo Sirainen <[email protected]> wrote:
>
> You can override any mail-related setting from userdb. So for example if you
> have:
>
> namespace inbox {
> mailbox Trash {
> autoexpunge = 30d
> }
> }
>
> You can have your userdb return namespace/inbox/Trash/autoexpunge=90d extra
> field for other users. http://wiki2.dovecot.org/UserDatabase/ExtraFields has
> some examples.
I have my query returning the extra field, with the namespace entries separated
by tabs. If I do a doveadm, I see it:
# doveadm user <xxx>
field value
uid 1005
gid 1005
home <xxx>
mail <xxx>
namespace/inbox/Drafts/autoexpunge 3d
namespace/inbox/Quarantine/autoexpunge 3d
quota_rule *:storage=10000M
I turned on debugging, and tried to deliver some email to see if autoexpunge is
called, and I'm seeing this:
2016-02-09T01:41:23+0000 s01.lax.mailroute.net dovecot:
doveadm([email protected]): Debug: Unknown userdb setting:
plugin/namespace/inbox/Drafts/autoexpunge=3d
2016-02-09T01:41:23+0000 s01.lax.mailroute.net dovecot:
doveadm([email protected]): Debug: Unknown userdb setting:
plugin/namespace/inbox/Quarantine/autoexpunge=3d
Anybody know what am I missing?
Thanks-
Tom