Re: [Exim] Problem with string expansion in transport

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

> Please run exim with -d+expand this will give us more information.


Ok, here's the relevant section from its output:

31415 >>>>>>>>>>>>>>>> Local deliveries >>>>>>>>>>>>>>>>
31415 --------> mfeichtn@localhost <--------
31415 locking /var/spool/exim4/db/retry.lockfile
31415 locked /var/spool/exim4/db/retry.lockfile
31415 opened hints database /var/spool/exim4/db/retry: flags=0
31415 dbfn_read: key=T:mfeichtn@localhost
31415 no retry record exists
31415 search_tidyup called
32000 changed uid/gid: local delivery to mfeichtn <mfeichtn@localhost>
transport=local_cyrus_pipe
32000   uid=101 gid=8 pid=32000
32000   auxiliary group list: <none>
32000   home=NULL current=/
32000 set_process_info: 32000 delivering 1A5UX6-0004AL-8l to mfeichtn using
local_cyrus_pipe
32000 expanding: T: handed over to cyrus via pipe for $local_part@$domain
(suffix: $local_part_suffix)
32000    result: T: handed over to cyrus via pipe for mfeichtn@localhost
(suffix: )
32000 T: handed over to cyrus via pipe for mfeichtn@localhost (suffix: )
32000 local_cyrus_pipe transport entered
32000 direct command:
32000   argv[0] = /usr/sbin/cyrdeliver
32000   argv[1] = -a
32000   argv[2] = ${if
32000   argv[3] = eq{$local_part}{}{cyrus}{$local_part}}
32000   argv[4] = -m
32000   argv[5] = ${substr_1:$local_part_suffix}
32000   argv[6] = --
32000   argv[7] = $local_part
32000 failed to expand: ${if
32000    error message: condition name expected, but found ""
32000 search_tidyup called
31415 local_cyrus_pipe transport returned PANIC for mfeichtn@localhost
31415 post-process mfeichtn@localhost (9)
31415 LOG: MAIN PANIC
31415   == mfeichtn@localhost <mfeichtn@???> 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
+""
31415 >>>>>>>>>>>>>>>> deliveries are done >>>>>>>>>>>>>>>>



> You really should subscribe....


I've done that now.

> Nico


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
-------------------------