Re: [Exim] Weird problem getting header match in router - co…

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Avleen Vig
日付:  
To: Avleen Vig
CC: exim-users
古いトピック: [Exim] Weird problem getting header match in router
題目: Re: [Exim] Weird problem getting header match in router - correction but still broken
On Wed, Dec 17, 2003 at 09:56:44AM -0800, Avleen Vig wrote:
> Very odd, and I can't work out why..
>
> This works and the conditions succeeds:
> condition = ${if match {$h_x-mailer:}{mPOP Web-Mail 2.19} {yes}{no} }
>
> This doesn't:
>   condition = ${if eq {$h_X-Mailer:}{${lookup mysql{select blocklists.blockval from blocklists,users,domains \
>               where users.localpart = '${quote_mysql:$local_part}' \
>               and domains.domain = '${quote_mysql:$domain}' \
>               and domains.domain_id=blocklists.domain_id \
>               and users.user_id=blocklists.user_id}{$value}fail} } {yes}{no}}


These both actually hat 'match' but were still failing. the copy was
from me trying different things.. but it still no workie. Hrm. I'm
wondering if the database is returning unprintable characters or
something..