Help configuring whitelisting

Craig Constantine
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:


  My 'whitelist' file has only two lines (that aren't comments):

include whitecommon
include bbx-whitelist

'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 

  My 'whiteclnt' file also has only two lines:

include whitecommon
include bbx-participants

I'm using the second file to list people who want filtering; It's full of 
lines like:

ok2  env_to

So here's the problem: Along comes an email, env_To 
(someone who is listed "ok2 env_To" 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...

DATE: 09/17/03 15:45:09 EDT
IP: ::ffff:
env_From: <>
env_To: <> 

Received: from ([] verified)
  by (CommuniGate Pro SMTP 4.1.3)
  with ESMTP id 188258803 for; Wed, 17 Sep 2003 15:45:11 
Received: from bmailrly06 ( by (LSMTP for Windows NT v1.1b) with SMTP id 
<>; Wed, 17 Sep 2003 12:45:08 -0700
Message-ID: <2620807.1063827907787.JavaMail.!NTservice@bmailrly06>
From: Breaking News <>
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
Date: Wed, 17 Sep 2003 12:45:08 -0700

X-DCC-SINECTIS-Metrics: 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: 
rejected by DCC
result: reject

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 

# ABC News
ok      from
        from    Breaking News <>

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...


More information about the DCC mailing list

Contact by mail or use the form.