[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

blocking a bouncer



I'm not a computer professional but I run some Email lists using 
Listar on a debian hamm machine (I've never had time or felt the 
need to upgrade) and things have run fine for some years but now 
I've got a bouncer.  I've blocked him with listar but I'm still getting a 
bounce to me as admin. every two minutes and I'd like to block 
that too.  I'm running sendmail 8.9.  The bounce is coming with 
headers:

Received: from mailgw2.wm.net (root@mailgw2.wm.net [194.18.224.163])
	by www.psyctc.org (8.9.1a/8.9.1/Debian/GNU) with ESMTP id VAA02884
	for <listar@psyctc.org>; Fri, 16 Jun 2000 21:33:31 +0100
Received: from gwmailx.wm.net (gwmailx.wm.net [164.9.248.228])
	by mailgw2.wm.net (8.9.3/8.9.3) with SMTP id WAA15818
	for <listar@psyctc.org>; Fri, 16 Jun 2000 22:33:30 +0200 (MET DST)
Received: from DO_GATEWAY-Message_Server by gwmailx.wm.net
	with Novell_GroupWise; Fri, 16 Jun 2000 22:31:18 +0200
Message-Id: <s94aaab6.083@gwmailx.wm.net>
X-Mailer: Novell GroupWise 5.5.2
Date: Fri, 16 Jun 2000 22:31:40 +0200
From: "Olle Lindevall" <olle.lindevall@sot.stockholm.se>
To: <listar@psyctc.org>
Subject: Ang:Listar command results: No commands found (Autosvar)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by www.psyctc.org id VAA02884

I want, for the moment, to simply swallow and block anything from 
stockholm.se and wm.net but I can't seem to work out how to get 
the access database working in sendmail.  Here are my 
permission settings:

   1 -rw-rw-r--   1 daemon   daemon        225 Jun 16 21:18 access
   1 -rw-rw-r--   1 daemon   daemon        225 Jun 16 21:18 access~
   1 -rw-r--r--   1 root     root           37 Jun 16 21:24 sendmail.cw
   0 -rw-r--r--   1 root     root            0 Jun 16 21:24 sendmail.ct
   3 -rw-r--r--   1 root     root         2687 Jun 16 21:25 sendmail.mc~
   3 -rw-r--r--   1 root     root         2706 Jun 16 21:30 sendmail.mc
  34 -rw-r--r--   1 root     root        33232 Jun 16 21:30 sendmail.cf
   1 drwxr-xr-x   3 root     root         1024 Jun 16 21:34 .
  17 -rw-r--r--   1 root     root        20480 Jun 16 21:34 access.db

Here's the evidence from sendmail.cf and I have restarted sendmail
grep access sendmail.cf
#####  @(#)access_db.m4 8.8 (Berkeley) 5/19/98  #####
#####  @(#)access_db.m4 8.8 (Berkeley) 5/19/98  #####
Kaccess hash -o /etc/mail/access
###  LookUpDomain -- search for domain in access database
R<$+> <$+> <$*>         $: < $(access $1 $: ? $) > <$1> <$2> <$3>
###  LookUpAddress -- search for host address in access database
R<$+> <$+> <$*>         $: < $(access $1 $: ? $) > <$1> <$2> <$3>
###                     $* $=m or the access database.
R<$+> $* < @ $+ > $*    $: <USER $(access $2@ $: ? $) > <$1> $2 < @ $3 > $4
                        $: <USER $(access $2@$3$4 $: ? $) > <$1> $2 < @ $3 > $4
                        $: <USER $(access $2@$3 $: ? $) > <$1> $2 < @ $3 > $4
# check unqualified user in access database
R<?> $*                 $: <USER $(access $1@ $: ? $) > <?> $1
R<$+> $*                $#error $@ 5.7.1 $: $1          error from access db

Anyone see where I'm going wrong or suggest any other way I can 
block these hosts?

TIA,


Chris


Chris Evans <chris@visped.org or chris@psyctc.org>
Consultant Psychiatrist in Psychotherapy,
Rampton Hospital; Associate R&D Director,
Tavistock & Portman NHS Trust;
Hon. SL Institute of Psychiatry
*** My views are my own and not representative 
of those institutions ***



Reply to: