[SA-exim] Refering SARunCond
Marc MERLIN
marc at merlins.org
Wed May 2 17:47:44 PDT 2007
On Tue, May 01, 2007 at 11:46:28AM +0200, Erwin Ambrosch|XHOSTPLUS wrote:
> Hi all,
>
> is it possible to refer SARunCond. I would need something like this:
>
> SARunCond: ${if and { {!eq {$sender_address_domain}{${lookup pgsql {SELECT DISTINCT email_domain FROM xhost_email_domain WHERE email_domain='$sender_address_domain'}}}} } {1}{0}}
>
> SARunCond: ${if and { {eq {$SARunCond}{0}} {eq {$sender_host_address}{192.168.1.1}} } {1}{0}}
No, that won't work sorry, SARunCond is not a variable visible from the
exim interpreter.
You have to run everything from one line.
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/
More information about the SA-Exim
mailing list