Is it possible to mix “AND” “OR” logic in one condition?

 

For example:

CHECK_VACATION = ${lookup mysql{select body from vacation where \

        email = '[EMAIL PROTECTED]' and active = '1'}{$value}fail}

 

autorespond:

driver = accept

domains = +virt_domains

condition = ${if  and { {!eq {CHECK_VACATION}{} }} \  (maybe ${if  !eq 
{CHECK_VACATION}{} } even)

        or {

       {!match{$h_precedence:}{(?i)junk|bulk|list}}\

        {eq{$sender_address}{}}\

        {!def:header_Auto-Submitted:}\

        {!def:header_X-Autoresponse:}\

        {!def:header_X-Autoreply-From:}\

        {!def:header_List-Id:}\

        {!def:header_List-Help:}\

        {!def:header_List-Unsubscribe:}\

        {!def:header_List-Subscribe:}\

        {!def:header_List-Owner:}\

        {!def:header_List-Post:}\

        {!def:header_List-Archive:}\

        }}

no_verify

no_expn

unseen

transport = auto_responder

 

or something similar (this example doesn’t work)

 

--

Best regards,

Juri

 

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

Reply via email to