[Exim] ${if or { ... : expansion problem

Page principale
Supprimer ce message
Répondre à ce message
Auteur: ODHIAMBO G. Washington
Date:  
À: exim-users
Anciens-sujets: [Exim] ?off topic? SA Problem
Sujet: [Exim] ${if or { ... : expansion problem
Seems like I am missing the clue here:

condition = ${if or {
                    {${lookup {$domain} cdb{/usr/local/etc/exim/scan_spam_domains.cdb}{$value}}}
                    {${lookup {$local_part@$domain} cdb{/usr/local/etc/exim/scan_spam_domains.cdb}{$value}}}
                    } {1}{0}}


Testing this with `exim -be` gives

Failed: condition name expected, but found "${lookup{$domain"




-Wash

PS::REQUEST

Whenever responding, please, put your response _under_ the original (previous)
posting/message(s), not above them. This is the basics of Netiquette.

Also, remove unneeded fragments of previous message(s), especially any
"commercial" adverts and signatures. It's really ugly, space-wasting and
hard-answerable to have all that junk nested a couple of times. Thank you.

Q: Because it reverses the logical flow of conversation.
A: Why is top posting frowned upon?

--
Odhiambo Washington   <wash@???>  "The box said 'Requires
Wananchi Online Ltd.  www.wananchi.com      Windows 95, NT, or better,'
Tel: +254 2 313985-9  +254 2 313922         so I installed FreeBSD."
GSM: +254 72 743223   +254 733 744121       This sig is McQ!  :-)



Trying to establish voice contact ... please ____????yell into keyboard.