Hi,

I have a problem using Spamassassin, spamass-milter and postfix together. I'm aware that the problem might be in my configuration, postfix or spamass-milter, but I can't track it down. I'm running Debian Lenny with details below.

Mails coming in thru postfix+spamass-milter+spamassassin have drastically lower scores than those checked manually with spamassasin or spamc. Specifically, mails taking the milter path will not have RCVD_IN rules matched _almost_ never. I'm suspicious of the UNPARSABLE_RELAY match, but not sure what causes it.

There has been a bug in spamass-milter which might or might not be relevant, but as far as i can see, it's been fixed in the debian package...
(See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=510665 )

Thank you in advance,
   Frn

---
With spamassassin -t message.txt:
Content analysis details:   (19.2 points, 5.0 required)
X-Spam-Status: Yes, score=19.2 required=5.0 tests=BAYES_99,HTML_MESSAGE,

MIME_HTML_ONLY,RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,

RCVD_IN_SORBS_WEB,RCVD_IN_XBL,RDNS_DYNAMIC,SPF_HELO_SOFTFAIL,SPF_SOFTFAIL,
URIBL_AB_SURBL,URIBL_BLACK,URIBL_WS_SURBL autolearn=disabled version=3.2.5
---
With spamc -r < message.txt (as user spamfilter): 19.2
Content analysis details:   (19.2 points, 5.0 required)
---
With postfix>spamass-milter>spamc
X-Spam-Status: Yes, score=6.9 required=5.0 tests=BAYES_99,HTML_MESSAGE,
MIME_HTML_ONLY,UNPARSEABLE_RELAY,URIBL_BLACK autolearn=disabled version=3.2.5

---
Relevant system.log:
Jun 3 12:27:29 lift spamd[16330]: spamd: connection from localhost [127.0.0.1] at port 35984 Jun 3 12:27:29 lift spamd[16330]: spamd: processing message <20100603092727.ee31e2234...@lift.imelaps.ee> for postmaster:1009 Jun 3 12:27:30 lift spamd[16330]: spamd: identified spam (6.9/5.0) for postmaster:1009 in 0.4 seconds, 11753 bytes. Jun 3 12:27:30 lift spamd[16330]: spamd: result: Y 6 - BAYES_99,HTML_MESSAGE,MIME_HTML_ONLY,UNPARSEABLE_RELAY,URIBL_BLACK scantime=0.4,size=11753,user=postmaster,uid=1009,required_score=5.0,rhost=localhost,raddr=127.0.0.1,rport=35984,mid=<20100603092727.ee31e2234...@lift.imelaps.ee>,bayes=1.000000,autolearn=disabled
Jun  3 12:27:30 lift spamd[24918]: prefork: child states: II

Relevant postfix.log:
Jun 3 12:27:26 lift postfix/smtpd[19323]: connect from 23.85-84-230.dynamic.clientes.euskaltel.es[85.84.230.23] Jun 3 12:27:27 lift postfix/smtpd[19323]: EE31E223435F: client=23.85-84-230.dynamic.clientes.euskaltel.es[85.84.230.23] Jun 3 12:27:29 lift postfix/cleanup[19364]: EE31E223435F: message-id=<20100603092727.ee31e2234...@lift.imelaps.ee> Jun 3 12:27:30 lift postfix/qmgr[12925]: EE31E223435F: from=<eticek3...@euskaltel.es>, size=11685, nrcpt=2 (queue active) Jun 3 12:27:30 lift postfix/local[19373]: EE31E223435F: to=<f...@lift.imelaps.ee>, orig_to=<postmas...@imelaps.ee>, relay=local, delay=2.8, delays=2.8/0/0/0.02, dsn=2.0.0, status=sent (delivered to mailbox)
Jun  3 12:27:30 lift postfix/local[19372]: EE31E223435F: [censored]
Jun  3 12:27:30 lift postfix/qmgr[12925]: EE31E223435F: removed
Jun 3 12:27:30 lift postfix/smtpd[19323]: disconnect from 23.85-84-230.dynamic.clientes.euskaltel.es[85.84.230.23]
---

---
The testmessage headers:
From eticek3...@euskaltel.es  Thu Jun  3 12:27:30 2010
Return-Path: <eticek3...@euskaltel.es>
X-Original-To: postmas...@imelaps.ee
Delivered-To: postmas...@imelaps.ee
Received: from euskaltel.es (23.85-84-230.dynamic.clientes.euskaltel.es [85.84.230.23])
        by lift.imelaps.ee (Postfix) with ESMTP id EE31E223435F
        for <postmas...@imelaps.ee>; Thu,  3 Jun 2010 12:27:27 +0300 (EEST)
From: ViagraPills Online <eticek3...@euskaltel.es>
To: postmas...@imelaps.ee
Subject: Hi, postmaster! Order on -70% today. Fame
Date: Thu, 3 Jun 2010 11:27:27 +0200
MIME-Version: 1.0
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Message-Id: <20100603092727.ee31e2234...@lift.imelaps.ee>
X-Virus-Scanned: clamav-milter 0.96 at lift
X-Virus-Status: Clean
X-Spam-Flag: YES
X-Spam-Status: Yes, score=6.9 required=5.0 tests=BAYES_99,HTML_MESSAGE,
MIME_HTML_ONLY,UNPARSEABLE_RELAY,URIBL_BLACK autolearn=disabled version=3.2.5
X-Spam-Level: ******
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on lift.imelaps.ee
X-UID: 17440
Status: RO
Content-Length: 10882
Lines: 208


My setup:
---
dpkg -l |egrep "(spam|postfix)"
ii postfix 2.5.5-1.1 High-performance mail transport agent ii postfix-doc 2.5.5-1.1 Documentation for Postfix ii postfix-mysql 2.5.5-1.1 MySQL map support for Postfix ii postfixadmin 2.2.1.1 Virtual mail hosting interface for Postfix ii spamass-milter 0.3.1-8+lenny2 milter for filtering mail through spamassass ii spamassassin 3.2.5-2+lenny2 Perl-based spam filter using text analysis ii spamc 3.2.5-2+lenny2 Client for SpamAssassin spam filtering daemo
---
/etc/default/spamass-milter
OPTIONS="-u spamass-milter -i 127.0.0.1 -m -r 15"
---
/etc/default/spamassassin
ENABLED=1
OPTIONS="--max-children 5   -x   -P   -u spamfilter -g spamfilter"
PIDFILE="/var/run/spamd.pid"
CRON=0
----
postconf -n
...
smtpd_milters = inet:127.0.0.1:60100, unix:/spamass/spamass.sock
----

Reply via email to