[exim] help with condition

Top Page
Delete this message
Reply to this message
Author: Alexandre Busquets
Date:  
To: exim-users
Subject: [exim] help with condition
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
/home/test/check_overquota.pl $local_part $message_size}}}{1} }
data = :fail:\n\The user $local_part@$domain is over quota, $local_part
$message_size.
local_part_suffix = -*
local_part_suffix_optional
retry_use_local_part