Craig Constantine
craig@blkbx.com
Thu Sep 18 20:36:46 UTC 2003
Hi all,
I can't seem to quite get this working right -- so I'm posting a full
example in hopes that someone will hit me with the cluebat. I don't think
this is a bug, the problem is between my chair and my keyboard...
I'm running DCCM (without greylisting) with Sendmail. My DCCM related vars
from the dcc_conf file are:
-----begin-----
DCCM_ENABLE=on
DCCM_ARGS="-a REJECT -W"
DCCM_LOGDIR=H?log
DCCM_WHITECLNT=whiteclnt
DCCM_USERDIRS=userdirs
DCCM_LOG_AT=50
DCCM_REJECT_AT=50
DCCM_CKSUMS=
DCCM_XTRA_CKSUMS=
-----end-----
My 'whitelist' file has only two lines (that aren't comments):
-----begin-----
include whitecommon
include bbx-whitelist
-----end-----
'whitecommon' is the normal file that came with DCC. The second file is
where I was hoping to add all the special whitelisted bulk sources I need
to permit as I find them. (After a while I was planning on giving the
really useful ones like Apple's listserv's, MSNBC, CNN, etc. back to the
community so they could be added to the regular 'whitecommon' -- but I
digress.)
My 'whiteclnt' file also has only two lines:
-----begin-----
include whitecommon
include bbx-participants
-----end-----
I'm using the second file to list people who want filtering; It's full of
lines like:
-----begin----
ok2 env_to anabella@imap.ot.com
-----end-----
So here's the problem: Along comes an email, env_To anabella@imap.ot.com
(someone who is listed "ok2 env_To anabella@imap.ot.com" in the 'whiteclnt'
file via inclusion from 'bbx-participants'.) The message really is bulk,
and gets rejected. Here's a real example -- nothing changed, except I cut
out the body...
-----begin-----
VERSION: 3
DATE: 09/17/03 15:45:09 EDT
IP: monster.nni.com ::ffff:216.107.0.51
HELO: admin.nni.com
env_From: <bouncesb@q.go.com> mail_host=q.go.com.
env_To: <anabella@ot.net> addr=anabella@imap.ot.com
dir=userdirs/esmtp/anabella@imap.ot.com
Received: from bmailrly10f.starwave.com ([199.181.134.31] verified)
by admin.nni.com (CommuniGate Pro SMTP 4.1.3)
with ESMTP id 188258803 for anabella@ot.com; Wed, 17 Sep 2003 15:45:11
-0400
Received: from bmailrly06 (bmailrly06.starwave.com) by
bmailrly10f.starwave.com (LSMTP for Windows NT v1.1b) with SMTP id
<8.0000BFB5@bmailrly10f.starwave.com>; Wed, 17 Sep 2003 12:45:08 -0700
Message-ID: <2620807.1063827907787.JavaMail.!NTservice@bmailrly06>
From: Breaking News <abcnewsnow-editor@mail.abcnews.go.com>
Reply-To: abcnewsnow-editor@mail.abcnews.go.com
To: anabella@ot.com
Subject: Breaking News Wed., September 17, 2003
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-JobId: 3003731
X-UserId: 36255316
X-EmailedTo: anabella@ot.com
Date: Wed, 17 Sep 2003 12:45:08 -0700
X-DCC-SINECTIS-Metrics: milo-new.ot.com 1114; bulk Body=1 Fuz1=1 Fuz2=106
checksum server
IP: 727809b1 ae2e1c60 6f633e80 9f65b150
env_From: 29e06084 41911896 b354e501 dac0212f
From: 8d651203 11ce634f 90d1511f 873da2e8
Message-ID: 5ba5c5b6 df1d5794 b76ebe34 f09f486f
Received: 26fa5b4d fdfb6636 58d85a0b 675522b3
Body: 0c6a3da1 3290adeb 987461c8 e242c25b 0
Fuz1: 8b152f8b 05a16f50 e81645ef cc08e160 0
Fuz2: ad2bd462 7e75cb18 17b6b0b6 4312091f 105
rejection message: 550 5.7.1 mail h8HJj9kR017173 from ::ffff:216.107.0.51
rejected by DCC
result: reject
-----end-----
Ok, it was rejected for Fuz2 being 106 and I have reject-at set to 50. But
my 'bbx-whitelist' included into my 'whitelist' has the following lines. (I
put the lines in the day before, when another message just like this was
rejected.)
-----begin-----
# ABC News
ok from abcnewsnow-editor@mail.abcnews.go.com
from Breaking News <abcnewsnow-editor@mail.abcnews.go.com>
env_from bouncesb@q.go.com
mail_host q.go.com.
-----end-----
So why is the message rejected? I'm lost...
I'm going to write a little Perl program that will take an env_To value
to find, walk down the /var/dcc/log tree and spit out "suggestions" to add
to your whitelist for all message that were rejected for that env_To.
That way when user 'x' whines, I can just run the program, making it
search for a given env_To then, look at the "suggestions" and pick out the
line or two I need to add to make them happy. I'd be DELIGHTED to send in
my Perl code...
-Craig
More information about the DCC
mailing list