Re: [exim] recipients > 5 should be sent by second mailer

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: Holger Kling
CC: exim-users
Subject: Re: [exim] recipients > 5 should be sent by second mailer
On Tue, 29 Jan 2008, Holger Kling wrote:
>
> Now I search a possibility to configure exim so, that it delivers all
> mails with 1 to 5 recipients directly by itself, but exim should give
> the mails with more recipients to a secondary auxiliary-exim-mailproxy
> "mass-mailer".


Add a router before your dnslookup router like this:

mass_mail:
driver = manualroute
domains = ! +local_domains
condition = ${if >{$recipients_count}{5} }
route_data = mass-mailer
transport = remote_smtp
no_more

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