José Ildefonso Camargo Tolosa
2008-May-06 19:47 UTC
[Dovecot] Question about Maildir automatic cleanup.
Hi! I want to automatically delete old messages from one user's Maildir, and I was thinking on running something like this: find /home/user/Maildir/cur/ /home/user/Maildir/new/ -daystart -mtime +15 -delete but I'm not sure if by deleting messages "manually" I will break the dovecot.index* files. What do you think? Thanks! Ildefonso. ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Words by Jos? Ildefonso Camargo Tolosa [Tue, May 06, 2008 at 12:47:30PM -0700]:> Hi! > > I want to automatically delete old messages from one user's Maildir, and I was thinking on running something like this: > > find /home/user/Maildir/cur/ /home/user/Maildir/new/ -daystart -mtime +15 -delete > > but I'm not sure if by deleting messages "manually" I will break the dovecot.index* files. > > What do you think? >The index files will "auto-fix". -- Jose Celestino | http://japc.uncovering.org/files/japc-pgpkey.asc ---------------------------------------------------------------- "I trust my family jewels only to Linux" -- Knuth