various fixes and improvements
[distro-setup] / fsf-get-mail
index ee7caee28ee1f00524569f1f346bb1a287c78c59..16c8d7e6fc93f096bffda6f1fdbce868ae307068 100755 (executable)
@@ -6,6 +6,9 @@
 # delete based on http://deflexion.com/2006/05/imap-way-of-deleting-message
 sieve-filter -eW -o mail_location=maildir:/nocow/user/fsfmd:LAYOUT=fs:INBOX=/nocow/user/fsfmd/INBOX ~/sieve/fsf.sieve INBOX delete &>/tmp/fsfsieve.log
 
+# mu indexing happens after this, it gets files that have been moved
+# from the above command. So, trying this out to fix it out.
+sleep 0.5
 
 # to test new rules, update fsf-test.sieve, run these commands, then copy new fsf-test.sieve to fsf.sieve
 # sieve-filter -o mail_location=maildir:/nocow/user/fsfmd:LAYOUT=fs:INBOX=/nocow/user/fsfmd/INBOX ~/sieve/fsf-test.sieve INBOX &>/tmp/testfsfsieve.log