commit 6a5aeea2e7d68499d1db97b4320649780f23487e parent c19ec86d5ede208dc58435e47cb5966c0bcade97 Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Tue, 8 Mar 2016 09:36:25 -0800 run imapfilter when fetching email Diffstat:
M | .mutt/muttrc | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.mutt/muttrc b/.mutt/muttrc @@ -154,8 +154,8 @@ set query_command= "abook --mutt-query '%s'" macro index,pager A "!$EDITOR ~/.mutt/aliases\n:source ~/.mutt/aliases\n" "Edit aliases file and reload it" # Sync email -macro index O "<shell-escape>offlineimap<enter>" "run offlineimap to sync all mail" -macro index o "<shell-escape>offlineimap -qf INBOX<enter>" "run offlineimap to sync inbox" +macro index O "<shell-escape>imapfilter -c ~/.imapfilter/riseup.lua && offlineimap<enter>" "run offlineimap to sync all mail" +macro index o "<shell-escape>imapfilter -c ~/.imapfilter/riseup.lua && offlineimap -qf INBOX<enter>" "run offlineimap to sync inbox" # View and select urls macro pager U "|urlview<enter>" "call urlview to open links"