Files
bpfire/config/procmail/procmailrc
ms 371d9df0da Hinzugefügt:
* In Mailserverkonfiguration fortgeschritten...


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@178 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-06-14 21:19:05 +00:00

34 lines
497 B
Plaintext

# Procmail
LOGFILE="/var/log/procmail"
VERBOSE=off
# Mailbox-Zustellung
DELIVERMAIL="/usr/cyrus/bin/deliver"
INBOX="$DELIVERMAIL -r $SENDER -m $EXTENSION $USER"
SPAM="$DELIVERMAIL -e -a $USER -q -m user.$USER.spam"
# "From" Zeile loeschen, sonst funktioniert cydeliver nicht
:0fw
| formail -f -I "From "
:0fw
* < 256000
| /usr/bin/spamc -u filter
# --- score = 11
:0 w
* ^X-Spam-Level: \*\*\*\*\*\*\*\*\*\*\*
| $SPAM
# Der Mailbox zustellen
:0w
| $INBOX
# Schluss
:0w
{
EXITCODE=$?
HOST
}