Re: [Exim] e-mail forwarding

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Corin Hartland-Swann
CC: exim-users
Sujet: 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.