-
Notifications
You must be signed in to change notification settings - Fork 3
/
procmailrc
101 lines (79 loc) · 1.6 KB
/
procmailrc
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
MAILDIR=$HOME/.mail
LOGFILE=$HOME/.procmaillog
LOGABSTRACT=no
#VERBOSE=on...is only used for debugging
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
#:0 fw
#| /usr/bin/spamc -f
:0
* X-Spam-Status: Yes
$MAILDIR/spam/
:0
* X-Junkmail: UCE
$MAILDIR/spam/
#catch duplicates using formail
:0 Whc: .msgid.lock
| $FORMAIL -D 16384 .msgid.cache
:0 a
$MAILDIR/duplicates/
:0
* ^.*:.*(\[Getting_Things_Done\]|\[GTD\])
$MAILDIR/lists/gtd/
:0
* ^.*:.*(\[AnalogGTD\])
$MAILDIR/lists/gtd-ana/
:0
* ^.*:.*\[GtD_Palm\]
$MAILDIR/lists/gtd_palm/
:0
* ^.*:.*arch\@archlinux.org
$MAILDIR/lists/arch/
:0
* ^.*:.*[email protected]
$MAILDIR/lists/arch-tur/
:0
* ^.*:.*[email protected]
$MAILDIR/lists/arch-dev/
:0
* ^.*:.*[email protected]
$MAILDIR/lists/pacman-dev/
:0
* ^.*:.*mc\@gnome.org
$MAILDIR/lists/mc/
:0
* ^To:.*ion-general
$MAILDIR/lists/ion/
:0
* ^.*:.*vim.org
$MAILDIR/lists/vim-dev/
:0
* ^.*:.*linux-uvc-devel
$MAILDIR/lists/uvc/
:0
* ^.*:.*zsh-(workers|users)@sunsite\.dk
$MAILDIR/lists/zsh/
#:0
#* ^.*:.*vt.edu
#$MAILDIR/vt/
#now put my mail lists into mailboxes
#:0
#* ^List-Id:.*gentoo-user
#gentoo-user
################################
# Last rule: mail that gets #
# this far goes in default box #
################################
:0
* .*
$MAILDIR/default/
# End of file