aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-05-25 18:14:44 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-05-25 18:14:44 -0300
commitfea15aba8d1a68f2772fcf80e66b7ea4e9969e0f (patch)
tree6c9a10b13407424799be1890397a97018fc65dd3
parent6c0ae7f859da1f3e0fb13335e9c65b12d43481f3 (diff)
downloadmetadot-fea15aba8d1a68f2772fcf80e66b7ea4e9969e0f.tar.gz
metadot-fea15aba8d1a68f2772fcf80e66b7ea4e9969e0f.tar.bz2
Stopping to use the philter script and relying just on fetchmail
-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