Is it possible to enable SENDMAIL only for members you want? **

astounding

Member
Aug 11, 2006
8
0
151
Hey,

I use cPanel for free hosting.

However there's no way I'm giving them the sendmail option otherwise someone will use it to ultimately spam.

However free members can upgrade to a paid package (with more features, etc...). And I want these paid members to also have ability to use sendmail?

So is it possible that for free members the mail() function is disabled, while for paid members the mail() function is enabled?

If not, then is there anyway at all in general that this can be done? Maybe a addon script or something.

Let me know.

Thank you.
Andre
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,462
25
473
Go on, have a guess
The best you're likely to be able to do is to create a group and only add those users you want to use the sendmail and exim binaries to it and then chmod 750 those binaries. However, you'll have to also block local access to port 25 to prevent direct port 25 access.