amavis-new und SpamAssasin
Hallo!
Ich habe hier postfix, cyrus in Kombination mit amavis-new (debain
sarge) laufen. Die Virenprüfung klappt hervorragend, Spams laufen
allerdings ungehindert in die Mailboxen.
Könnt ihr mir sagen warum?
Hier Ausschnitte aus meinen Konfig-Dateien:
/etc/postfix/main.cf:
content_filter=smtp-amavis:[127.0.0.1]:10024
receive_override_options = no_address_mappings
/etc/postfix/master.cf
127.0.0.1:10025 inet n - n - - smtpd
-o content_filter=
-o local_recipient_maps=
-o relay_recipient_maps=
-o smtpd_restriction_classes=
-o smtpd_client_restrictions=permit_mynetworks,reject
-o smtpd_helo_restrictions=
-o smtpd_sender_restrictions=
-o smtpd_data_restrictions=reject_unauth_pipelining
-o smtpd_end_of_data_restrictions=
-o smtpd_recipient_restrictions=permit_mynetworks,reject
-o mynetworks_style=host
-o mynetworks=127.0.0.0/8,192.168.0.0/24
-o strict_rfc821_envelope=yes
-o
recieve_override_options=no_unknown_recipient_checks,no_header_body_checks
-o smtpd_bind_adress=127.0.0.1
smtp-amavis unix - - n - 4 smtp
-o smtp_data_done_timeout=1800
-o disable_dns_lookups=yes -o smtp_send_xforward_command=yes
-o max_use=20
cyrus unix - n n - - pipe flags=R
user=cyrus argv=/usr/sbin/cyrdeliver -e -m ${extension} ${user}
/etc/amavis/amavis.conf
# @bypass_virus_checks_acl = qw( . ); # uncomment to DISABLE anti-virus
code
# @bypass_spam_checks_acl = qw( . ); # uncomment to DISABLE anti-spam
code
$final_virus_destiny = D_DISCARD; # (defaults to D_BOUNCE)
$final_banned_destiny = D_BOUNCE; # (defaults to D_BOUNCE)
$final_spam_destiny = D_REJECT; # (defaults to D_REJECT)
$final_bad_header_destiny = D_PASS; # (defaults to D_PASS), D_BOUNCE
suggested
$sa_tag_level_deflt = 4.0; # add spam info headers if at, or above that
level
$sa_tag2_level_deflt = 6.3; # add 'spam detected' headers at that level
$sa_kill_level_deflt = $sa_tag2_level_deflt; # triggers spam evasive
actions
Außerdem habe ich unter /etc/spamassasin/local.cf folgende Einträge
rewrite_header Subject *****SPAM*****
required_score 5.0
use_bayes 1
bayes_auto_learn 1
bayes_ignore_header X-Bogosity
bayes_ignore_header X-Spam-Flag
bayes_ignore_header X-Spam-Status
es laufen folgende Prozesse:
root 4912 0.0 4.9 28160 25288 ? Ss Dec03 0:00
/usr/sbin/spamd --create-prefs --max-children 5 --helper-home-dir -d
--pidfile=/var/run/spamd.pid
root 4919 0.0 4.9 28160 25288 ? S Dec03 0:00 spamd
child
root 4920 0.0 4.9 28160 25288 ? S Dec03 0:00 spamd
child
amavis 3752 0.0 6.4 36280 33240 ? Ss Dec03 0:00 amavisd
(master)
amavis 3755 0.0 0.1 10100 576 ? Ssl Dec03 0:00
/usr/sbin/amavis-milter -D -p /var/lib/amavis/amavisd-new-milter.sock
amavis 15339 0.0 6.6 37288 34300 ? S 15:35 0:01 amavisd
(child)
amavis 15345 0.0 6.7 37476 34548 ? S 15:36 0:01 amavisd
(child)
-------
Meine amavis.log sagt zum Beispiel:
Dec 3 13:25:57 homestone amavisd-new[3786]: (03786-09) Passed,
<bounce-debian-user-german=m.mueller=hausstein.at@lists.debian.org> ->
<m.mueller@hausstein.at>, Message-ID: <200512031325.47021.Meinerseins
@worldonline.de>, Hits: 0.048
Denk ich hier falsch, oder zeigt der Eintrag "Hits: 0.048" an, dass die
Mail durch spamassasin läuft?
-------
Ich wollte amavisd mit debug starten, das klappt aber nicht, da es über
/etc/init.d/amavis debug natürlich nicht geht, amavisd ist aber nicht zu
finden und amvis debug zeigt keinerlei Meldungen an und legt außerdem
das Mailsystem lahm.
Was sagt Ihr Spezialisten zu dem Problem?
Danke für jeden Hinweis!
LG, Martin
Reply to: