Re: [Exim] e-mail forwarding

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: Corin Hartland-Swann
CC: exim-users
Asunto: Re: [Exim] e-mail forwarding
On Wed, 20 Sep 2000, Corin Hartland-Swann wrote:

> One of the things I want to set up is for anything@onedomain to forward to
> anything@anotherdomain.


forwarddomain:
driver = smartuser
domains = onedomain
new_address = $local_part@anotherdomain

(Where new_address can be more complicate, involving lookups etc. if you
have lots of cases.)

> I tried adding @onedomain -> ${local_part}@anotherdomain into my aliases,
> but this did not expand - it sent it to that literal address.


If you want to do it that way, you can make it expand by setting "expand".

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