Re: [exim] Todays possibilities to rate limit outgoing email…

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Jeremy Harris, Lars Timmann
CC: exim-users
Subject: Re: [exim] Todays possibilities to rate limit outgoing emails per host
On Sat, 15 Sep 2007, Jeremy Harris wrote:
> Lars Timmann wrote:
> >
> > I have the problem that one of our customers need the possibility to
> > ratelimit the number outgoing emails on a per host basis. The receiving
> > host blocks the customer if he sends more than 2 mails per second.
>
> http://exim.org/exim-html-4.66/doc/html/spec_html/ch40.html#SECTaclconditions
> Look for "ratelimit".


No, that limits the rate of incoming email. Exim does not support outgoing
rate control in any simple way. Essentially you have to use queue-only,
because the way Exim delivers messages immediately prevents it from doing
per-destination serialization. Then you can try using -qq to run the
queues to serialize deliveries for each host, or you can use a custom
queue runner, such as
http://lists.exim.org/lurker/message/20041203.141841.1ab97bb0.en.html

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}