Re: [exim] regex

Pàgina inicial
Delete this message
Reply to this message
Autor: Magnus Holmgren
Data:  
A: exim-users
Assumpte: Re: [exim] regex
On Saturday 25 November 2006 17:34, Alex wrote:
> I put this
>
> condition = ${if match{$h_Subject:}{${lookup
> sqlite{/home/sqlite/sqliteDb/mail.db select blockval from blocklists where
> blocklists.blockhdr = 'subject' and user_id IS NULL and domain_id IS
> NULL}}}
>
> and i have this error
>
> 2006-11-25 17:32:58 1Go0SY-0004Xh-Ni H=(caya) [192.168.1.3] F=<
> alex@???> temporarily rejected after DATA: failed to expand
> ACL string "${if match{$h_Subject:}{${lookup
> sqlite{/home/sqlite/sqliteDb/mail.db select blockval from blocklists where
> blocklists.blockhdr = 'subject' and user_id IS NULL and domain_id IS
> NULL}}}": missing or misplaced { or }


Yes, count the opening and closing braces and make sure that they match. I
left that as an excercise. :-)

-- 
Magnus Holmgren        holmgren@???
                       (No Cc of list mail needed, thanks)