[CentOS] Limit max number of e-mails sent per hour

Les Mikesell lesmikesell at gmail.com
Tue May 22 14:53:49 UTC 2012


On Tue, May 22, 2012 at 9:04 AM, Steven Tardy <sjt5 at its.msstate.edu> wrote:
>
> Hello list
>> I use sendmail-8.14.4-8.el6.x86_64 and I wonder how to restrict the
>> number of emails sendmail sent over an hour.
>> Is the define(`confMAX_QUEUE_RUN_SIZE', `200') command what I'm looking for?
>> Thank you in advance.
>
> www.sendmail.com/sm/open_source/docs/m4/tweaking_config.html#confMAX_QUEUE_RUN_SIZE
> that setting pertains to queued email...
> not email that entered the queue and was successfully delivered.
>
> sendmail does not provide 'rate limit emails' functionality by default.
>
> check out:
>   puszcza.gnu.org.ua/projects/mailfromd

There are rate controls on accepting messages that might give the
effect you want in a relay setup but I'm not sure how they work with
local submissions.    I don't think there is a delivery limit after
something is accepted and queued.

-- 
   Les Mikesell
     lesmikesell at gmail.com



More information about the CentOS mailing list