[Exim] More condition help

Página Inicial
Delete this message
Reply to this message
Autor: Steve Drees
Data:  
Para: Exim-Users@Exim. Org
Assunto: [Exim] More condition help
Exim 3.33

This condition always returns false.

  condition = ${if and\
                     {\
                       {match {$h_subject:}{spamcop} }\
                       {eq { ${lookup {$local_part} lsearch
{/etc/exim/spamcop} {$value}{no} } }{yes} } \
                     }\
                     {yes}{no} \
               }


This condition always returns true.

  condition = ${if and\
                     {\
                       {match {$h_subject:}{spamcop} }\
                       {eq { ${lookup {$local_part} lsearch
{/etc/exim/spamcop} {$value}{no} } }{yes} } \
                     }\
                     {yes}{no} \
               }{yes}{no}



I clearly don't grok string substitution very well.


--
Steve Drees CDTT (Certified Duct Tape Technician)
SysAdmin/Software Developer/Web Geek/Chief Bottle Washer
"A problem well-stated is a problem half-solved."
http://steve.wejustrock.com