Hello -- we're sending from a postfix instance as part of our stress-testing infrastructure.

We need to limit the rate of outbound messages per second: sometimes to a particular slow rate, sometimes to a medium speed, sometimes "as fast as possible".

I found no easy way to do that; have I missed something?

Our current method is to use a mail gun to send to postfix over localhost which tops up the queues periodically, and then use default_destination_concurrency_limit as a way to limit the number of concurrent outgoing clients (we're sending to only one domain for these tests).

This works well enough, but it's coarse, and I believe it's sensitive to changing network latencies.

We've considered an intermediate process between the mail gun and the local postfix instance to limit based on bandwidth, but I'm wondering if there is a smarter way we can manage this via postfix configs?

Thanks for any ideas!
-c

Konsole output

Reply via email to