Exim Custom Router

Desai, Jason jase at sensis.com
Wed Mar 1 19:25:25 GMT 2006


> -----Original Message-----
> From: mailscanner-bounces at lists.mailscanner.info 
> [mailto:mailscanner-bounces at lists.mailscanner.info] On Behalf 
> Of Brendan Chard | Chard.Net
> Sent: Wednesday, March 01, 2006 12:08 PM
> To: 'MailScanner discussion'
> Subject: Exim Custom Router
> 
> I see in the wiki documentation how to set up a custom router 
> for one domain
> in exim.  How can I make it work if I want the custom router 
> to handle 3
> domains.
> 
> So basically... 
> 
> custom_router:
>   driver = manualroute
>   domains = domain1.com domain2.com domain3.com
>   transport = remote_smtp
>   route_list = "* mailserver.com"
> 
> Will this work?

I think you will need to separate them with colons.  

  domains = domain1.com : domain2.com : domain3.com

See http://exim.org/exim-html-4.60/doc/html/spec.html/ch10.html for more
info.

I suggest you create a temporary exim config file and make your changes
to it.  You can test which router will be used with something like:

exim4 -C /path/to/temp/exim/config -bt user at domain1.com

Jase


More information about the MailScanner mailing list