[Exim] More condition help

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Steve Drees
Datum:  
To: Exim-Users@Exim. Org
Betreff: [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