Re: [Exim] Q: Smarthost and two smtp-hosts by IP?

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Bart van Dommelen
Fecha:  
A: Jari Lammi, [Exim]
Asunto: Re: [Exim] Q: Smarthost and two smtp-hosts by IP?
Hi,

In the route_list you can define the servers and domains.
So "oh2rbi-1.ampr.org 123.456.789.012 byname" will send all mail destined
for oh2rbi-1.ampr.org to 123.456.789.012 and all other mail (that's where
the wildcard is for) to "* 123.456.789.013".

Regards,

Bart van Dommelen.

At 16-6-2001 09:15, Jari Lammi wrote:
>Hi,
>
> > This could also be a dns problem. Do you have any forwarders configured in
> > your own dns server ? If so, please advise the isdn4linux docs.
>
>Actually I haven't finished yet configuring my own nameserver. Till now I've
>just placed the most wanted ampr.org -addresses in /etc/hosts.
>
> > I also would advise you to use routelist "byname" instead of "bydns_a"
> > because you use a dialup connection.
>
>   smarthost:
>     driver = domainlist
>     transport = remote_smtp
>     route_list = * "${if
>match{$domain}{\\.ampr\\.org\$}{oh2rbi-1.ampr.org}{smtp.helsinki.fi}}"
>byname

>
>It seems to skip now DNS-lookup from dialup-line (if online), which is a
>good thing. Smarthost started working as soon as I corrected the regular
>expression mispellings, after Philip's instructions.
>
>Even though I have a dialup line, the 44.n.n.n space is continously
>available all the time.
>
> > And, as Philip mentioned, the routers can be done easier. For example:
> >
> > oh2rbi_1ampr_org:
> > driver = domainlist
> > transport = remote_smtp
> > route_list = "oh2rbi-1.ampr.org 123.456.789.012 byname"
> >
> > smarthost:
> > driver = domainlist
> > transport = remote_smtp
> > route_list = "* 123.456.789.013 byname"
>
>I didn't quite understand this one. Where do you tell exim to use
>oh2rbi_1ampr_org instead of smarthost -entry?
>
>Regards,
>Jari Lammi
>
>
>--
>## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
>details at http://www.exim.org/ ##