[Exim] More condition help

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Steve Drees
Ημερομηνία:  
Προς: Exim-Users@Exim. Org
Αντικείμενο: [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