[Dovecot] getting rid of old spam from +spam Maildir ? [ auto purging spambox]

Andrzej A. Filip andrzej.filip at gmail.com
Tue Jul 10 18:54:12 EEST 2012

On 07/10/2012 01:25 PM, Voytek Eymont wrote:
> I'm trying to setup per user '+spam' delivery from amavis tags, so that
> each user gets any mails tagged as spam to 'spam' Maildir via +spam
> Dovecot lmtp delivery.
> after say 7 days I want to delete all spams older than 7 days,
> if I simply delete mail files from the file system, is that a 'bad thing' ?
> [...]
IMHO 7 days is dangerously too short. False positives during vacations
happen too ;-)

I would suggest at least 30 days (as used by Gmail).

More information about the dovecot mailing list