[Exim] Include file for variables

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Tibor Koleszar
Datum:  
To: List Exim Users list
Betreff: [Exim] Include file for variables
Hello,

I've lots of domains for a mailserver running under linux with exim 3.03.
So, if i vant to use a file includeing my localdomains and relay domains, i
can do this:

local_domains = /etc/mail/local_domains
relay_domains = /etc/mail/relay_domains

but it seems to be its not correct.
So i try this one:
local_domains = lsearch;/etc/mail/local_domains
(and relay too)
So my question is:
lsearch can search a file with just one col?
I mean not the standard from:

key1: value1
key2: value2

but just
key1
key2.

And can i use * in keys? relay_domains = *foo.org for example works
correctly, but if i have *foo.org in /etc/mail/relay_domains and
i make an lsearch, will it work? (and quesiton is the same for declare nets,
so 10.0.0.0/8 works like a key?)

Thanks for you patience,

Tibor


-- 
==( IntegraNET )======( Internet Service Provider Corporation )==
  Koleszár Tibor | System engineer                               
          E-mail | t.koleszar@???, oldw@???         
  Public PGP key | http://master.debian.org/~oldw/public.key.asc