I'm trying to figure if there is a "proactive" way to enforce item age on maildir . maildir-cleanup kind of does it but im looking for something similiar to quota ++ that you can add to dovecot but for item age not size.
Any ideas?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 19 Aug 2013, Carlos L wrote:
I'm trying to figure if there is a "proactive" way to enforce item age on maildir . maildir-cleanup kind of does it but im looking for something similiar to quota ++ that you can add to dovecot but for item age not size.
Hmm, how would quota be involved there? Maybe: http://wiki2.dovecot.org/Plugins/Expire
Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUhNqV13r2wJMiz2NAQIiZgf+N2VTT04KaLwq2LTz6PVi2tcHBabHxrJa h0UY3qM+WuYaOAWomYPxVN1QSvBKMz1BP/qiKF+/UdlWUjtC9PKXiuNEsU1nJbXV KqGN+7gdvkIEI4vLh8I0UNNOlwq7Pv+EKzX6SQVwL0z2J/QYbAjX0+PaMykMRMpG a7hFXk6F0fhwR85kAQr8xVuLDdZef/9O3R+z1dhtXOk2DGMnw/tkvxvx2jn6K2Go Xg5zWiwBWN+0kS4yvc8NXYljNIje0FBXxQ4MCu3Je7wCNCcwH7zse8QRezjRaLKR IAn5+dz4ifjlgLIYsEqppmZNJ7aN1FdIYd5iEp1bwS2C+Lj+xtL28Q== =sEsQ -----END PGP SIGNATURE-----
That sounds like it would do the trick thank you very much. PS. I was just throwing quota as a parallel.
On Tue, Aug 20, 2013 at 9:08 AM, Steffen Kaiser < skdovecot@smail.inf.fh-brs.de> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mon, 19 Aug 2013, Carlos L wrote:
I'm trying to figure if there is a "proactive" way to enforce item age on
maildir . maildir-cleanup kind of does it but im looking for something similiar to quota ++ that you can add to dovecot but for item age not size.
Hmm, how would quota be involved there? Maybe: http://wiki2.dovecot.org/**Plugins/Expire<http://wiki2.dovecot.org/Plugins/Expire>
- -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux)
iQEVAwUBUhNqV13r2wJMiz2NAQIiZg**f+**N2VTT04KaLwq2LTz6PVi2tcHBabHxr**Ja h0UY3qM+**WuYaOAWomYPxVN1QSvBKMz1BP/**qiKF+/UdlWUjtC9PKXiuNEsU1nJbXV KqGN+**7gdvkIEI4vLh8I0UNNOlwq7Pv+**EKzX6SQVwL0z2J/QYbAjX0+**PaMykMRMpG a7hFXk6F0fhwR85kAQr8xVuLDdZef/**9O3R+z1dhtXOk2DGMnw/**tkvxvx2jn6K2Go Xg5zWiwBWN+**0kS4yvc8NXYljNIje0FBXxQ4MCu3Je**7wCNCcwH7zse8QRezjRaLKR IAn5+**dz4ifjlgLIYsEqppmZNJ7aN1FdIYd5**iEp1bwS2C+Lj+xtL28Q== =sEsQ -----END PGP SIGNATURE-----
On 19/08/2013 20:46, Carlos L wrote:
I'm trying to figure if there is a "proactive" way to enforce item age on maildir . maildir-cleanup kind of does it but im looking for something similiar to quota ++ that you can add to dovecot but for item age not size.
Any ideas?
Something along the following lines in your crontab ? If you really want to enforce ? ;-)
/usr/bin/doveadm expunge -u USERNAME mailbox MAILBOX savedbefore 2w
participants (3)
-
Ben
-
Carlos L
-
Steffen Kaiser