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

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Bart van Dommelen
Dátum:  
Címzett: Jari M M Lammi, exim-users
Tárgy: Re: [Exim] Q: Smarthost and two smtp-hosts by IP?
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.
I also would advise you to use routelist "byname" instead of "bydns_a"
because you use a dialup connection. And you might find
queue_remote_domains also very interesting.

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"



Regards,

Bart van Dommelen.


At 14-6-2001 14:01, Jari M M Lammi wrote:
>Hello!
>
>I know, this question is covered in exim FAQ, but still I can't get this
>working properly (http://www.exim.org/FAQ.html#TOC82).
>
>In my /etc/exim.conf (Debian potato) stands:
>
>   smarthost:
>     driver = domainlist
>     transport = remote_smtp
>     route_list = "* \"${if match{$header_to:}{\\.ampr.org\\$} \
>                          {oh2rbi-1.ampr.org}{smtp.helsinki.fi}}\" bydns_a"

>
>But it works like that I had written only:
>
>   smarthost:
>     route_list = "* smtp.helsinki.fi bydns_a"

>
>So my meaning was to send all outgoing @*.ampr.org mail to the local on
>air smtp-server oh2rbi-1.ampr.org and all the rest regular internet mail
>to my ISP, smtp.helsinki.fi.
>
>What happens now is that every message sent takes first quite a long
>time to do anything (about 10-20 seconds) and then all all mail ends up
>in my ISDN-modem. And never in the amateur radio TNC, unlike all the
>other 44.n.n.n-traffic which works fine.
>
>Any help would be appreciated,
>Jari Lammi, OH2LNA
>
>
>--
>## List details at http://www.exim.org/mailman/listinfo/exim-users Exim
>details at http://www.exim.org/ ##