From owner-freebsd-questions Tue May 14 15:56:14 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id PAA18748 for questions-outgoing; Tue, 14 May 1996 15:56:14 -0700 (PDT) Received: from riker.comcirc.com.au (riker.comcirc.com.au [203.17.165.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id PAA18724; Tue, 14 May 1996 15:56:05 -0700 (PDT) Received: (from paul@localhost) by riker.comcirc.com.au (8.6.11/8.6.9) id IAA11768; Wed, 15 May 1996 08:54:25 +1000 Date: Wed, 15 May 1996 08:54:25 +1000 (EST) From: Paul Sondhu To: Terry Lambert cc: freebsd-questions@freebsd.org, questions@freebsd.org Subject: Re: Setting up user accounts but with no email access In-Reply-To: <199605141755.KAA12661@phaeton.artisoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk On Tue, 14 May 1996, Terry Lambert wrote: > > I am setting up a few user accounts on our WWW server so that users can > > FTP to the server to post up their web pages into their relevant > > web page directories. > > > > How can I disable email access for these users. ie. I dont want them > > to have an email account, only an account to FTP files to. > > The easiest (grossest) way would be to define another name for > the machine and *not* put in a Cw entry for it. > > Then set up aliases for all the users that you don't want to get > mail to forward to the illegal host. > > Alternately, you could bounce mail with a refusal using an alias > script (but that would require a bit more work). > > This will keep the mail from accumulating, anyway. > > How about just setting up aliases to forward to an illegal username on the same machine. ie. I just set up 'user: noone' in the /etc/aliases file ( where user is a real user and noone doesnt exit ) and I tried to send some mail to 'user' from another machine and it bounced back. Paul. ------------------------------------------------------------------------- Paul Sondhu Email: P.Sondhu@comcirc.com.au Internet Services Manager Tel: +61 53 826 959 Computer Circuit Pty. Ltd. Fax: +61 53 826 301 27 Darlot St. WWW: http://www.comcirc.com.au/staff/paul Horsham 3400 Victoria Australia -------------------------------------------------------------------------