Autor: Lena Data: Dla: exim-users Temat: Re: [exim] Yahoo 5 messages per SMTP Connection
> 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