]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - config/procmail/procmailrc
"Update Booster" fertiggestellt und getestet.
[people/pmueller/ipfire-2.x.git] / config / procmail / procmailrc
1 # Procmail
2 LOGFILE="/var/log/procmail"
3 VERBOSE=off
4
5 # Mailbox-Zustellung
6 DELIVERMAIL="/usr/cyrus/bin/deliver"
7 INBOX="$DELIVERMAIL -r $SENDER -m $EXTENSION $USER"
8 SPAM="$DELIVERMAIL -e -a $USER -q -m user.$USER.spam"
9
10 # "From" Zeile loeschen, sonst funktioniert cydeliver nicht
11 :0fw
12 | formail -f -I "From "
13
14 :0fw
15 * < 256000
16 | /usr/bin/spamc -u filter
17
18 # --- score = 11
19
20 :0 w
21 * ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*
22 | $SPAM
23
24 # Der Mailbox zustellen
25 :0w
26 | $INBOX
27
28 # Schluss
29 :0w
30 {
31 EXITCODE=$?
32 HOST
33 }