Re: [Exim] Reading route_list from a plain text file?

Top Page
Delete this message
Reply to this message
Author: Dave C.
Date:  
To: Jon Richardson
CC: exim-users
Subject: Re: [Exim] Reading route_list from a plain text file?
On Tue, 13 Jun 2000, Jon Richardson wrote:

> Hi,
>
> Is there any way I can read in from a file the domains to use in a
> route_list? I've seen a rather long way of doing it using a dbm but
> can anyone point me in the right direction??
>
> I would have thought something like this:
> route_list = partial-lsearch;/etc/exim/mail/domains.allmail



route_file is probably what you are looking for...


| route_file

|
|    Type:    string
|    Default: unset

|
| If this option is set, search_type must be set to one of the
| single-key lookup types, and route_query must not be set. See chapter
| 6 for details of file and database lookups. The domain being routed
| is used as the key for the lookup, and the resulting data must be a
| list of routing rules in the form described below. The file name is
| expanded before use.

|
| route_list

|
|    Type:    string-list, semicolon-separated
|    Default: unset
| 
| This string is a list of routing rules, in the form defined
| below. Note
| that, unlike most string lists, the items are separated by
| semicolons. This is so that they may contain colon-separated host
| lists.

|




> Jon Richardson
>
> --
> ## List details at http://www.exim.org/mailman/listinfo/exim-users Exim details at http://www.exim.org/ ##
>


--