Re: [Exim] Router and interface questions

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Philip Hazel
Dátum:  
Címzett: Tamas TEVESZ
CC: Jakob Hirsch, exim-users
Tárgy: Re: [Exim] Router and interface questions
On Sat, 11 Aug 2001, Tamas TEVESZ wrote:

> my_bar:
> driver = domainlist
> domains = /etc/exim/mailforward
> route_list = "* mail.something.de bydns_a"
> transport = remote_smtp


Or, since the domainlist router is designed for checking lists of
domains,

my_bar:
driver = domainlist
route_list = lsearch;;/etc/exim/mailforward mail.something.de byname
transport = remote_smtp

Note (1) You do need ;; instead of ; because ; is the item separator in
a route list.

Note (2) byname is usually better than bydns_a because it usually also
searches your hosts file (depending on how your OS is set up).

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