Re: [exim] Rate-limit queue-processing per domain

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Heiko Schlittermann
Date:  
À: exim-users
Sujet: Re: [exim] Rate-limit queue-processing per domain
Hi,

Charlie Elgholm <charlie@???> (Mi 18 Okt 2017 12:42:48 CEST):

> Is there some way to have Exim rate-limit the queue runners, so they only
> process - let's say 10 messages per minute - for a domain (like
> outlook.com/live.com) - _regardless_ of how the message was put in the
> queue.


As Jeremy pointed out already. You may have Exim put messages to some
domains into a separate queue implement the queue runner yourself,
calling `exim -M <id>` for each message ID in your rate limited queue.

(Never did this, but it should be flexible enough and I'd expect a
some-liner Shell Script as a queue runner.)

Some other approach I never used could be the event interface.
Maybe this can be used to call ratelimiting ACL after msg:delivery and
delay the exit of the delivery process. Combined with the several max_*
transport options this could work. Just guessing.

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann, Dipl.-Ing. (TU) - {fon,fax}: +49.351.802998{1,3} -
 gnupg encrypted messages are welcome --------------- key ID: F69376CE -
 ! key id 7CBF764A and 972EAC9F are revoked since 2015-01 ------------ -