Autor: Jeremy Harris Datum: To: exim-users @ exim. org Betreff: Re: [exim] Simple greylisting in Exim ACL.
David Woodhouse wrote: > (Btw, is there a clever way of doing 'SELECT foo,bar,baz FROM whatever'
> and getting them into three separate $acl_m_foo, $acl_m_bar, $acl_m_baz
> variables? I can either select them and then split the single text
> string, or fetch them separately as I do below. Did I miss a trick?
> In fact, I can't even see how to split a foo|bar|baz string and then set
> acl_m_foo=$1, set acl_m_bar=$2 etc., because aren't $1,$2 etc. cleared
> by the time you get to the next ACL modifier? You have to use them
> _inside_ the ${sg...} IIRC?)
Get the DB to output "foo=fooresult bar=barresult baz=bazresult"
and then use ${extract} three times?