Re: deny email to a user question
As others have said, there's no complete way to keep someone from sending
mail without losing other things. Here are some ideas though:
1.) In addition to the previously-mentioned mode of blocking mail receipt,
I can think of two other options:
a.) ln -s /var/spool/mail/user /dev/null
b.) in .forward: /dev/null
2.) You could piece together a particularly restrictive shell for the user
that only allowed for specific tasks that s/he *is* allowed to do; lynx is
a reasonably good tool for this. If they can't break out of the shell,
they can't read/write their home directory and they can't run unauthorized
software, including mail software.
3.) You can configure exim to deliver mail from the user to /dev/null
instead of where it's going. However, as others have pointed out, this
only stops him/her from sending mail through sendmail; it doesn't stop
access to other mail services out in the world.
----------------------------------------------------------------------
Andrew J Perrin - andrew_perrin@unc.edu - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
269 Hamilton Hall, CB#3210, Chapel Hill, NC 27599-3210 USA
On Mon, 26 Nov 2001, Mike Egglestone wrote:
> Hi,
>
> Is there a simple way to stop a user from being able
> to send and receive email?
>
> Potato r3 running exim.
>
> Thanks in Advance!!
>
> Mike
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Reply to: