SpamAssassin: Header der Spam-Scores fehlt

Postfix, QMail, Sendmail, Dovecot, Cyrus, Courier, Anti-Spam
dante77
Posts: 36
Joined: 2006-10-18 11:33
 

SpamAssassin: Header der Spam-Scores fehlt

Post by dante77 »

Hallo, ich habe das Problem, dass SpamAssassin anscheinend keine Header-Bezeichnung für seine Spam-Infos schreibt, so dass ein Header mit SpamAssassin-Infos dann so aussieht (Auszug):
(...)
Content-Type: text/plain;
format=flowed;
charset="iso-8859-1";
reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.3790.2663
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757
SpamAssassin (not cached, score=25.421, required 6, autolearn=spam,
DATE_IN_PAST_06_12 0.75, FORGED_MUA_OUTLOOK 3.36, INVALID_MSGID 1.71,
RAZOR2_CF_RANGE_51_100 0.50, RAZOR2_CF_RANGE_E8_51_100 1.50,
RAZOR2_CHECK 0.50, RCVD_IN_BL_SPAMCOP_NET 1.33,
RCVD_IN_SORBS_DUL 1.99, RCVD_IN_XBL 3.11, URIBL_JP_SURBL 3.36,
URIBL_OB_SURBL 2.62, URIBL_SBL 1.09, URIBL_SC_SURBL 3.60)
Die SpamAssassin-Infos sollten natürlich nicht unter "X-MimeOLE" auftauchen. Weiss jemand, wo ich das einstellen kann?
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: SpamAssassin: Header der Spam-Scores fehlt

Post by Roger Wilco »

Welcher MTA? Wie hast du SpamAssassin eingebunden? Wie sieht die Konfiguration deines SpamAssassin aus?
flo
Posts: 2223
Joined: 2002-07-28 13:02
Location: Berlin
 

Re: SpamAssassin: Header der Spam-Scores fehlt

Post by flo »

dante77 wrote:Die SpamAssassin-Infos sollten natürlich nicht unter "X-MimeOLE" auftauchen.
Wie kommst Du darauf, daß diese bei "X-MimeOLE" auftauchen? Das steht doch da gar nicht?
dante77 wrote:Weiss jemand, wo ich das einstellen kann?
Ich würde mal auf ein Debian unstable tippen, da habe ich das gleiche Symptom gehabt. Sieh Dir die Configdaten an - die dürften irgendwo in /etc/ liegen - mehr geht derzeit nicht, weil Deine Infos leider sehr dürftig ausfallen.

flo.
dante77
Posts: 36
Joined: 2006-10-18 11:33
 

Re: SpamAssassin: Header der Spam-Scores fehlt

Post by dante77 »

Ich mache es nochmal anhand eines anderen Headers deutlich, SpamAssassin hängt seine Infos offenbar an den X-MimeOLE header ran (kann aber auch ein anderer sein, hab ich auch schon gesehen). Mit den Tabulatoren ist es vielleicht offensichtlicher.

Infos zum System: OpenSuSE 10.1, MTA ist Postfix 2.2.9 und es läuft der aktuelleste MailScanner (http://www.mailscanner.info), der SpamAssassin letztendlich auch aufruft. Spam-Erkennung funktioniert ansonsten bis jetzt sehr gut, alle Spam-Mails werden korrekt aussortiert und an ein separates Postfach weitergeleitet.

Dass da ein Header fehlt, ist einfach meine Vermutung, weil es für mich so aussieht. Ist direkt aus dem raw-source der message entnommen.

Code: Select all

(...)
Date: Fri, 20 Oct 2006 05:38:14 +0500
MIME-Version: 1.0
Content-Type: text/plain;
	format=flowed;
	charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.3790.2663
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757
	SpamAssassin (not cached, score=27.36, required 6, autolearn=spam,
	DATE_IN_PAST_06_12 0.75, FORGED_MUA_OUTLOOK 3.36, INVALID_MSGID 1.71,
	RAZOR2_CF_RANGE_51_100 0.50, RAZOR2_CF_RANGE_E4_51_100 1.50,
	RAZOR2_CF_RANGE_E8_51_100 1.50, RAZOR2_CHECK 0.50,
	RCVD_IN_BL_SPAMCOP_NET 1.33, RCVD_IN_SORBS_DUL 1.99,
	RCVD_IN_XBL 3.11, URIBL_JP_SURBL 3.36, URIBL_OB_SURBL 2.62,
	URIBL_SC_SURBL 3.60, URIBL_WS_SURBL 1.53)
Subject: {Spam?} Fwd:
X-Spam-Status: Yes
So und hier gleich noch ein Beispiel, ohne Outlook header, aber auch mit falsch platzierten SpamAssassin-Infos:

Code: Select all

(...)
Date: Fri, 20 Oct 2006 09:29:12 +0200
From: "Tanya Rush" <batt@embaweb.com>
X-Mailer: The Bat! (v2.00.6) Business
Reply-To: batt@embaweb.com
X-Priority: 3 (Normal)
Message-ID: <58642365792154.94E0AEDC66@AVKUIT1>
To: <xxxxx>
Subject: {Spam?} Fuller & Harder Erections
MIME-Version: 1.0
Content-Type: text/plain;
        charset="Windows-1252"
Content-Transfer-Encoding: 7bit
	SpamAssassin (not cached, score=8.806, required 6,
	DRUGS_ERECTILE 0.10, FORGED_MUA_THEBAT_CS 1.76,
	RAZOR2_CF_RANGE_51_100 0.50, RAZOR2_CF_RANGE_E8_51_100 1.50,
	RAZOR2_CHECK 0.50, RCVD_IN_BL_SPAMCOP_NET 1.33, RCVD_IN_XBL 3.11)
X-Spam-Status: Yes
(xxxxx bei To: stammt von mir)
dodolin
Posts: 3840
Joined: 2003-01-21 01:59
Location: Sinsheim/Karlsruhe
 

Re: SpamAssassin: Header der Spam-Scores fehlt

Post by dodolin »