Le 30/05/2010 04:14, Jake Vickers a écrit :
On 05/27/2010 05:56 AM, Pierre Gaxatte wrote:
Hi all,
I'm trying to get SURBL working so I followed the wiki and everything
is configured as suggested but the example URL is not catched when
sending the test mail from hotmail/gmail/anywhere.
I tried to understand why this doesn't work by taking the mail and
feeding it to the spamassassin executable. This works, the SURBL are
used and the spam score is through the roof as expected.
BUT, when I use spamc, nothing happens. Also when I run spamassassin
and spamc with the vpopmail user, nothing happens.
How can that be different? Is this a configuration problem?
Here are some example of what I ran (sorry in advance, it's going to
be big :-)):
###########################
# 4th test with spamassassin (user *vpopmail*)
###########################
# sudo -u vpopmail -H spamassassin < my_email_with_test_URL
Return-Path: <[email protected]>
X-Spam-Flag: YES
X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.agiir.net
X-Spam-Level: ********
X-Spam-Status: Yes, score=8.8 required=5.0
tests=AWL,HTML_MESSAGE,RDNS_NONE,
URIBL_AB_SURBL,URIBL_JP_SURBL,URIBL_OB_SURBL,URIBL_PH_SURBL,URIBL_SC_SURBL,
URIBL_WS_SURBL autolearn=disabled version=3.2.5
X-Spam-Report:
* 0.0 HTML_MESSAGE BODY: HTML inclus dans le message
* 2.0 URIBL_PH_SURBL Contains an URL listed in the PH SURBL blocklist
* [URIs: surbl-org-permanent-test-point.com]
* 1.6 URIBL_AB_SURBL Contains an URL listed in the AB SURBL blocklist
* [URIs: surbl-org-permanent-test-point.com]
* 2.1 URIBL_WS_SURBL Contains an URL listed in the WS SURBL blocklist
* [URIs: surbl-org-permanent-test-point.com]
* 2.9 URIBL_JP_SURBL Contains an URL listed in the JP SURBL blocklist
* [URIs: surbl-org-permanent-test-point.com]
* 2.1 URIBL_OB_SURBL Contains an URL listed in the OB SURBL blocklist
* [URIs: surbl-org-permanent-test-point.com]
* 2.5 URIBL_SC_SURBL Contains an URL listed in the SC SURBL blocklist
* [URIs: surbl-org-permanent-test-point.com]
* 0.1 RDNS_NONE Delivered to trusted network by a host with no rDNS
* -4.5 AWL AWL: From: address is in the auto white-list
Delivered-To: [email protected]
Received: (qmail 29153 invoked by uid 89); 27 May 2010 09:04:31 -0000
Received: by simscan 1.4.0 ppid: 29141, pid: 29144, t: 0.3683s
scanners: attach: 1.4.0 clamav: 0.96/m:52/d:11086 spam: 3.2.5
Received: from unknown (HELO col0-omc3-s8.col0.hotmail.com)
(65.55.34.146)
by mail.agiir.net with SMTP; 27 May 2010 09:04:31 -0000
Received-SPF: pass (mail.agiir.net: SPF record at spf-a.hotmail.com
designates 65.55.34.146 as permitted sender)
Received: from COL112-W22 ([65.55.34.136]) by
col0-omc3-s8.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675);
Thu, 27 May 2010 02:04:29 -0700
Message-ID: <[email protected]>
Return-Path: [email protected]
Content-Type: multipart/alternative;
boundary="_7c2d7506-6daa-410a-b29d-4f53760c4aef_"
X-Originating-IP: [85.14.144.10]
From: Pierre Gaxatte <[email protected]>
To: <[email protected]>
Subject: ***SPAM*** Test RBL
Date: Thu, 27 May 2010 11:04:29 +0200
Importance: Normal
MIME-Version: 1.0
X-Spam-Prev-Subject: Test RBL
--_7c2d7506-6daa-410a-b29d-4f53760c4aef_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
http://surbl-org-permanent-test-point.com
http://surbl-org-permanent-test-point.com
http://surbl-org-permanent-test-point.com
http://surbl-org-permanent-test-point.com
I see the URL caught by 6 different rules. Those had given it a score of
13.2. AWL gave it a -4.5 since the address had sent several emails back
and forth already. AWL will average the email's score to prevent spikes
from senders that may occasionally send you a message that would
normally get them flagged.
What exactly is your issue?
My issue is that the SURBL are working when I run spamassassin with the
command-line but it doesn't where I run spamc and therefore it doesn't
work with actual mail I receive.
What bothers me is that spamc is actually showing the same scores as
spamassassin -L.
My /var/qmail/supervise/spamd/run:
#!/bin/sh
exec /usr/bin/spamd -x -u vpopmail -s stderr 2>&1
And my /var/qmail/supervise/smtpd/run:
#!/bin/sh
QMAILDUID=`id -u vpopmail`
NOFILESGID=`id -g vpopmail`
MAXSMTPD=`cat /var/qmail/control/concurrencyincoming`
BLACKLIST=`cat /var/qmail/control/blacklists`
SMTPD="/var/qmail/bin/qmail-smtpd"
TCP_CDB="/etc/tcprules.d/tcp.smtp.cdb"
RBLSMTPD="/usr/bin/rblsmtpd"
HOSTNAME=`hostname`
VCHKPW="/home/vpopmail/bin/vchkpw"
REQUIRE_AUTH=0
exec /usr/bin/softlimit -m 64000000 \
/usr/bin/tcpserver -v -R -H -l mail.agiir.net -x $TCP_CDB -c
"$MAXSMTPD" \
-u "$QMAILDUID" -g "$NOFILESGID" 0 smtp \
$SMTPD $VCHKPW /bin/true 2>&1
I tweeked the smtpd/run to remove the "$RBLSMTPD $BLACKLIST" part. Is my
problem related to that change?
Regards,
Pierre
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]