Re: [exim] Use more then one router to send mail

Top Page
Delete this message
Reply to this message
Author: Magnus Holmgren
Date:  
To: exim-users
Subject: Re: [exim] Use more then one router to send mail
On Friday 26 January 2007 12:33, Cédric MARCOUX (sprimont) wrote:
> smart_route:
>    driver = manualroute
>    domains = ! +local_domains
>    transport = remote_smtp
>    route_list = * smtp.isp.com

>
> dnslookup:
>    driver = dnslookup
>    domains = ! +local_domains
>    transport = remote_smtp
>    ignore_target_hosts = 0.0.0.0 : 127.0.0.0/8
>    no_more

>
> Thus, in this case, mails are trapped on the first router but if it fail
> the next router is not tryed!


Don't you want to try direct delivery before smart_route? Anyway, you can use
pass_on_timeout to skip to the next router if connection fails. Adding
fallback_hosts = smtp.isp.com to the dnslookup router might also be a good
idea.

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)


"Exim is better at being younger, whereas sendmail is better for
Scrabble (50 point bonus for clearing your rack)" -- Dave Evans