Re: [Exim] Re: Exim-users digest, Vol 1 #643 - 19 msgs

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Philip Hazel
Fecha:  
A: Dan Kappus
Cc: exim-users
Asunto: Re: [Exim] Re: Exim-users digest, Vol 1 #643 - 19 msgs
On Wed, 20 Sep 2000, Dan Kappus wrote:

> Someone tell me if this is right:
>
> domain_forward:
> driver = smtp
> domain-list = domains and hosts separated by semicolons
> #these are the domains to be resent
> hosts = new.host.domain.com
> fallback_hosts = whatever.com
> #these are the places that the resent mail goes to
> gethostbyname = true
> delay_after_cutoff = true


It isn't right. There is no "domain-list" option in the smtp transport.

> or you could use the domainlist router, right?
>
> domain_forward
> driver = smtp
> domainlist = hostpattern: new host or domain byname


That is the right way to implement "send mail for this/these domains to
that host, without changing the addresses in the envelope". That is often
called "mail hubbing" or "manual mail routing". However, you've got the
syntax wrong. You want

  domain_forward:
    driver = domainlist
    transport = remote_smtp   (or whatever your smtp transport is called)
    route_list = pattern new-host byname


However, what people normally mean by "forwarding" is in fact not to do
that, but to change the address in the envelope, and then let the new
address be handled afresh. That can most conveniently be done by making
the domain a local domain, and using an aliasfile or smartuser director.

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