On Tue, Mar 24, 2009 at 2:14 AM, jeffs <je...@speakeasy.net> wrote:

[...]

> However, rather than building (for me) a difficult query I
> thought there might be a mechanism in Postfix which could be used to stop a
> sudden increase of outbound emails.
>

put all outbound mail on the hold queue by default. periodically check
for outstanding number of held messages. if the number is below X,
where X is your maximum acceptable messages between two checks,
release them with "postsuper". if it's more than Y, send the admin an
email, get the message id and release only that message id from the
hold queue.

Reply via email to