How to enable Sendmail only for account you want?

Support for webhosts that use CentOS
Post Reply
astounding
Posts: 2
Joined: 2006/10/09 15:03:20

How to enable Sendmail only for account you want?

Post by astounding » 2006/10/09 16:20:04

Hey,

Any ideas how to enable servers php sendmail only for accounts that you want?

For example member sends their passport ID for security reasons, hence they get sendmail enabled.

eukhost
Posts: 8
Joined: 2006/10/20 20:10:33
Contact:

Re: How to enable Sendmail only for account you want?

Post by eukhost » 2006/12/10 08:58:51

add following to your /etc/hosts.deny file :-

sendmail: ALL EXCEPT

Where username is the one which you wish to allow to send email using sendmail.

Post Reply

Return to “CentOS 4 - Webhosting Support”