Returning custom autoexpunge for user's INBOX

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Tue Mar 1 07:50:50 UTC 2016


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 29 Feb 2016, Tom Johnson wrote:

> I want to be able to have custom autoexpunge settings for different users.
>
> I have it working for various folders (draft, junk, trash), but I can't seem to get it working for the user's primary inbox.

How did you've configured autoexpunge for the primary INBOX in the 
conf-files?

> In my user_query (I'm using mysql), I'm returning entries like this in the userdb_import field:
>
>       namespace/inbox/mailbox/autoexpunge=5d	namespace/inbox/mailbox/Drafts/autoexpunge=5d	namespace/inbox/mailbox/Junk/autoexpunge=5d	namespace/inbox/mailbox/Trash/autoexpunge=5d
>
>
> And everything works fine for Drafts, Junk, and Trash, but not for the main inbox.  The logs show:
>
> 	Debug: Unknown userdb setting: plugin/namespace/inbox/mailbox/autoexpunge=5d
>
> I've also tried variations, trying to get the namespace correct for the main inbox, but they all get the same "Unknown userdb setting" error:
>
> 	namespace/inbox/mailbox/autoexpunge=5d
> 	namespace/inbox/mailbox/inbox/autoexpunge=5d
> 	namespace/inbox/mailbox/Inbox/autoexpunge=5d
> 	namespace/inbox/mailbox/INBOX/autoexpunge=5d
>
> I suspect I'm just giving the wrong namespace for the primary inbox.
>

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEVAwUBVtVJ2nz1H7kL/d9rAQIvbQgAk9iLNsHGKpLeZpRC52yAMhfvLaOClCd1
/FcW8CI6J/Wk7GBdpk4qFaIDyttF1XBa/srXMer23xOR/AJnpRX04ibhBQlCQvad
IbMeR+6Mi98tP7qrLlqs61r35lFhOwmWVHKVrAyBoZ2KyvMpgFA+u3yo3Zx2d9z2
romvqK3xtOZJPg/5VgrcKB/UftIpTkthvH+Lsiwtr4WZ/hezbo3cM1aI2ElL2zx0
eLTyHH6MdUJWh0j7s441Ouq4DcSOg489E7D+Um89q2/JwrDSqnzJsKHoYLuuMKHM
C0NLspwhP2EHQ8WnodlA+0aPr2zO+sCoVd5HxUatZ2020MFquF5qQA==
=mC2X
-----END PGP SIGNATURE-----


More information about the dovecot mailing list