[exim] help with condition

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Alexandre Busquets
Datum:  
To: exim-users
Betreff: [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