How to prevent SENDMAIL to send mail out of the system

Hi gurus

I like to prevent sending mail to any else system but the localhost. I'm running a program on the REDHAT 3.0 server which uses sendmail to send mail to users how are using that program. But I don't wan't them to be able to send mail out of the server.

Thanks advance
Who is Participating?
Hi salmjuh,

Should work fine.

salmjuhAuthor Commented:

Is there easyer way ? This looks too hard for me.

- Jussi
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.