On Saturday 25 November 2006 12:42, Alex wrote:
> It's possible do something like this?
>
> deny  message = This message matches a blacklisted regular expression
> ($regex_match_string)
> regex =   ${lookup sqlite{/home/sqliteDb/mail.db select blockval from
> blocklists where blocklists.blockhdr = 'subject' and user_id IS NULL and
> domain_id IS NULL}}

Well, your query contains no variables so I can't see how it wouldn't work, 
but if you wanted to check the contents of the Subject header field you would 
instead say

  condition = ${if match{$h_Subject:}{${lookup sqlite{...}}}

-- 
Magnus Holmgren        [EMAIL PROTECTED]
                       (No Cc of list mail needed, thanks)

Attachment: pgpzggvH5qfRr.pgp
Description: PGP signature

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to