Re: [Exim] Implementing "whitelist" feature for sender addre…

Top Page
Delete this message
Reply to this message
Author: Ralf G. R. Bergs
Date:  
To: exim-users@exim.org
Subject: Re: [Exim] Implementing "whitelist" feature for sender addresses: How to handle "whitelist not found?"
On Mon, 12 May 2003 09:47:27 +0100 (BST), Philip Hazel wrote:

>On Fri, 9 May 2003, Ralf G. R. Bergs wrote:
>
>> Hi there,
>>
>> I have the following in my exim.conf (4.14):
>>
>>   accept  senders       = ${lookup {$sender_address} lsearch

{EXIM_VIRT_DOM_DIR
>> /$domain/whitelist} {$sender_address} {}}
>>           domains       = +local_domains

>>
>> This works fine AS LONG AS the file is available. How do I handle situations
>> when the file is missing? Of course I would like to pass to the next ACL
>> statement in these cases...
>
>${if exists ...


Aaargh. I guess that was just too simple. ;-)

Thanks!


--
   L I N U X       .~.
  The  Choice      /V\
   of a  GNU      /( )\
  Generation      ^^-^^