> From: Phil Pennock

> > What is the best method to limit the connections to yahoo  ?
> [ where Subject: highlights that you mean limit the messages per
>   connection, not the count of concurrent connections ]

Does @yahoo.com accept incoming mail irrespective of
number of concurrent connections?

> For instance,
> ----------------------------8< cut here >8------------------------------
> begin routers
> outbound_throttled:
>   driver = dnslookup
>   domains = yahoo.com
>   transport = throttled_smtp
> # normal dnslookup Router here, *after* that one
> # [...]
> begin transports
> throttled_smtp:
>   driver = smtp
>   connection_max_messages = 5
> ----------------------------8< cut here >8------------------------------
> You probably want to replace the hard-coded "yahoo.com" with a file
> reference, matching a file containing a list of domains, or with a
> domainlist:
> 
> domainlist yahoo_domains = yahoo.com : yahoo.co.uk : ...
> 
> which you then refer to as +yahoo_domains :
> 
>   domains = +yahoo_domains

I intend to replace "domains = yahoo.com" with

  condition = ${if match{$domain}{\N^yahoo\.\N}}

Does that look OK?

Thanks.

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to