Spamassassin schreibt keine Header nach Upgrade

maggus
Posts: 30
Joined: 2004-04-19 21:06

Spamassassin schreibt keine Header nach Upgrade

Post by maggus »

Hallo Zusammen,

nach einem Upgrade von SA 2.5 auf SA 3.1 erkennt Spamassassing zwar Spam, schreibt aber weder die Mail-Header, noch wird das Subject umgeschrieben.

Perl: 5.8.1
Spamassassin: 3.1.8
Postfix
Suse Linux Kernel 2.4.25

Clam AV läuft (clamsmtpd) auf Port 10026. Spamassassing ist über spamd eingebunden (Debug-Modus).

Hier ein Ausschnitt aus dem Mail-Log:

Code: Select all

Mar 20 07:18:27 h90152 postfix/smtpd[11760]: connect from ...
Mar 20 07:18:27 h90152 postfix/smtpd[11760]: 4E1371E8083: client=...
Mar 20 07:18:27 h90152 postfix/cleanup[11761]: 4E1371E8083: message-id=<30fbb07679c55222b7e53642c6f3a0a5@...>
Mar 20 07:18:27 h90152 postfix/qmgr[11641]: 4E1371E8083: from=<...>, size=1564, nrcpt=1 (queue active)
Mar 20 07:18:27 h90152 postfix/smtpd[11760]: disconnect from ...
Mar 20 07:18:27 h90152 spamd[27874]: logmsg: connection from localhost [127.0.0.1] at port 51611
Mar 20 07:18:27 h90152 spamd[27874]: connection from localhost [127.0.0.1] at port 51611
Mar 20 07:18:27 h90152 spamd[11764]: logmsg: processing message <30fbb07679c55222b7e53642c6f3a0a5@...> for nobody:666.
Mar 20 07:18:27 h90152 spamd[11764]: processing message <30fbb07679c55222b7e53642c6f3a0a5@...> for nobody:666.
Mar 20 07:18:32 h90152 popper[11768]: Stats: web16p2 0 0 1 564 pd9e07f4c.dip.t-dialin.net 217.224.127.76 [pop_updt.c:296]
Mar 20 07:18:37 h90152 spamd[11764]: Use of uninitialized value in split at /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/PerMsgStatus.pm line 873.
Mar 20 07:18:37 h90152 spamd[11764]: Use of uninitialized value in pattern match (m//) at /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/PerMsgStatus.pm line 880.
Mar 20 07:18:37 h90152 spamd[11764]: Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/site_perl/5.8.1/Mail/SpamAssassin/PerMsgStatus.pm line 954.
Mar 20 07:18:37 h90152 spamd[11764]: logmsg: clean message (5.0/5.0) for nobody:666 in 10.2 seconds, 1529 bytes.
Mar 20 07:18:37 h90152 spamd[11764]: clean message (5.0/5.0) for nobody:666 in 10.2 seconds, 1529 bytes.
Mar 20 07:18:37 h90152 postfix/pickup[11640]: A12C01E8088: uid=65534 from=<...>
Mar 20 07:18:37 h90152 postfix/cleanup[11761]: A12C01E8088: message-id=<30fbb07679c55222b7e53642c6f3a0a5@...>
Mar 20 07:18:37 h90152 postfix/pipe[11762]: 4E1371E8083: to=<...>, orig_to=<...>, relay=spamassassin, delay=10, status=sent (...)
Mar 20 07:18:37 h90152 postfix/qmgr[11641]: A12C01E8088: from=<...>, size=1691, nrcpt=1 (queue active)
Mar 20 07:18:37 h90152 clamsmtpd: 147737: accepted connection from: 127.0.0.1
Mar 20 07:18:37 h90152 postfix/smtpd[11773]: connect from localhost[127.0.0.1]
Mar 20 07:18:37 h90152 postfix/smtpd[11773]: B51C41E8083: client=localhost[127.0.0.1]
Mar 20 07:18:37 h90152 postfix/cleanup[11761]: B51C41E8083: message-id=<30fbb07679c55222b7e53642c6f3a0a5@...>
Mar 20 07:18:37 h90152 postfix/qmgr[11641]: B51C41E8083: from=<...>, size=1948, nrcpt=1 (queue active)
Mar 20 07:18:37 h90152 clamsmtpd: 147737: from=..., to=..., status=CLEAN
Mar 20 07:18:37 h90152 postfix/smtp[11771]: A12C01E8088: to=<...>, relay=127.0.0.1[127.0.0.1], delay=0, status=sent (250 Ok: queued as B51C41E8083)
Mar 20 07:18:37 h90152 postfix/smtpd[11773]: disconnect from localhost[127.0.0.1]
Mar 20 07:18:37 h90152 postfix/local[11775]: B51C41E8083: to=<...>, relay=local, delay=0, status=sent ("|/usr/bin/procmail")
Mit etwas Zeit-Abstand erscheint dann noch:

Code: Select all

Mar 20 07:19:56 h90152 postfix/qmgr[11641]: warning: connect to transport content_filter=spamassassin: No such file or directory
Hier die master.cf:

Code: Select all

smtp      inet  n       -       n       -       -       smtpd -o content_filter=spamassassin
pickup    fifo  n       -       n       60      1       pickup
cleanup   unix  n       -       n       -       0       cleanup
qmgr      fifo  n       -       n       300     1       qmgr
rewrite   unix  -       -       n       -       -       trivial-rewrite
bounce    unix  -       -       n       -       0       bounce
defer     unix  -       -       n       -       0       bounce
flush     unix  n       -       n       1000?   0       flush
proxymap  unix  -       -       n       -       -       proxymap
smtp      unix  -       -       n       -       -       smtp
relay     unix  -       -       n       -       -       smtp
showq     unix  n       -       n       -       -       showq
error     unix  -       -       n       -       -       error
local     unix  -       n       n       -       -       local
virtual   unix  -       n       n       -       -       virtual
lmtp      unix  -       -       n       -       -       lmtp
spamassassin
          unix  -       n       n       -       -       pipe user=nobody argv=/usr/bin/spamc -e /usr/sbin/sendmail -oi -f ${sender} ${recipient}

maildrop  unix  -       n       n       -       -       pipe
  flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
cyrus     unix  -       n       n       -       -       pipe
  user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
uucp      unix  -       n       n       -       -       pipe
  flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
ifmail    unix  -       n       n       -       -       pipe
  flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
bsmtp     unix  -       n       n       -       -       pipe
  flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
vscan     unix  -       n       n       -       10       pipe
  user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
procmail  unix  -       n       n       -       -       pipe
  flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
scan      unix  -       -       n       -       16      smtp -o smtp_send_xforward_command=yes
127.0.0.1:10026 inet n  -       n       -       16      smtpd -o content_filter= -o receive_override_options=no_unknown_recipient_checks,no_header_body_check
s -o smtpd_helo_restrictions= -o smtpd_client_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetwo
rks_style=host -o smtpd_authorized_xforward_hosts=127.0.0.0/8
Die local.cf ist Standard und wird laut den Logs auch gezogen. Wenn erforderlich, poste ich die natürlich auch.

Ein typischer Mail-Header sieht so aus:

Code: Select all

Return-Path: <...>
X-Original-To: ...
Delivered-To: ...
Received: from ... (localhost [127.0.0.1])
	by ... (Postfix) with ESMTP id B51C41E8083
	for <...>; Tue, 20 Mar 2007 07:18:37 +0100 (CET)
Received: by ... (Postfix, from userid 65534)
	id A12C01E8088; Tue, 20 Mar 2007 07:18:37 +0100 (CET)
Received: from ... (... [...])
	by ... (Postfix) with ESMTP id 4E1371E8083
	for <...>; Tue, 20 Mar 2007 07:18:27 +0100 (CET)
Received: from localhost (... [127.0.0.1])
	by ... (Postfix) with SMTP id AD9D9E03EAD8
	for <...>; Tue, 20 Mar 2007 07:18:26 +0100 (CET)
Subject: ...
To: ...
Reply-To: ...
From: ...
Message-ID: <30fbb07679c55222b7e53642c6f3a0a5@...>
MIME-Version: 1.0
Content-type: text/plain; charset=UTF-8
Content-transfer-encoding: 8bit
Date: Tue, 20 Mar 2007 07:18:26 +0100
X-RF-Type: 
X-Virus-Scanned: ClamAV using ClamSMTP
X-UIDL: $A&"!PS#"!?/;"!(D,"!
Bin für jeden Hinweis dankbar.

Viele Grüße

Markus
Top

der kleine tux
Posts: 97
Joined: 2005-10-29 04:12
Location: Planet Erde

Re: Spamassassin schreibt keine Header nach Upgrade

Post by der kleine tux »

Top

maggus
Posts: 30
Joined: 2004-04-19 21:06

Re: Spamassassin schreibt keine Header nach Upgrade

Post by maggus »

Hi,

vielen Dank für die Antwort.
Meine local.cf ist in Ordnung und auf SA 3 angepasst. Wie gesagt wird ja nicht nur das Subject nicht angepasst, sondern auch die Mail-Header nicht.

Viele Grüße

Markus
Top

maggus
Posts: 30
Joined: 2004-04-19 21:06

Re: Spamassassin schreibt keine Header nach Upgrade

Post by maggus »

Hat niemand eine Idee?
Top