blob: f07c011fdd1f6ca1b5f32c1186c228e5865747ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
#
# Procmail rules
#
MAILDIR=$HOME/mail
LOGFILE=$HOME/temp/misc/procmaillog
LOGABSTRACT=no
VERBOSE=off
FORMAIL=/usr/bin/formail
NL="
"
##recipe lines begin with :0
##dont put comments on recipe lines
##disable a recipe with the false condition !
##condition lines begin with * and regex is your friend
##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
#
# SPAM handling
#
:0:
* ^X-Spam-Flag: YES
INBOX.Trash/new
:0:
*^Subject:.*(SPAM)
INBOX.Trash/new
:0:
*^X-Bogosity:.*Yes
INBOX.Trash/new
# Custom recipes
INCLUDERC=$HOME/.custom/procmailrc
################################
# Last rule: mail that gets #
# this far goes in default box #
################################
:0
* .*
INBOX/new
|