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


-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to