PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : SUSE 9.1 CYRUS SPAMASsassin problem



pammer72
13.09.04, 13:46
Hallo !

Da ich meinen eigenen E-mail Server betreiben will habe ich mir von meiner suse9.1 die Packette :
postfix
cyrus mit Vierenscanner
spamassassin
und SquirrelMail
installiert.

es funkt. auch alles das heist ich bekomme alle mails zugestelt und kan sie dann mit SquirrelMail oder einem imap clienten lesen.

nur bei spamassassin finde ich keine lösung .
in der amavisd.conf habe ich folgende einträge:


# SpamAssassin settings

$sa_local_tests_only = 0; # (default: false)
#$sa_auto_whitelist = 1; # turn on AWL (default: false)

$sa_timeout = 30;
$sa_mail_body_size_limit = 150*1024;
$sa_tag_level_deflt = 3.0; # add spam info headers if at, or above that level
$sa_tag2_level_deflt = 5.0;
$sa_kill_level_deflt = $sa_tag2_level_deflt; # triggers spam evasive actions
extension

$sa_dsn_cutoff_level = 10; # spam level beyond which a DSN is not sent,

$sa_spam_subject_tag = '***SPAM*** '; # (defaults to undef, disabled)
true

Kommt eine Mail wo der Absender Auf meiner blacklist steht habe ich volgende log einträge:



Sep 12 18:54:46 mail postfix/smtpd[23728]: connect from web50110.mail.yahoo.com[206.190.38.38]
Sep 12 18:54:46 mail postfix/smtpd[23728]: B24631E67D: client=web50110.mail.yahoo.com[206.190.38.38]
Sep 12 18:54:47 mail postfix/cleanup[23732]: B24631E67D: message-id=<20040912165258.39093.qmail@web50110.mail.yahoo.com>
Sep 12 18:54:47 mail postfix/qmgr[23157]: B24631E67D: from=<test@yahoo.de>, size=1322, nrcpt=1 (queue active)
Sep 12 18:54:47 mail postfix/smtp[23733]: connect to localhost[::1]: Connection refused (port 10024)
Sep 12 18:54:47 mail postfix/smtpd[23728]: disconnect from web50110.mail.yahoo.com[206.190.38.38]
Sep 12 18:54:47 mail amavis[23663]: (23663-01) ESMTP::10024 /var/spool/amavis/amavis-20040912T185447-23663: <test@yahoo.de> -> <test@test.at> Received: SIZE=1322 BODY=8BITMIME from mail.test.at ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23663-01 for <test@test.at>; Sun, 12 Sep 2004 18:54:47 +0200 (CEST)
Sep 12 18:54:47 mail amavis[23663]: (23663-01) Checking: <test@yahoo.de> -> <test@test.at>
Sep 12 18:54:49 mail amavis[23663]: (23663-01) spam_scan: hits=104.871 tests=FROM_ENDS_IN_NUMS,HTML_20_30,HTML_MESSAGE,TR ACKER_ID,USER_IN_BLACKLIST
Sep 12 18:54:49 mail amavis[23663]: (23663-01) SPAM, <test@yahoo.de> -> <test@test.at>, Yes, hits=104.9 tag1=3.0 tag2=5.0 kill=5.0 tests=FROM_ENDS_IN_NUMS, HTML_20_30, HTML_MESSAGE, TRACKER_ID, USER_IN_BLACKLIST
Sep 12 18:54:49 mail amavis[23663]: (23663-01) FWD via SMTP: [127.0.0.1]:10025 <test@yahoo.de> -> <test@jtest.at>
Sep 12 18:54:49 mail postfix/smtpd[23736]: connect from localhost[127.0.0.1]
Sep 12 18:54:49 mail postfix/smtpd[23736]: EDB331E7B1: client=localhost[127.0.0.1]
Sep 12 18:54:50 mail postfix/cleanup[23732]: EDB331E7B1: message-id=<20040912165258.39093.qmail@web50110.mail.yahoo.com>
Sep 12 18:54:50 mail postfix/qmgr[23157]: EDB331E7B1: from=<test@yahoo.de>, size=1697, nrcpt=1 (queue active)
Sep 12 18:54:50 mail postfix/smtpd[23736]: disconnect from localhost[127.0.0.1]
Sep 12 18:54:50 mail amavis[23663]: (23663-01) Passed, <test@yahoo.de> -> <test@testat>, quarantine spam-27ea563b59f294168e8b87135540a65f-20040912-185449-23663-01, Message-ID: <20040912165258.39093.qmail@web50110.mail.yahoo.com>, Hits: 104.871
Sep 12 18:54:50 mail amavis[23663]: (23663-01) TIMING [total 3028 ms] - SMTP EHLO: 12 (0%), SMTP pre-MAIL: 1 (0%), mkdir tempdir: 1 (0%), create email.txt: 2 (0%), SMTP pre-DATA-flush: 23 (1%), SMTP DATA: 23 (1%), body hash: 2 (0%), mkdir parts: 27 (1%), mime_decode: 91 (3%), get-file-type: 150 (5%), get-file-type: 20 (1%), decompose_part: 26 (1%), decompose_part: 1 (0%), parts: 0 (0%), SA msg read: 6 (0%), SA parse: 6 (0%), SA check: 1569 (52%), fwd-connect: 610 (20%), fwd-mail-from: 4 (0%), fwd-rcpt-to: 38 (1%), write-header: 10 (0%), fwd-data: 1 (0%), fwd-data-end: 381 (13%), fwd-rundown: 6 (0%), unlink-2-files: 17 (1%), rundown: 1 (0%)
Sep 12 18:54:50 mail postfix/smtp[23733]: B24631E67D: to=<test@test.at>, relay=localhost[127.0.0.1], delay=4, status=sent (250 2.6.0 Ok, id=23663-01, from MTA: 250 Ok: queued as EDB331E7B1)
Sep 12 18:54:50 mail postfix/qmgr[23157]: B24631E67D: removed
Sep 12 18:54:51 mail postfix/pipe[23738]: EDB331E7B1: to=<test@test.at>, orig_to=<test@test.at>, relay=cyrus, delay=2, status=sent (mail.test.at)
Sep 12 18:54:51 mail postfix/qmgr[23157]: EDB331E7B1: removed


Meiner meinung müsste spamassassin die mail richtig als spam erkant haben .
leider finde ich die mail dan unverändert (kein '### spam ### im Haeder) in meinem imap postfach ;(

bitte helft mir so kurz vorm ziel ;)