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

On Thu, 11 Feb 2016, Tom Johnson wrote:

Is it possible to specify an autoexpunge period for the main inbox?  And can 
autoexpunge be turned off via userdb_import?

I would make it the other way round: enabled it via userdb_import.

I have the following in 15-mailboxes.conf, and all is working great for the 
autoexpunge feature for the Junk and Trash mailboxes:

namespace inbox {
 separator = .
 mailbox Drafts {
   auto = subscribe
   special_use = \Drafts
 }
}

Adding autoexpunge to the main mailbox gives an error:

namespace inbox {
 separator = .
 autoexpunge = 999d
...
...
}

autoexpunge must be part of a mailbox section. At least you must try:

namespace inbox {
 mailbox Inbox {
 }
}

according:
http://wiki2.dovecot.org/MailboxSettings?highlight=%28autoexpunge%29

"The mailbox section name specifies the mailbox name. If it has spaces, you can put it in "quotes"."

Inbox should work.

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

iQEVAwUBVr2gvHz1H7kL/d9rAQKoqAgAs18V2VaOA2F0yJorkPisX4a2Zkrwb2yj
t+fb+srGkotcoXpjresiFWh58yceVBX2On007T5EFZI78j98aNKx8/MTc2XGUkzZ
9DRPXTVxub2yJXEVXdFufSKJ0QHuVByOVb68sTjQIZSDqCbpaE/BTdQ+4JbhYksR
Z4NQRknYvlrq6b24UoEsTn4mjpRRou+Cir3njo+j5G3vSiipaPB1tJ6OhHVmsEfc
kisV4LBsGjGnD5p9peb/PYLLEYnLEEoNUoSf44e3vY3VOHTfCnY1NC4Wn7N44L0R
BTxteX7APMy7BdmibgK3aArbat19AGnH5mTr3D/DfPyvoCBk9g62OQ==
=89cb
-----END PGP SIGNATURE-----

Reply via email to