howto to stop spam via php mail() ?

They have: 5,633 posts

Joined: Jan 1970

hello all Smiling

I offer free webhosting with php and some users use php mail() to send lots of spam mails.
How can I stop this? I use postfix, I searched via google but I found spam stopping software for receiving messages Sad

please help me Sad

I use:
redhat 9.0
apache 2.x
php 4.3.8

thanks

He has: 152 posts

Joined: Jun 2004

what is your site

but i dont think you should do free hosting with php but somewhere there is a way to stop anoymous users emailing try google

He has: 8 posts

Joined: Jan 2004

you can disable using nobody in your cpanel or whm options in "tweak settings". the only disadvantage of htis is that NO php scripts will be able to send email = what Ive done is limit the outgoing number of emails per hour per domain to 500. you can even do less,

Ken LaVoie - owner and administrator
www.centralmainehost.com
shared, reseller & dedicated hosting
one on one support, 99% uptime

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.