Re: [exim] Condition for router

Etusivu
Poista viesti
Vastaa
Lähettäjä: Jakob Hirsch
Päiväys:  
Vastaanottaja: Martin Klewitz [gamigo AG]
Kopio: exim-users
Aihe: Re: [exim] Condition for router
Martin Klewitz [gamigo AG] wrote:

> Is there a possibility to read the matching emails from a plain text file
> where all the addresses that should be relayed are listed one per line?


this should do:

additional_route:
   driver = manualroute
   condition = ${lookup {${local_part}@${domain}} \
     lsearch {CFG_DIR/relay_addresses} {1}{0}}
   route_data = 1.2.3.4
   transport = remote_smtp