[Dovecot] Please HELP: how to delete all messages older than X days

Răzvan Sandu razvan.sandu at mobexpert.ro
Thu Aug 8 13:00:55 EEST 2013


Pe 7 Aug 2013 11:35, Timo Sirainen a scris:

>> Thank you, but doveadm expunge will ask for the mailbox name:
>>
>> [root at mail1 ~]# doveadm expunge -u john.doe at example.com ON
>> 2013-08-07 doveadm(root): Fatal: expunge: To avoid accidents,
>> search query must contain MAILBOX in all search branches
>
> Add: mailbox '*'

Thank you, it works!

May I use the same wildcard syntax ('*') when configuring the expire
plugin?  Something like:

mail_plugins = $mail_plugins expire

plugin {
   expire = *
}

or

plugin {
   expire = '*'
}


?


Best regards,
Răzvan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: razvan_sandu.vcf
Type: text/x-vcard
Size: 424 bytes
Desc: not available
URL: <http://dovecot.org/pipermail/dovecot/attachments/20130808/84852236/attachment.vcf>


More information about the dovecot mailing list