Disable Sending PHP script each user (not about limit function and external mx)

scalopus+

Verified User
Joined
Mar 16, 2008
Messages
10
I am looking for the way to disable an email PHP script each user that might be spammer.

Now, I use limit function and specific each user to be 1. (it is work! But I think it should have the better way to handle it.)

I try to use blacklist_domains with the final exim.pl / exim.conf script but it won't work.

I have read this feature : http://help.directadmin.com/item.php?id=8 (Using an external Mailserver) but it is not solution to disable local php script from sending mail. I just want to disable by user that might be spammer.

Do you have any idea?
 
1. Use remote SMTP server on not-standart port for outgoing emails for all domains hosted on your server.
2. Disable PHP mail() for all users or for specific users
3. Forbid outgoing connections to remote 25 ports for all users, or on UID bases.
4. Secure /usr/sbin/sendmail (chmod it)
 
Back
Top