Re: [Exim] e-mail forwarding

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Philip Hazel
Ημερομηνία:  
Προς: Corin Hartland-Swann
Υ/ο: exim-users
Αντικείμενο: 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.