ich habe Probleme mit meinem Mailverkehr. SA und Postfix funktioniert soweit, jedoch können interne Mails, also von einem POP-Konto zum anderen POP-Konto auf dem gleichen Server manchmal nicht zugestellt werden und SA löscht die Mails dann einfach mit dem Grund: identifiziert als SPAM.
Also denke ich, dass an meiner Konfig von SA etwas nicht stimmen kann und hoffe, ihr könnt mir helfen:
procmailrc:
Code: Select all
DROPPRIVS=yes
LOGFILE=/var/log/procmail.log
VERBOSE=ON
SHELL=/bin/sh
# The condition line ensures that only messages smaller than 250 kB
# (250 * 1024 = 256000 bytes) are processed by SpamAssassin. Most spam
# isn`t bigger than a few k and working with big messages can bring
# SpamAssassin to its knees.
:0fw
* < 256000
| /usr/bin/spamc
:0e
{
EXITCODE=$?
}
#Bitte auskommentieren,wenn man die Spam-Mails wirklich löschen will:
:0:
# Wenn es Spam ist, Mail löschen
* ^X-Spam-Status: Yes
/var/mail/web1p3
# Scan for viruses
:0
VIRUS=|clamdscan --mbox --disable-summary --stdout -
:0fw
* VIRUS ?? ^.*: /.* FOUND
| formail -b -f -t -I "X-Clamav-status: Yes, $MATCH"
:0Efw
| formail -b -f -t -I "X-Clamav-status: No"
#EOF
/etc/mail/spamassassin/local.cf
Code: Select all
required_hits 6.5
rewrite_subject 0
report_header 1
use_terse_report 1
defang_mime 1
skip_rbl_checks 0
check_mx_attempts 2
check_mx_delay 5
Code: Select all
May 21 16:08:48 pXXXXXXXX postfix/qmgr[10219]: 3702C421F5A: from=<mailxxx@xxxxx.de>, size=7880, nrcpt=2 (queue active)
May 21 16:08:49 pXXXXXXXX spamd[14194]: connection from localhost.localdomain [127.0.0.1] at port 49931
May 21 16:08:49 pXXXXXXXX spamd[11425]: info: setuid to web1p2 succeeded
May 21 16:08:49 pXXXXXXXX spamd[11425]: processing message <20040521140848.3702C421F5A@mx.XXXXXXXXXXXX.com> for web1p2:737.
May 21 16:08:49 pXXXXXXXX spamd[11425]: identified spam (6.8/6.5) for web1p2:737 in 0.2 seconds, 7855 bytes.
May 21 16:08:49 pXXXXXXXX postfix/local[11205]: 3702C421F5A: to=<web1p2@XXXXXXXXXXXX.com>, orig_to=<mail2@XXXXXXXXXXXX.com>, relay=local, delay=1, status=sent ("|/usr/bin/procmail")
May 21 16:08:49 pXXXXXXXX smtpd[11184]: disconnect from p508CEE8F.dip.t-dialin.net[80.140.238.143]
Karsten