From owner-freebsd-questions@FreeBSD.ORG Sat Aug 19 23:40:04 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 BC12A16A4DA; Sat, 19 Aug 2006 23:40:04 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 386D043D46; Sat, 19 Aug 2006 23:40:03 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from localhost (monrovll-cuda1-24-53-251-44.pittpa.adelphia.net [24.53.251.44]) (AUTH: LOGIN wmoran, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Sat, 19 Aug 2006 19:40:03 -0400 id 00056413.44E7A153.0001140A Date: Sat, 19 Aug 2006 19:40:02 -0400 From: Bill Moran To: Daniel Gerzo Message-Id: <20060819194002.642cbfb1.wmoran@collaborativefusion.com> In-Reply-To: <586495142.20060820013255@rulez.sk> References: <20060819192139.7ea5321d.wmoran@collaborativefusion.com> <586495142.20060820013255@rulez.sk> Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.6 (GTK+ 2.8.19; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: 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:40:04 -0000 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. -- Bill Moran JAYNE: It ain't impossible! Saint Jayne, It's got a ring to it. BOOK: I'm just trying to remember how many miracles you've performed. JAYNE: I once hit a guy in the neck at five hundred yards with a bent scope, don't that count upstairs? BOOK: Oh, it'll be taken into consideration... JAYNE: Well you make that sound kinda ominous...