[exim] ratelimit for outgoing email

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Tony Finch
Data:  
Para: exim-users
Assunto: [exim] ratelimit for outgoing email
It occurs to me that it might be really simple to add some support for
rate-limiting outgoing email. This would be based on the serialize_hosts
mechanism. After delivering email using an SMTP transport with a ratelimit
option set, Exim would sleep for a bit then fire off another delivery to
the same host. You would be able to choose different rate limits either
using string expansion or using multiple transports with different
settings. You would be able to rate-limit some hosts and not others by
having one transport with and one without a ratelimit setting. You would
need to configure your routers to select the appropriate transport.

This would be trivial to implement as a per-host rate limit. I believe
there is some demand for per-domain limits which is a bit more tricky.
Perhaps I could add an option to serialize per transport instead of per
destination host.

Any comments?

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}}