Re: limit mail() function
| From: | Per Jessen | Date: | Tue, 08 Apr 2008 18:35:16 +0000 |
| Subject: | Re: limit mail() function | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272741@lists.php.net to get a copy of this message | ||
Greg Bowser wrote:
> I'm not sure how, or if there is a way to do this in postfix. The
> mail() function calls the sendmail binary, so one sort of hackish way
> might be to move this binary and write a wrapper script that keeps
> track of per-user rate limits, and then invokes the real sendmail
> binary.
Pardon me, but that's one kludgy idea - postfix has rate-limitation
facilities you can use for this.
/Per Jessen, Zürich