Код: Выделить всё
#
# if message < 80k and contain picture
warn message = "added 20 ball for message size = $message_size; with file = $mime_filename"
log_message = "added 20 ball for message size = $message_size; with file = $mime_filename"
condition = ${if !eq{$acl_m2}{1} {yes}{no}}
condition = ${if match {${lc:$mime_filename}} \
{\N(\.gif|\.jpg|\.jpeg|\.tif|\.tiff|\.png|\.pdf)$\N} {yes}{no}}
condition = ${if <{$message_size}{80k} {yes}{no}}
set acl_m0 = ${eval:$acl_m0+20}
# длинна заголовка больше 5 - он существует
condition = ${if >${strlen:$h_Reply-To:}{5} {yes}{no}}
set acl_m0 = ${eval:$acl_m0+20}
# /\d{3}(\s|-)\d{2}(\s|-)\d{2}/
warn message = "added 20 balls - found phone number"
log_message = "added 20 balls - found phone number"
condition = ${if !eq{$acl_m2}{1} {yes}{no}}
condition = ${if <{$message_size}{30k} {yes}{no}}
condition = ${if match{$message_body}{\N\d{3}(\s|-)\d{2}(\s|-)\d{2}\N} {yes}{no}}
set acl_m0 = ${eval:$acl_m0+20}в Логе что то мне не понятно.. Похоже на ошибку...
в логе ошибка или нет?
Код: Выделить всё
2009-10-23 18:02:09 1N1IqP-00051J-2i H=mailgw1.kcell.kz [195.47.255.111] I=[212.154.171.210]:25 F=<Kairat.Kaisagaliyev@kcell.kz> temporarily rejected during MIME ACL checks: failed to expand ACL string "${eval:$acl_m0+20}": error in expression evaluation: expecting operator (after processing "60")
2009-10-23 18:01:04 1N1IpL-0004zN-F4 H=mailgw2.kcell.kz (mailgw1.kcell.kz) [195.47.255.111] I=[212.154.171.210]:25 F=<Kairat.Kaisagaliyev@kcell.kz> temporarily rejected during MIME ACL checks: failed to expand ACL string "${eval:$acl_m0+20}": error in expression evaluation: expecting operator (after processing "60")
2009-10-23 17:59:58 1N1IoI-0004x2-0y H=mail.kcell.kz (mailgw1.kcell.kz) [195.47.255.111] I=[212.154.171.210]:25 F=<Kairat.Kaisagaliyev@kcell.kz> temporarily rejected during MIME ACL checks: failed to expand ACL string "${eval:$acl_m0+20}": error in expression evaluation: expecting operator (after processing "60")
2009-10-23 17:58:53 1N1InE-0004vZ-EP H=mailgw1.kcell.kz [195.47.255.111] I=[212.154.171.210]:25 F=<Kairat.Kaisagaliyev@kcell.kz> temporarily rejected during MIME ACL checks: failed to expand ACL string "${eval:$acl_m0+20}": error in expression evaluation: expecting operator (after processing "60")