Re: [Exim] Multiple Columns from Database

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Wakko Warner
日付:  
To: Tom Daly
CC: exim-users
題目: Re: [Exim] Multiple Columns from Database
> Does anyone know any methods to write multiple columns from a database
> query and mapping them to maybe a couple different acl_m0 variables or as
> some headers. I am defining a couple conditions for different ACLs and
> scanners, these conditions are stored in my DB, so I would like to be able
> to get to them with a single query. Any ideas?


Set your variable to the result of a single row (hopefully each column has a
unique name).

Extract with:
${extract{col1}{$acl_m0}{$value}fail}

I'm not 100% sure on my syntax there, but RTFM expansion section (I think
that was 11).

--
Lab tests show that use of micro$oft causes cancer in lab animals