Dynamic autoexpunge for IMAP folders

Thomas Leuxner tlx at leuxner.net
Tue Jan 17 11:14:57 UTC 2017


* Thorsten Hater <thorsten.hater at gmail.com> 2017.01.17 12:04:

> userdb {
>    driver = static
>    args   = namespace/inbox/mailbox/Bla/autoexpunge=6h
> }

I'm almost sure that 'driver = static' contradicts the concept of userdb overrides:

http://wiki.dovecot.org/UserDatabase/ExtraFields

If you can't go with 'passwd-file' style settings, you may able to achieve this globaly with:

protocol imap {
  namespace inbox {
    location = 
    mailbox Blah {
      autoexpunge = 6h
    }
    prefix = 
  }
}

In any case this is then a global setting rather than one being returned on a per-user basis.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://dovecot.org/pipermail/dovecot/attachments/20170117/688ba809/attachment.sig>


More information about the dovecot mailing list