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

Página Principal
Apagar esta mensagem
Responder a esta mensagem
Autor: Avleen Vig
Data:  
Para: Avleen Vig
CC: exim-users
Tópicos Antigos: [Exim] Weird problem getting header match in router
Assunto: 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..