Re: [exim] Smart routing problem

Page principale
Supprimer ce message
Répondre à ce message
Auteur: D u n c a n
Date:  
À: Peter Bowyer, exim-users
CC: 
Sujet: Re: [exim] Smart routing problem
> 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


> fred: freds.server.com
> bert: berts.server.net
>
> where mail for fred@mydomain is to be forwarded to freds.server.com. The
> router will pass for localparts which are not found in the alias file.
>
> Peter
>
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim

details at http://www.exim.org/ ##
>