Re: [exim] Need ACL help - file doesn't exist problem

Góra strony
Delete this message
Reply to this message
Autor: Matthew Byng-Maddick
Data:  
Dla: exim-users
Temat: Re: [exim] Need ACL help - file doesn't exist problem
On Sat, Jan 07, 2006 at 06:39:05PM -0800, Marc Perkel wrote:
> ok - need some quick ACL help. I'm writing the back end for this
> project. Here's the situation:
>
> deny    message = REJECTED - User listed in personal block list
>        condition = 
> ${lookup{$sender_address}lsearch{/etc/mailcontrol/domains/perkel.com/users/marc/blockfrom.txt}{yes}{no}}

>
> The above code works of the file exists but if the file doesn't exist
> then I have problems. What I need is for it to return {no} if the file
> isn't there. How do I do that? Thanks in advance.


exists in:
http://www.exim.org/exim-html-4.60/doc/html/spec.html/ch11.html#SECTexpcond

might help you here.

Please can you read the manual at some point, it'd make life so much nicer
for the rest of us reading the list...

Cheers

MBM

-- 
Matthew Byng-Maddick          <mbm@???>           http://colondot.net/
                      (Please use this address to reply)