[Exim] More condition help

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Steve Drees
日付:  
To: 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