Изначально хотел так:
Код: Выделить всё
user_spam:
driver = accept
condition = ${if >{$acl_m0}{59}{yes}{no}}
condition = ${if <{$acl_m0}{70}{yes}{no}}
transport = user_spam_deliver
Код: Выделить всё
2010-06-22 14:31:25 [16023] Exim configuration error in line 739 of /etc/exim4/exim4.conf:
"condition" option set for the second time
Код: Выделить всё
user_spam:
driver = accept
condition = ${if and { \
{>{$acl_m0}{59}{yes}{no}} \
{<{$acl_m0}{70}{yes}{no}} \
} \
{yes}{no} \
}
transport = user_spam_delivery
Паниклог:
Код: Выделить всё
2010-06-22 14:08:09 [15241] 1OR1Kr-0003xl-Hy failed to expand condition "${if and { {>{$acl_m0}{59}{yes}{no}} {<{$acl_m0}{70}{yes}{no}} } {yes}{no} }" for user_spam router: missing } at end of condition inside "and" group
Код: Выделить всё
user_spam:
driver = accept
condition = ${if and { \
{>{$acl_m0}{59}{yes}{no}} \
{<{$acl_m0}{70}{yes}{no}} \
} \
{yes}{no} \
}}
Код: Выделить всё
2010-06-22 14:17:39 [15588] 1OR1U3-00043P-2k failed to expand condition "${if and { {>{$acl_m0}{59}{yes}{no}} {<{$acl_m0}{70}{yes}{no}} } {yes}{no} }}" for user_spam router: missing } at end of condition inside "and" group
Код: Выделить всё
user_spam:
driver = accept
condition = ${if and {{>{$acl_m0}{59}{yes}{no}}{<{$acl_m0}{70}{yes}{no}}}{yes}{no}}
transport = user_spam_delivery
Код: Выделить всё
2010-06-22 14:22:23 [15678] failed to expand condition "${if and { {>{$acl_m0}{59}{yes}{no}} {<{$acl_m0}{70}{yes}{no}} } {yes}{no} }}" for user_spam router: missing } at end of condition inside "and" group