[Exim] problem getting a condition right

Top Page
Delete this message
Reply to this message
Author: Odhiambo G. Washington
Date:  
To: exim-users
Subject: [Exim] problem getting a condition right
I am momentarily blind, and need help ;-)
The following condition is getting me bald ...

condition         = "${if and { \
                      {!def:h_X-Spam-Flag:} \
                      {!def:h_X-DSPAM-Check:} \
                      {!eq {$received_protocol}{local}} \
                      {!eq {$sender_address_domain}{$domain}} \
                      ${lookup{$local_part@$domain}lsearch{/usr/local/etc/exim/mail_backup_users}}
                      }
                     {1}{0}


... my problem is on the 3rd last condition ....
on the lookup. I just can't figure it out though exim -be tells me....



        cheers
       - wash
+----------------------------------+-----------------------------------------+
Odhiambo Washington                     . WANANCHI ONLINE LTD (Nairobi, KE)  |
<wash at wananchi dot com>              . 1ere Etage, Loita Hse, Loita St.,  |
GSM: (+254) 722 743 223                 . # 10286, 00100 NAIROBI             |
GSM: (+254) 733 744 121                 . (+254) 020 313 985 - 9             |
+---------------------------------+------------------------------------------+
"Oh My God! They killed init! You Bastards!"
                         --from a /. post