Expunge messages older than
Steffen Kaiser
skdovecot at smail.inf.fh-brs.de
Mon Mar 9 07:41:21 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, 7 Mar 2015, absolutely_free at libero.it wrote:
> Hi, I am using Dovecot 2.2.13 on cPanel server.
> Is there a way to delete messages older than some date for a number of users (in every subfolder)?
Do you have shell access to the server, in order to run doveadm commands?
If so, check out doveadm expunge:
"This command can be used to expunge mails matching the given search
query. It is typically used to expunge old mails from users' Trash and/or
Spam mailboxes. To test which messages a given search query would match,
you can use doveadm fetch or doveadm search commands."
- --
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEVAwUBVP1OoXz1H7kL/d9rAQLWsAf/cDliyU1OhTPrcMPtz0Yvp51VU5FHB/Fk
fLSghkDr8ZWNA8s0aBeLO9eQVYlZDDXG6bqZSZZtjYMfDaVtqaAQd7Sj30ZRH1kK
TuTiiqFnltyLnstBXzkOwVS+qNSs+3hRdFLlkS3CGOTG7hZ7owXRpo1zCDAACe3P
Y6RlB+42wb5wgFUqhrVs4KGBSEywTrndadpR8MvlFqZVXHUE9nzKwLmDFQQKEj6H
Y6ecRJzuVvlmp5IRRqPsYRYOQHg9tqoKQ6vC/UwEyPz9u+hLtRqP3qijlMaN9JG3
U7IA9uMQxcP9tVK3nP44alvQfuJbpiOkdIH/5obHacvzxIJW7oypZA==
=qy24
-----END PGP SIGNATURE-----
More information about the dovecot
mailing list