Hello [email protected],

Вот что у меня заработало (может кому-то полезно будет)



local_interfaces = <; 0.0.0.0 ; 127.0.0.1.10028
.....

acl_check_rcpt:
.....
  accept hosts = +relay_from_hosts
        condition = ${if eq{$interface_port}{10028}{yes}{no}}
        ratelimit = 400 / 1h / leaky / RELAYKEY / per_rcpt
        delay = 5s

  accept  hosts         = +relay_from_hosts
.....

# insert before dnslookup

self_relay:
  driver = manualroute
  domains = ! +local_domains
  condition = "${if eq {$interface_port}{10028} {0}{1}}"
  transport = self_relay_smtp
  route_list = "* 127.0.0.1::10028 byname"
  self = send


.......

begin transports

self_relay_smtp:
  driver = smtp
  allow_localhost




On Wed, 5 Sep 2012 19:12:25 +0300 [email protected] wrote:

> > Есть ли возможность использовать ratelimit (ограничение скорости)
> > при разгребании большой очереди?
> 
> А с какой целью?
> Может быть, подойдет альтернативный путь: в транспорте
>   serialize_hosts = *
> 
> И еще дополнительные роутер и транспорт:
> 
> remote_domains_throttled:
>   driver = dnslookup
>   domains = \N^yahoo\.\N : rocketmail.com : ymail.com : y7mail.com : \
>         btinternet.com : btopenworld.com : att.net : sbcglobal.net : 
> rogers.com
>   retry_use_local_part
>   transport = throttled_smtp
> 
> remote_domains:
> ...
> 
> throttled_smtp:
>   driver = smtp
>   serialize_hosts = *
>   connection_max_messages = 5
>   retry_use_local_part
> 
> _______________________________________________
> Exim-users mailing list
> [email protected]
> http://mailground.net/mailman/listinfo/exim-users
> 


_______________________________________________
Exim-users mailing list
[email protected]
http://mailground.net/mailman/listinfo/exim-users

Ответить