#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
#
MAILDIR=$HOME/mail
-LOGFILE=$HOME/.procmaillog
+LOGFILE=$HOME/temp/misc/procmaillog
LOGABSTRACT=no
VERBOSE=off
FORMAIL=/usr/bin/formail
##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