Philip Hazel wrote:
> On Tue, 5 Mar 2002, Ferenc Kiraly wrote:
> When you say "nothing happens", do you mean that the shadow transport is
> just ignored? What is the configuration of your transport?
It seems to me as if the condition evaluates to false. If I put
shadow_condition = "yes"
then the shadow facility works as expected, for every e-mail that is to
be delivered.
> Have you tried putting
>
> debug_print = "${if eq {${lookup {${local_part}} lsearch {/var/some/file}{yes}}}{yes}{yes}{}}"
>
> on the transport and running a delivery with -d to see what it outputs?
I will try this as soon as I can.
Here is the transport configuration:
----------------------------------------------
cyrus_delivery:
driver = pipe
command = "/usr/sbin/cyrdeliver ${local_part}"
envelope_to_add = true
return_path_add = true
return_output
user = cyrus
shadow_condition = "${if eq {${lookup {${local_part}} lsearch
{/var/spool/vacations/vacationeers}{yes}}}{yes} {yes}{}}"
#shadow_condition = "yes"
shadow_transport = address_reply
----------------------------------------------
feri.