[Exim] Problem with string expansion in transport

Top Page
Delete this message
Reply to this message
Author: Christian Kesselheim
Date:  
To: exim-users
Subject: [Exim] Problem with string expansion in transport
Hi!

I got a strange problem with string expansion in exim4 (ver. 4.22) on
Debian 3.0 (woody). The following transport produces a string expansion
error during runtime, but not if evaluating the corresponding section
via "exim -be" directly:

local_cyrus_pipe:
debug_print = "T: handed over to cyrus via pipe for $local_part@$domain
(suffix: $local_part_suffix)"
driver = pipe
command = /usr/sbin/cyrdeliver -a ${if eq{$local_part}{}{cyrus}{$local_part}}
-m ${substr_1:$local_part_suffix} -- $local_part
user = cyrus
group = mail
log_output
message_prefix =
message_suffix =

2003-10-03 19:26:27 1A5ThC-0001TF-Pz == bkerpen@localhost
<bkerpen@???> R=rewritten_address T=local_cyrus_pipe defer (0):
Expansion of "${if" from command "/usr/sbin/cyrdeliver -a ${if
eq{$local_part}{}{cyrus}{$local_part}} -m ${substr_1:$local_part_suffix}
-- $local_part" in local_cyrus_pipe transport failed: condition name
expected, but found ""

I can't think of any reason for that error message on myself, so I hope
anybody on this list got an idea.

Since I'm not subscribed to exim-users, please reply to me directly:
ckesselh@???

Thnx in advance.

Chris

--

-------------------------
Christian Kesselheim

infeurope S.A.
62, rue Charles Martel
L-2134 Luxembourg
Luxembourg
Tel: (+352) 25.22.33.499
Fax: (+352) 25.22.33.222
GSM: (+ 49) 177.206.1004

Web: www.infeurope.lu
-------------------------