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.
-- 
<[EMAIL PROTECTED]>   <[EMAIL PROTECTED]>   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}}

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