iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
various minor fixes
[distro-setup]
/
fsf-get-mail
diff --git
a/fsf-get-mail
b/fsf-get-mail
index ee7caee28ee1f00524569f1f346bb1a287c78c59..4bcd151a37e6dd6e2b262228cc9b94592da79f22 100755
(executable)
--- a/
fsf-get-mail
+++ b/
fsf-get-mail
@@
-4,8
+4,11
@@
#offlineimap -a fsf
# delete based on http://deflexion.com/2006/05/imap-way-of-deleting-message
#offlineimap -a fsf
# 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
+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, and if offlineimap is running,
+# it can index messages which are in the wrong folder.
+# Just run it again if this happens.
# 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
# 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