[exim] exim4 and problem with ${extract... and white spaces

Top Page
Delete this message
Reply to this message
Author: Heiko Schlittermann
Date:  
To: exim-users
Subject: [exim] exim4 and problem with ${extract... and white spaces
Hello,

somehow I'm too stupid...

    o exim4.34




In the 'transports' section of the config file:

uuxtest:
    driver = pipe
    command = /tmp/script ${extract{uux}{uux=/bin/uux rmail=rmail}{$value}}
                                                     ^ space here


[ do not think about the sense, the original is more complicated ;-) ]
exim always tells me about errors and missing '}' resp '{'.

(For the curiuos:
    There's a file called uucp.commands:


    ,-----
    |test.com:   uux=/usr/bin/uux rmail=rmail
    |test.org:   uux=/usr/bin/uuz rmail=zrmail
    `-----


and command *should* be:

    command = ${extract{uux} ${lookup{$domain}lsearch{/etc/exim4/uucp.commands}{$value}}}
                              `------------------v------------------------------------'
                                   where that reads like
                                   test.com: uux=/usr/bin/uux rmai=rmail



What I'm doing wrong here?
(I tried almost(?) every quoting I could thing of...)

Thanks in advance..

    Best regards from Dresden
    Viele Gruesse aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ------------------ internet & unix support -
 Debian GNU/Linux Woody + KDE 3.1 + Bunk -- DVD / CD ---------
 Heiko Schlittermann HS12-RIPE -------------------------------
 pgp: A1 7D F6 7B 69 73 48 35  E1 DE 21 A7 A8 9A 77 92 -------
 gpg: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -----