habe jetzt versucht Spamassassin zu installieren, das scheint auch soweit zu funktionieren, jedoch scheitere ich bei procmail. Wenn ich eine E-Mail erhalte wird sie an procmail weitergegeben von spamd kontrolliert und dann wieder zurück an procmail geben, dieser jedoch schafft es nicht die email richtig in das maildir einzusortieren.
Nachdem ich eine E-Mail erhalten habe sieht es so aus :
Die Nachricht msg.VC8H wird leider nicht einsortiert./var/mail/web0p2# dir
Maildir msg.VC8H
Meine /etc/procmailrc
Ich finde leider den Fehler nicht. Außerdem wird kein logfile von procmail erstellt auch wenn ich die Datei manuell anlege nicht. Jedoch kenne ich nicht die genau benötigten Rechte.#DROPPRIVS=yes
LOGFILE=/var/log/procmail
#VERBOSE=ON
SHELL=/bin/sh
:0fw
* < 256000
| spamc -f
# Mails with a score of 15 or higher are almost certainly spam (with 0.05%
# false positives according to rules/STATISTICS.txt). Let's put them in a
# different mbox. (This one is optional.)
#:0:
#* ^X-Spam-Level: ***************
#/var/spool/mail/almost-certainly-spam
# All mail tagged as spam (eg. with a score higher than the set threshold)
# is moved to "probably-spam".
#:0:
#* ^X-Spam-Status: Yes
#/var/spool/mail/probably-spam
# Work around procmail bug: any output on stderr will cause the "F" in "From"
# to be dropped. This will re-add it.
:0 H
* ! ^From[ ]
* ^rom[ ]
{
LOG="*** Dropped F off From_ header! Fixing up. "
:0 fhw
| sed -e 's/^rom /From /'
}
So siehts z.Zt aus:
Vielen Dankls -lah /var/log/procmail
-rw-r--r-- 1 root root 0 Jul 13 12:22 /var/log/procmail