Re: How can I count the usage of mail function in scripts?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Cristea Adrian schrieb:
> Hello peoples!
> 
> short question: How can I count the usage of mail function in scripts?
> 
> long description :D
> 
> I have a webserver, and I want to limit the usage of mail function for
> each host I have there.. Notice that i have a couple of hundrest of
> virtual hosts (domains and subdomains) there, and i want to limit
> them, let`s say.. 100 mails per day.. there is any solution to do
> that? (i know there is, i saw that in a nwebhosting company) .. can
> you guide me find this solution?

This is not a PHP problem. The mail() function just uses the mail server
of the system it is running on. There are several solutions to the problem.

For exmaple: If you could configure your server so that the user's PHP
scripts run under their user ID (chroot/CGI), you can use the normal
mail quota system.

And: No, I can't help you any further on this.

OLLi
____________
Mal: "You only gotta scare him."
Jayna: "Pain is scary..."
[firefly]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux