Page 1 of 1

mail limit

Posted: Mon Aug 21, 2006 11:28 am
by kaidorf
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?

Posted: Mon Aug 21, 2006 11:30 am
by feyd
PHP has no control over it. It is a server level setting.

Posted: Mon Aug 21, 2006 2:33 pm
by Chris Corbyn
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.