Re: [exim] Smart routing problem

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Peter Bowyer
Fecha:  
A: Exim Users
Asunto: Re: [exim] Smart routing problem
On Mon, 15 Nov 2004 12:56:56 +0200, D u n c a n <drack@???> wrote:
>
>
> > Wayne Swart <fixx@???> wrote:
> > > Helo Fellow Exim Users
> > >
> > > I have a mailserver that handles mail for only one domain.
> > >
> > > But not all of the users of the domain is on the local server.
> > >
> > > I want to create a router that tells the server to query a file. If it
> > > matches a recipient for the local domain in that file, it needs to use
> > > the remote_smtp transporter for it.
> > >
> > > This is what I have in my exim configuration:
> > > unknown:
> > >  driver = manualroute
> > >  transport = remote_smtp
> > >  route_data =     lsearch;/usr/local/etc/exim/alias.remote
> > >  no_verify

> > >
> > > No looking at some examples, I think that that is the right way of
> > > setting up the router, but I am not sure what my lsearch'd file should
> > > look like inside?
> >
> > Try this instead:
> >
> > unknown:
> > driver = manualroute
> > transport = remote_smtp
> > local_parts = lsearch;/usr/local/etc/exim/alias.remote
> > route_data = $local_part_data
> >
> > Then the file should look like
>
>
> is it possible to substitute freds.server.com with a public ip_address for
> the remote host


Provided that the gateway server can route to that address (IP-wise), yes.

Peter