From owner-freebsd-questions@FreeBSD.ORG Tue Mar 28 19:51:29 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 B755D16A463 for ; Tue, 28 Mar 2006 19:51:29 +0000 (UTC) (envelope-from mi+mx@aldan.algebra.com) Received: from zig.murex.com (mail.murex.com [194.98.239.11]) by mx1.FreeBSD.org (Postfix) with ESMTP id 24DC244138 for ; Tue, 28 Mar 2006 19:23:30 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: from interscan.fr.murex.com (interscan.fr.murex.com [172.21.17.207] (may be forged)) by zig.murex.com with ESMTP id k2SJPTTg009909; Tue, 28 Mar 2006 21:25:29 +0200 (CEST) Received: from mxmail.murex.com (interscan.murex.fr [127.0.0.1]) by interscan.fr.murex.com (8.11.6/8.11.6) with ESMTP id k2SJshd03113; Tue, 28 Mar 2006 21:54:43 +0200 Received: from [172.21.130.86] ([172.21.130.86]) by mxmail.murex.com with Microsoft SMTPSVC(6.0.3790.0); Tue, 28 Mar 2006 21:22:58 +0200 From: Mikhail Teterin Organization: Virtual Estates, Inc. To: questions@freebsd.org Date: Tue, 28 Mar 2006 14:22:57 -0500 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200603281422.57389.mi+mx@aldan.algebra.com> X-OriginalArrivalTime: 28 Mar 2006 19:22:58.0674 (UTC) FILETIME=[05C46D20:01C6529D] Cc: sendmail@sendmail.org Subject: 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: Tue, 28 Mar 2006 19:51:31 -0000 Hi! I host a domain with a handful of "real" addresses. I noticed, that spammers are using a variety of random-generated names @mydomain and wish to block such addresses with "No spam" responses instead of "User unknown". 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 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! -mi