All -
The overwhelming consensus is to use an entry in the aliases file to point
incoming mail to /dev/null, with changing ownership/permissions for
/var/spool/mail/USERID a close second. This will effectively prevent email
from being received.
I was hoping to find a method for disabling email sending as well, but that
appears to be more difficult, I'll post a summary if I ever figure it out!
David H. Brierley offered to provide details of using a firewall to limit a
users outgoing mail, and I may get back in touch with him after a discussion
with my security/firewall folks.
Thanks everyone, the response was overwhelming and inspiring, I received
over 20 responses!
Gary Litwin
UNIX Systems Administrator
FlightSafety Boeing Training Intl.
MS: 20-79
(206) 662-8346
gary.litwin@fsbti.com
This note from Michael Maciolek clearly describes the method:
************
To prevent the contractor from receiving mail, put an entry
in your aliases file (/etc/mail/aliases) like this:
contractor: /dev/null
(where "contractor" is the login name for the contractor.)
Then rebuild the aliases database:
/bin/newaliases
This causes inbound messages for 'contractor' to disappear.
If you're trying to prevent the contractor from *sending*
mail, you have a much more difficult problem and all I can
do is wish you luck.
Michael Maciolek
Senior Network/Systems Engineer
Exodus Professional Services
********
-----Original Message-----
From: Litwin, Gary [mailto:gary.litwin@fsbti.com]
Sent: Monday, June 19, 2000 2:06 PM
To: sun-managers@sunmanagers.ececs.uc.edu
Subject: How do I disable email for a single user?
All -
I need to set up an account for a contractor, and my Manager says "no email"
Is there an easy way to do this?
I poked around the archives, and the sendmail.org site without recognizing a
solution.
I am using Solaris 2.6 5/98 and the vanilla version of sendmail that is
supplied with that distribution.
Thanks!
Gary Litwin
UNIX Systems Administrator
FlightSafety Boeing Training Intl.
MS: 20-79
(206) 662-8346
gary.litwin@fsbti.com
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:10 CDT