Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2004 17:41:32 -0500
From:      Charles Swiger <cswiger@mac.com>
To:        Grant Peel <gpeel@thenetnow.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Turn off user email
Message-ID:  <21BC6EF6-4875-11D8-AA98-003065ABFD92@mac.com>
In-Reply-To: <011901c3dc80$96d6ccd0$6501a8c0@grant>
References:  <011901c3dc80$96d6ccd0$6501a8c0@grant>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 16, 2004, at 5:32 PM, Grant Peel wrote:
> Other than setting a /var/mail quota to 0 for a user, how does one 
> turn off
> mail for a UNIX user without affecting ftp or shell access?

You can configure the system not to accept mail for that user, 
something like:

To:someuser@domain.com		550 Email to someuser has been disabled

...in /etc/mail/access.  You could set up a redirect alias and point 
mail for them to some other location, or even redirect mail for that 
user to /dev/null-- or via a REJECT or DISCARD entry in the access map.

-- 
-Chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?21BC6EF6-4875-11D8-AA98-003065ABFD92>