From owner-freebsd-questions@FreeBSD.ORG Sat Aug 19 23:46:23 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 37F7516A4DA; Sat, 19 Aug 2006 23:46:23 +0000 (UTC) (envelope-from dwc@stilyagin.com) Received: from puffy.asicommunications.com (puffy.asicommunications.com [216.9.200.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id A097943D49; Sat, 19 Aug 2006 23:46:22 +0000 (GMT) (envelope-from dwc@stilyagin.com) Received: from jeeves.stilyagin.local (63-230-205-170.phnx.qwest.net [63.230.205.170]) by puffy.asicommunications.com (8.13.4/8.13.3) with ESMTP id k7JNkIwA022937 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO); Sat, 19 Aug 2006 16:46:19 -0700 (MST) Received: (from dwc@localhost) by jeeves.stilyagin.local (8.13.4/8.13.4/Submit) id k7JNkDI5018555; Sat, 19 Aug 2006 16:46:13 -0700 (MST) Date: Sat, 19 Aug 2006 16:46:13 -0700 From: Darrin Chandler To: Bill Moran Message-ID: <20060819234613.GE18991@jeeves.stilyagin.local> References: <20060819192139.7ea5321d.wmoran@collaborativefusion.com> <586495142.20060820013255@rulez.sk> <20060819194002.642cbfb1.wmoran@collaborativefusion.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060819194002.642cbfb1.wmoran@collaborativefusion.com> User-Agent: Mutt/1.4.2i Cc: Daniel Gerzo , questions@freebsd.org Subject: Re: How to prevent users from receiving email 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: Sat, 19 Aug 2006 23:46:23 -0000 On Sat, Aug 19, 2006 at 07:40:02PM -0400, Bill Moran wrote: > Daniel Gerzo wrote: > > > Hello Bill, > > > > Sunday, August 20, 2006, 1:21:39 AM, you wrote: > > > > > Apparently my memory is useless and I've lost the ability to use > > > google as well. > > > > > I just added a user account to a mail server, but I don't want that > > > user to receive mail on that server. It's running Postfix. > > > > > I seem to remember a canonical method for preventing certain users > > > from receiving email. But my memory has failed, and I can't seem > > > to find anything on google. > > > > > Is it an /etc/aliases trick? > > > > Indeed. Just make it go to /dev/null: > > > > user: /dev/null > > > > Do not forget to run newaliases ;-) > > Hmm ... > > That works, but it would be nice to have it reject the mail instead. > Otherwise, someone could hog a lot of my bandwidth sending mails to > the bit-bucket. virtusertable allows you to do that, like: user@example.com error:5.7.0:550 No such user. or something like that... -- Darrin Chandler | Phoenix BSD Users Group dwchandler@stilyagin.com | http://bsd.phoenix.az.us/ http://www.stilyagin.com/ |