]> git.ipfire.org Git - ipfire-2.x.git/blame - config/procmail/procmailrc
Pakfire Fixes.
[ipfire-2.x.git] / config / procmail / procmailrc
CommitLineData
371d9df0
MT
1# Procmail
2LOGFILE="/var/log/procmail"
3VERBOSE=off
4
5# Mailbox-Zustellung
6DELIVERMAIL="/usr/cyrus/bin/deliver"
7INBOX="$DELIVERMAIL -r $SENDER -m $EXTENSION $USER"
8SPAM="$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{
31EXITCODE=$?
32HOST
33}