Hi,
I want to add to my config, that i am able to get this to ifs to work.
I just want to test for exe and bat if the domain is in in the file
domain_no_exe
The log read either
unknown condition "1" inside "and{...}" condition
or
each subcondition inside an "and{...}" condition must be in its own {}
if i try around.
deny message = Deny Text bat exe
condition = ${if and
{ \
{match {${lc:$mime_filename}
{\N(\.bat|\.exe)$\N} \
{exists{CONFDIR/domain_no_exe}
{partial-lsearch;CONFDIR/domain_no_exe} \
} \
{1} {0} }
Thanks
marco kammerer