On Fri, 2 Dec 2005, Marc Haber wrote:
> On Fri, 2 Dec 2005 13:37:15 +0300, Êîâàëåíêî Èâàí <kig@???>
> wrote:
> > How can i block local users from sending mail via command line and
> > smtp?
>
> Command line is easy, just use UNIX access rights on the exim binary.
That stops them sending mail via the system installed Exim. There's
nothing to stop a local user with shell access from compiling their own
Exim, unless you remove compilers from the system. Oh, and somehow find
a way of stopping the users from installing their own compiler. Of
course, you don't even need to use Exim...
If a user has shell access to a system with "normal" support utilities
installed, it's almost impossible to stop a determined user from sending
mail from that system. But if your users are not experts, you may get
away with what has been suggested.
--
Philip Hazel University of Cambridge Computing Service,
ph10@??? Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book: http://www.uit.co.uk/exim-book