Quoting Tim Legant <[EMAIL PROTECTED]>:

> Stephen Warren <[EMAIL PROTECTED]> writes:
> 
> [snip IMP/Horde modifications...]
> 
> > Two issues, though:
> > 
> > 2)
> > 
> > ...
> >
> > and use this in ~/.tmda/filters/incoming as:
> > 
> > =====
> > from-sql -addr_column=object_email "$(SQL_WHITELIST)" accept
> > =====
> > 
> > but it didn't appear to expand $(SQL_WHITELIST) at all - it just
> > attempted to execute that literal text as SQL. Putting the whole SQL
> > into the filter works fine, but suffers from being a long nasty
> > looking line! The at http://www.tmda.net/filter-sources.html have an
> > example setup like this...
> 
> It looks as if you're using parentheses to surround SQL_WHITELIST.
> That won't work.  The filter parser only understands braces in that
> context, rather like expanding variables in the shell, only in the
> filter language the braces are required.  Try "${SQL_WHITELIST}"
> instead.

Duh. Guess I should read those small fonts on my screen more closely.

Thanks!

-- 
Stephen Warren, Software Engineer, Parama Networks, San Jose, CA
[EMAIL PROTECTED]                  http://www.wwwdotorg.org/
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to