Erwin Ambrosch|XHOSTPLUS
2007-05-01 09:46:28 UTC
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}}
Thanks in Advance
Erwin
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}}
Thanks in Advance
Erwin