RE: [Exim] faq 9817 about taking copies - no work?

Etusivu
Poista viesti
Vastaa
Lähettäjä: Philip Hazel
Päiväys:  
Vastaanottaja: Hana Breyer Priselac
Kopio: 'exim-users@exim.org'
Aihe: RE: [Exim] faq 9817 about taking copies - no work?
On Fri, 2 Mar 2001, Hana Breyer Priselac wrote:

> pbz_gw:
>    driver=domainlist
>    transport=remote_smtp
>    route_list="pbz.hr inter.pbz.hr byname"
>    fallback_hosts =199.11.11.2
>    condition = "${lookup{local_part}\
>        lsearch{/etc/exim/accepted}{yes}}"


> Not all accepted recipients should have ther mail copied to other addresses,
> so accepted file is quite different from duplicated file.


My first reaction is that this would be easier if you made pbz.hr a
local domain so that you could use an aliasing scheme for copying
messages. However, if you just want to send certain messages to another
host, you can add another router like this, BEFORE that one:

pbz_gw_copy:
      driver=domainlist
      transport=remote_smtp
      route_list="pbz.hr OTHER.pbz.hr byname"
      condition = "${lookup{local_part}\
          lsearch{/etc/exim/accepted}{yes}}"
      unseen         




-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.