Quote:
|
Originally Posted by monk
By default user can not reboot or mount cdrom. Here is the example for the same:
Open /etc/mail/access file and add username/hostname to deny:
Code:
From:user@localhost ERROR:5.7.1:550 Rejected
user@localhost ERROR:5.7.1:550 Rejected
Restart sendmail to take effect.
|
but dear, this would block that user in local lan also. i.e. that user won't be able to send mail within the lan.
and I think, entries in the /etc/mail/access go like this...
user@localhost REJECT
Again, I clear the question, I just want that some users should not be able to send mail outside local lan. i.e they should not be able to send mail to
www.gmail.com or
www.yahoo.com,etc. but at the same time, they are able to send or receive mail from or to local lan. Please note it carefully...........