Re: [Exim] qualify_preserve_domain eq. in Exim 4?

Top Page
Delete this message
Reply to this message
Author: Juha Saarinen
Date:  
To: Tabor J. Wells
CC: exim-users@exim.org
Subject: Re: [Exim] qualify_preserve_domain eq. in Exim 4?
On Sun, 12 May 2002, Tabor J. Wells wrote:

> And what does the 4.04 router you have look like? What did convert4r4
> suggest?


Convert4r4 created this router from my 3.35 director:


virtual:
driver = accept
condition = ${if eq {}{${lookup{$local_part}lsearch{/etc/exim/${domain}.aliases}}}{no}{yes}}
domains = lsearch;/etc/exim/domains
qualify_preserve_domain
retry_use_local_part
transport = taitoltd

[This is the original director:]

virtual:
driver = aliasfile
domains = lsearch;/etc/exim/domains
file = /etc/exim/${domain}.aliases
search_type = lsearch
qualify_preserve_domain
transport = taitoltd


> When you say it doesn't work, what do you mean? Does it give you an
> error message or just not do what you expect it to? Have you run tests using
> -d?


Exim doesn't start with "qualify_preserve_domain":

May 13 11:38:14 vim2 exim: 2002-05-13 11:38:14 Exim configuration error in
line 379:
May 13 11:38:14 vim2 exim: option "qualify_preserve_domain" unknown
May 13 11:38:14 vim2 exim: exim startup failed


Exim and the router works without it though.

Think I'll switch to the virtual domains setup in 41.6 of the spec though.
Just tried that approach, and it works... seems cleaner.

BTW, Nigel: 41.6 uses the "dsearch" lookup type, but I don't think RPM of
4.04 has it?

--
Juha Saarinen