Re: [Exim] Relay to 2 domains

Etusivu
Poista viesti
Vastaa
Lähettäjä: Vadim Vygonets
Päiväys:  
Vastaanottaja: exim-users
Aihe: Re: [Exim] Relay to 2 domains
Quoth Dave C. on Mon, Jun 10, 2002:
> OMG.
>
> You dont want to be routing based on the headers. Nor do you need to use
> a complex condition to figure out where a message is addressed - the
> 'domains' parameter works nicely..


Indeed, someone needs to read about internet e-mail.

> cbcc_com_br:
> driver = domainlist
> domains = cbcc.com.br
> transport = remote_smtp
> route_list = * www.linuxsolutions.com.br
>
> teletrim_com:
> driver = domainlist
> domains = teletrim.com
> transport = remote_smtp
> route_list = * init.linuxsolutions.com.br


Or even:

relay:
  driver = domainlist
  domains = cbcc.com.br : teletrim.com
  transport = remote_smtp
  route_list = \
    cbcc.com.br    www.linuxsolutions.com.br ; \
    teletrim.com    what.ever.is.there


For more domains than that, I would use a separate database.

Vadik.

--
To the systems programmer, users and applications serve only to
provide a test load.