[Dovecot] Mailbox archiving

Timo Sirainen tss at iki.fi
Mon Jun 28 22:35:52 EEST 2004


On Mon, 2004-06-28 at 21:42, Rick Johnson wrote:
> This could be handled either via a script on the server side:
> I run this nightly via cron (as root):
> 
> find /home/*/Maildir/ -name "*2,*T*" -type f -exec rm {} \;

Just a small note: "*:2,*T*" would be a bit safer as the maildir base
name can contain "2," string, but not ':' character. ',' is already used
by some clients to include extra information with the file, eg. file
size with maildir++ quota: "base,S=123:2,".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20040628/6caaf43b/attachment-0001.bin>


More information about the dovecot mailing list