mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-12 04:05:53 +02:00
* In Mailserverkonfiguration fortgeschritten... git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@178 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
34 lines
497 B
Plaintext
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
|
|
}
|