Re: [exim] Choosing smarthost based on envelope from / sende…

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Ted Cooper
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Choosing smarthost based on envelope from / sender question
chris burgess wrote:
> [snip]
> Our aim is to route any address matching *-bounce@??? or *-
> request@??? to the smarthost_isp router, preserving the
> smarthost_ourdomain default for other traffic.


route_data in a manualroute is expandable which means you could do
everything you want just with that one line, however there are a few
other conditions you can use.

Thankfully someone has listed all of them here:
Generic options for routers
http://www.exim.org/exim-html-current/doc/html/spec_html/ch15.html
The manualroute router
http://www.exim.org/exim-html-current/doc/html/spec_html/ch20.html

local_part_suffix
domains
senders
condition

more details on order of evaluation here:
http://www.exim.org/exim-html-current/doc/html/spec_html/ch03.html#SECTrouprecon


--
The Exim Manual
http://www.exim.org/docs.html
http://www.exim.org/exim-html-current/doc/html/spec_html/index.html