Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 1996 10:55:44 -0700 (MST)
From:      Terry Lambert <terry@lambert.org>
To:        paul@riker.comcirc.com.au (Paul Sondhu)
Cc:        freebsd-questions@freebsd.org, questions@freebsd.org
Subject:   Re: Setting up user accounts but with no email access
Message-ID:  <199605141755.KAA12661@phaeton.artisoft.com>
In-Reply-To: <Pine.BSF.3.91.960514101101.5339A-100000@riker.comcirc.com.au> from "Paul Sondhu" at May 14, 96 10:13:00 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.


> At the moment they can use a pop client since a pop server is running on
> the machine. I dont want to remove the popper daemon since there are
> a few accounts on there who need pop email access.

This is more of a problem, since they will be able to send from
your system anyway.  Probably, you want to hack the popper to not
accept users unless they have a valid shell.

Really, this is what user classes should have been, but aren't, in
the BSDI user class code.


					Terry Lambert
					terry@lambert.org
---
Any opinions in this posting are my own and not those of my present
or previous employers.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605141755.KAA12661>