Alexandre Busquets wrote:
> I have this condition in a router but not runs
> 
> 
> #check_overquota.pl
> #1 - overquota
> #0 - non overquota
> 
> checkoverquota:
>   driver = redirect
>   allow_fail
>   condition = condition = ${if eq {${run{sudo -u test
               ^^^^^^^^^^^^^  typo?
> /home/test/check_overquota.pl $local_part $message_size}}}{1} }
>   data = :fail:\n\The user [EMAIL PROTECTED] is over quota, $local_part
> $message_size.
>   local_part_suffix = -*
>   local_part_suffix_optional
>   retry_use_local_part

Wouldn't it be easier to just do:
condition = ${run{sudo -u test /home/test/check_overquota.pl $local_part 
$message_size}}

I have forgotten the exact usage of ${run

-- 
 Lab tests show that use of micro$oft causes cancer in lab animals
 Got Gas???

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to