Re: [exim] Configuring exim to use eth0:n for some domains

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Tony Finch
Dátum:  
Címzett: Sub Zero
CC: 'Exim Users List'
Tárgy: Re: [exim] Configuring exim to use eth0:n for some domains
On Tue, 21 Jun 2005, Sub Zero wrote:
>
> How do I configure exim to use:
>     eth0:1 for domains on /etc/domainsoneth0_1 file,
>     eth0:2 for domains on /etc/domainsoneth0_2 file,
>     eth0:3 for domains on /etc/domainsoneth0_3 file,
>     ...
>     eth0 for domains not listed in any of those files above


Try something like the following. This will need additional options to be
an industrial-strength solution.

begin routers

# ....

eth0_1:
driver = dnslookup
domains = /etc/domainsoneth0_1
transport = eth0_1

# etc.

begin transports

eth0_1:
driver = smtp

# etc.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}