]> git.sven.stormbind.net Git - sven/scripts.git/blob - home/procmailrc_address_feeder
add a workaround to bring up lokal host only virtualbox interfaces
[sven/scripts.git] / home / procmailrc_address_feeder
1 DROPPRIVS=yes
2 SHELL=/bin/sh
3 MAILDIR=$HOME/Maildir
4 DEFAULT=$MAILDIR/new
5 LOGABSTRACT=all
6 VERBOSE=no
7 LOGFILE=$HOME/procmail.log
8
9 ### Forwarded to learn SPAM/HAM?
10 :0
11 * ^To:.*feedspam2011@.*
12 | bogofilter -e -s -l
13
14 :0e
15 { EXITCODE=75 HOST }
16
17 :0
18 * ^To:.*feedham2011@.*
19 | bogofilter -e -n -l
20
21 :0e
22 { EXITCODE=75 HOST }
23
24
25 ### Pass every other mail through bogofilter
26 :0fw
27 | bogofilter -e -p -l
28
29 :0e
30 { EXITCODE=75 HOST }
31
32 ### Deliver the mail
33 :0
34 $DEFAULT