Author: Lena Date: To: exim-users Subject: Re: [exim] Misunderstanding match_domain and sqlite ...
Or perhaps better
${if eq{${lookup sqlite{/etc/exim4/mta.db select status from domains where name='${quote_sqlite:${lc:bad.com}}'}{$value}{notfound}}}{active}{yes}{no}}