From fea15aba8d1a68f2772fcf80e66b7ea4e9969e0f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 25 May 2013 18:14:44 -0300 Subject: Stopping to use the philter script and relying just on fetchmail --- modules/mutt/muttrc.dot.link | 6 ++++-- modules/mutt/procmailrc.dot.link | 14 +++++++++----- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/modules/mutt/muttrc.dot.link b/modules/mutt/muttrc.dot.link index ec3e91f..0edc648 100644 --- a/modules/mutt/muttrc.dot.link +++ b/modules/mutt/muttrc.dot.link @@ -348,8 +348,10 @@ mailboxes `echo $HOME/mail/Sync/*/*` #macro index f "!clear;offlineimap;fetchmail;philter.sh\n" "Sync remote with local mail" #macro pager f "!clear;fetchmail -v;philter.sh\n" "Sync remote with local mail" #macro index f "!clear;fetchmail -v;philter.sh\n" "Sync remote with local mail" -macro pager f "!clear;fetchmail;philter.sh\n" "Sync remote with local mail" -macro index f "!clear;fetchmail;philter.sh\n" "Sync remote with local mail" +#macro pager f "!clear;fetchmail;philter.sh\n" "Sync remote with local mail" +#macro index f "!clear;fetchmail;philter.sh\n" "Sync remote with local mail" +macro pager f "!clear;fetchmail\n" "Sync remote with local mail" +macro index f "!clear;fetchmail\n" "Sync remote with local mail" # ------------- # Ignore fields diff --git a/modules/mutt/procmailrc.dot.link b/modules/mutt/procmailrc.dot.link index 121c6e9..cc63544 100644 --- a/modules/mutt/procmailrc.dot.link +++ b/modules/mutt/procmailrc.dot.link @@ -3,7 +3,7 @@ # MAILDIR=$HOME/mail -LOGFILE=$HOME/.procmaillog +LOGFILE=$HOME/temp/misc/procmaillog LOGABSTRACT=no VERBOSE=off FORMAIL=/usr/bin/formail @@ -16,14 +16,18 @@ NL=" ##conditions are anded and everything after * is fed straight into egrep ##one action line follows the conditions, in this case it is a mailbox name -################################ -# Last rule: mail that gets # -# this far goes in default box # -################################ +# Custom recipes +INCLUDERC=$HOME/.custom/procmailrc + +# SPAM handling :0: * ^X-Spam-Flag: YES INBOX.Trash/new +################################ +# Last rule: mail that gets # +# this far goes in default box # +################################ :0 * .* INBOX/new -- cgit v1.2.3