I run a RedHat Entreprise Linux 5 server with apache virtual hosts.
My users use php scripts to send emails.
But some of them send hundreds of emails and it overloads my mailserver.
That's why I would like to delay the sending.
In my current configuration php is configured to send emails to the local host running sendmail. Sendmail is configured to relay the emails to my mail server running POSTFIX.
I read something about limiting the number of emails using :
and using sendmail with the following command instead of the daemon launched by REDHAT :
sendmail -bd -qp10m.
I read , it should limit the queue to 5 emails every 10 minutes but it doesn't work.
Do you know why or do you have another solution for me ?