Hi, I have set up a dovecot imap server (Version 1.0.15 on Debain Lenny). Until know I used courier. Every night I run a script calling archivemail ( http://archivemail.sourceforge.net/) to delete all messages in the Spam folder that are older than 30 days archivemail deletes the files directly in the Maildir folder. I am not using IMAP for this (cause I don't want to store the passwords in plain text). I know that dovecot uses index files to speed up Maildir access. Will there be any problems with the index files when I delete the old spam like this? Cheers Mario
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Mon, 25 Jan 2010, gstyle wrote:> I know that dovecot uses index files to speed up Maildir access. Will there > be any problems with the index files when I delete the old spam like this?No, but the usual problems with distributed IMAP: e.g. an already connected client might not honor the removal before a manual refresh. Regards, - -- Steffen Kaiser -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBS12vVr+Vh58GPL/cAQLHYgf/UrYDMPW43eV3WKaCcZYgdC4/BPU6E1ey odzFqZiTBEHMlz0//MV4+X6ktWGttvMY4fxfigan28Hnztfr+//RQl/g/AHBvor/ S/9OVrdBrsGNNvWfarG/wOuxwhzlwZg++nWfkJPcu4m0MN4YFUTGmeQzVvWZ1LY9 5w4edG3PTDYttKQn04J+d/mFfizq6FCialdw5jybt24ABkp+536ogmAGPzorZVno SpiLtIDF+ok7b+Zc+OSbf9JJUoXmAtaV+Z+Tx7t5MsTZaA4K9zrJCMxjLJ7TdYqp pdQPg/u5PeZu7eIMWtqMoIku3reszIlBqOEK9/2GouOCNOgYDscD/A==H51B -----END PGP SIGNATURE-----
On 2010-01-25 8:53 AM, gstyle wrote:> Every night I run a script calling archivemail ( > http://archivemail.sourceforge.net/) to delete all messages in the Spam > folder that are older than 30 days > > archivemail deletes the files directly in the Maildir folder. I am not using > IMAP for this (cause I don't want to store the passwords in plain text). > > I know that dovecot uses index files to speed up Maildir access. Will there > be any problems with the index files when I delete the old spam like this?No, the indexes are self-healing, but... You'd be better off upgrading to the latest stable version (via backports) and using the expire plugin - its made for doing things just like this. http://wiki.dovecot.org/Plugins/Expire -- Best regards, Charles