Date: Sat, 19 Aug 2006 16:46:13 -0700 From: Darrin Chandler <dwchandler@stilyagin.com> To: Bill Moran <wmoran@collaborativefusion.com> Cc: Daniel Gerzo <danger@freebsd.org>, questions@freebsd.org Subject: Re: How to prevent users from receiving email Message-ID: <20060819234613.GE18991@jeeves.stilyagin.local> In-Reply-To: <20060819194002.642cbfb1.wmoran@collaborativefusion.com> References: <20060819192139.7ea5321d.wmoran@collaborativefusion.com> <586495142.20060820013255@rulez.sk> <20060819194002.642cbfb1.wmoran@collaborativefusion.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 19, 2006 at 07:40:02PM -0400, Bill Moran wrote: > Daniel Gerzo <danger@FreeBSD.org> 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/ |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060819234613.GE18991>