From owner-freebsd-questions@FreeBSD.ORG Wed Mar 29 14:18:08 2006 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 321C816A401 for ; Wed, 29 Mar 2006 14:18:08 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F52143D45 for ; Wed, 29 Mar 2006 14:18:07 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan [127.0.0.1]) by aldan.algebra.com (8.13.6/8.13.6) with ESMTP id k2TEHx4n084104 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 29 Mar 2006 09:17:59 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.13.6/8.13.6/Submit) id k2TEHwbg084103; Wed, 29 Mar 2006 09:17:58 -0500 (EST) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: Glenn Dawson Date: Wed, 29 Mar 2006 09:17:58 -0500 User-Agent: KMail/1.8.2 References: <200603281422.57389.mi+mx@aldan.algebra.com> <200603290026.36453@aldan> <7.0.1.0.2.20060328213006.0764dd48@antimatter.net> In-Reply-To: <7.0.1.0.2.20060328213006.0764dd48@antimatter.net> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: questions@freebsd.org, Derek Ragona Subject: Re: virtusertable blocking seems to have no effect X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 14:18:08 -0000 On Wednesday 29 March 2006 12:35 am, Glenn Dawson wrote: = I saw that, but you had that part right...I thought the only = problem was with getting the reject message to work properly. = = Anyway... = = This is what I typically do: = = foo@bar.com           localaccount1 = bar@bar.com           localaccount2 = @bar.com              error:nouser 550 No such user here Glenn, this is exactly what I have according to my initial posting in this thread. I took the example from sendmail's cf/README: = Here is (almost) what I have in the virtusertable: = = stol@example.com foo = hq@example.com bar = @example.com error:5.7.0:550 No spam, thanks Unfortunately, as I write in that initial posting, although it does have some effect, it does not seem sufficient: = I can see the "No spam,thanks" messages logged in the maillog = (without the space after coma, for some reason), but there is = no reject=550 message logged (which interferes with my other = software) and some of these messages seem to pass through = (although others are intercepted by other anti-spam defenses). = = For example, here are the only two log entries, that a spam = message generates: = = Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026: ... No spam,thanks = Mar 28 13:45:58 corbulon sendmail[40026]: k2SIjvvb040026: from=, size=3305, class=0, nrcpts=0, proto=ESMTP, daemon=MTA, relay=example.example.net [xx.x.xx.xxx] = = Despite the "No spam,thanks" the message was accepted. = = What am I doing wrong? Thanks! Yours, -mi