[Dovecot] Vpopmail + Expire Plugin

Timo Sirainen tss at iki.fi
Tue Jan 4 14:00:45 EET 2011


On Tue, 2011-01-04 at 12:51 +0100, Oliver Lehmann wrote:
> >> One of the reasons why I switched to dovecot was the expire plugin and
> >> right now I'm trying to set it up but I don't get it to run.
> >
> > So you have thousands of users to make expire plugin useful?
> 
> Nope - just me but I want an automatic deletion of old mailinglist
> emails which I don't want to do manually and I definitly do not like
> find -exec rm solutions.
> Are there other ways for deleting old emails instead of expire?

There's no need to use expire plugin for that with v2.0. You can just
run doveadm. Do you mean you only have a single user? Then it's really
simple:

doveadm expunge -u user at domain mailbox dovecot-list savedbefore 30d

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20110104/a4dd6fb2/attachment.bin 


More information about the dovecot mailing list