Can I keep users from receiving mail from the Internet?

Ed Wilts ewilts at ewilts.org
Wed Dec 8 16:31:46 UTC 2004


On Wed, Dec 08, 2004 at 09:54:53AM -0600, Fedora wrote:
> I'm using sendmail as the MTA and I would like to make it impossible for
> certain users (root comes to mind, but there are other userids as well) to
> receive email from the Internet.

Add an entry to /etc/mail/access like the following:
root@                            ERROR:550 Mailbox disabled for this user
 

Don't forget to make the access.db by running make in the /etc/mail
directory.

-- 
Ed Wilts, RHCE
Mounds View, MN, USA
mailto:ewilts at ewilts.org
Member #1, Red Hat Community Ambassador Program




More information about the fedora-list mailing list