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

Top Page
Delete this message
Reply to this message
Author: Dan Kappus
Date:  
To: exim-users
Subject: [Exim] Re: Exim-users digest, Vol 1 #643 - 19 msgs
>
> Hi there,
>
> One of the things I want to set up is for anything@onedomain to forward to
> anything@anotherdomain. In sendmail I'd accomplish this with the following
> virtusertable entry:
>
> @onedomain                %1@anotherdomain

>
> I tried adding @onedomain -> ${local_part}@anotherdomain into my aliases,
> but this did not expand - it sent it to that literal address.
>
> Can I accomplish this in my aliases with a special token, or do I need to
> do something completely different?


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

or you could use the domainlist router, right?

domain_forward
driver = smtp
domainlist = hostpattern: new host or domain byname

--
Dan Kappus
"I like kids, but I wouldn't want to eat one."