Re: [Exim] Filter confusion

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Philip Hazel
Date:  
À: Marilyn Davis
CC: exim-users
Nouveaux-sujets: Forwarding all mail - was Re: [Exim] Filter confusion
Sujet: Re: [Exim] Filter confusion
On Fri, 19 Oct 2001, Marilyn Davis wrote:

> Thank you for your efforts to help.
>
> I gave up and fixed up my alias file to do the forwarding.
>
> IMHO, a step-by-step on how to forward from one literal ip to another
> would be a good thing in a FAQ, or such an example in the
> documentation.


I've lost the original plot here, I'm afraid. Were you trying to send
everything from one host to a replacement? If so, the simple router

forward_all:
driver = domainlist
transport = remote_smtp
route_list = * other.host.name.or.ip byname

would do it, BUT of course this is "relaying", so you have to permit
your host to relay for the domains involved. You need to set

local_domains =

to cancel all local domains, and then have

relay_domains = the domains that were originally local

That will allow Exim to accept those domains for relaying.


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