aboutsummaryrefslogtreecommitdiff
path: root/modules/mutt
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mutt')
-rw-r--r--modules/mutt/muttrc.dot.link6
-rw-r--r--modules/mutt/procmailrc.dot.link14
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 <esc>f "!clear;offlineimap;fetchmail;philter.sh\n" "Sync remote with local mail"
#macro pager <esc>f "!clear;fetchmail -v;philter.sh\n" "Sync remote with local mail"
#macro index <esc>f "!clear;fetchmail -v;philter.sh\n" "Sync remote with local mail"
-macro pager <esc>f "!clear;fetchmail;philter.sh\n" "Sync remote with local mail"
-macro index <esc>f "!clear;fetchmail;philter.sh\n" "Sync remote with local mail"
+#macro pager <esc>f "!clear;fetchmail;philter.sh\n" "Sync remote with local mail"
+#macro index <esc>f "!clear;fetchmail;philter.sh\n" "Sync remote with local mail"
+macro pager <esc>f "!clear;fetchmail\n" "Sync remote with local mail"
+macro index <esc>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