Switching from mbsync to offlineimap. More mail crap
parent
8a8771581a
commit
f28c485ce7
@ -0,0 +1,5 @@
|
||||
import logging
|
||||
from subprocess import call
|
||||
def post_envelope_send(**kwargs):
|
||||
logging.info('calling "notmuch new!"')
|
||||
call(["notmuch", "new"])
|
@ -1,5 +1,5 @@
|
||||
#!/bin/bash
|
||||
while true; do
|
||||
afew -m; mbsync -a; notmuch new
|
||||
afew -m; offlineimap; notmuch new
|
||||
sleep 45
|
||||
done
|
||||
|
@ -1,2 +1,9 @@
|
||||
#!/bin/sh
|
||||
|
||||
# For mail my other MUAs has moved
|
||||
|
||||
# Look for mail in folder INBOX.Archive that have inbox. Remove inbox.
|
||||
notmuch tag -inbox -- folder:INBOX.Archive tag:inbox
|
||||
|
||||
# Initial tagging for new mail
|
||||
afew --tag --new
|
||||
|
Loading…
Reference in New Issue