Richard Hopkins wrote:
> smart_route:
> driver = manualroute
> domains = !+local_domains
> transport = remote_smtp
> hosts_randomize
> route_list = * sysa.bris.ac.uk:sysb.bris.ac.uk:sysc.bris.ac.uk
>
> This is working well for me with the exception that when the queue of
> messages is processed, established SMTP connections are not being reused.
> Ideally, I'd like each "exim -q" process to pick one of the route_list
> hosts (at random) and send all messages in the queue to it (resuing the
> connection it's initially established). Is this possible?
IMHO exim should reuse the connections.
But you can try to run exim with:
exim -bd -qq10m
exim will do do a two-step queuerun with this setting, it routes all
messages first, remembers the target-hosts, and reuses the connection
more efficiently.
you can also try to use
queue_smtp_domains = +!local_domains
This should have the same effect.
Nico
--
Der kürzeste Weg zwischen zwei Menschen ist ein Lächeln.