Discussions of secure PHP coding. Security in software is important, so don't be afraid to ask. And when answering: be anal. Nitpick. No security vulnerability is too small.
hi,
is it possible to limit a user's mail count?
i mean, one of users mails 10.000 per day, but i want to limit it to 100 per day server wide
php has an option for it?
or mail daemon?
You need to run PHP under the userid of the account holder (suexec). This way, everytime sendmail is started in "-t" mode it will run under that same userid and thus, you can track the count.