Enable MAIL() Fuction on user?

cdedicated

Verified User
Joined
Jan 7, 2004
Messages
44
i would like to know if some one able to help me please
()mail disabled on my server because of Security reasons ,and i would like to enable it on one user while all the others still disabled ,how can i do it please?


Or else is that possible to enable mail() for all but limit the # of outgoing emails to prevent spamm?

Thanks!
Roman
 
Last edited:

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,961
Hello,

I'm pretty sure disabling functions for php is an all or nothing deal. The way php is setup, even with the handy php_admin_value's and the php_flag's for virtual hosts, they still cannot handle disabling funcitons. Don't ask me why, all I read was php just couldn't do it :) .. so, all or nothing for php. If you disable mail() in php, you could just use cgi's which access /usr/sbin/sendmail directly, then you know who's sending what.

John
 
Top