[exim] 2 conditions is one ACL rule

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: web
Data:  
Para: Exim-users
Assunto: [exim] 2 conditions is one ACL rule
Hi

I would like to use 2 conditions in one ACL rule. Both are $if or:

          condition = ${if or {\
          {match_domain{${domain:$rh_from:}}{+local_domains}}\
          {match_domain{${domain:$rh_subject:}}{+local_domains}}\
          }{yes}{no}}
          condition = ${if or {\
          {match_domain{${domain:$rh_from:}}{lsearch;/etc/domains-refusing-spam}}\
          {match_domain{${domain:$rh_subject:}}{lsearch;/etc/domains-refusing-spam}}\
          }{no}{yes}}


I don't know if I can put them one after another in ACL or I need to build
one condition using those two? As you can see - in first condition it is
match if domains are found in +local_domains, in second - domains should not
be found in /etc/domains-refusing-spam file.

Mike