Expansion failure

Top Page
Delete this message
Reply to this message
Author: Ilya Ketris
Date:  
CC: exim-users
Old-Topics: anti-spam toy
Subject: Expansion failure

    Another "Segmentation violation" config:


--------------------------------------------------
local_domains:
        driver = smartuser,
        require_files = /etc/exim/local-domains/$domain;
        no_panic_on_fail,
        more,
    new_address = {lookup {$local_part}
        lsearch {/etc/exim/local-domains/$domain}
        {$value} fail} 
--------------------------------------------------
    (the last entry is one long string)



root> /usr/lib/sendmail -d99 -bt xxx@???

Debug level set to 99
file lookup required for lasl.com in /etc/exim/local-domains-list
address xxx@???
local_part=xxx domain=yyy.com local=1
directing xxx@???
local_domains director called for xxx@???
file lookup required for xxx in /etc/exim/local-domains/yyy.com
Segmentation fault

root>

    Without "fail" token it returns the empty string.


    Ilya