Re: [exim] ACL error "for linear search: No such file or dir…

Αρχική Σελίδα
Delete this message
Reply to this message
Συντάκτης: Odhiambo Washington
Ημερομηνία:  
Προς: Emanuel Gonzalez
Υ/ο: exim users
Αντικείμενο: Re: [exim] ACL error "for linear search: No such file or directory"
On Fri, 15 Nov 2019 at 15:31, Emanuel Gonzalez via Exim-users <
exim-users@???> wrote:

> Hi,
>
> i use a rule to deny some tld spammers, but i need a condition to a
> whitelist file
>
>                 senders = /opt/exim/deny_senders

>
> logwrite = too much spam from TLD
>
> i agree this condition:
>
> condition = ${if
> exists{${lookup{$sender_address}lsearch*@{${perl{getmaildir2}{$local_part@
> $domain}}/.spamassassin/whitelist{no}{yes}}}}}
>
> but i see this error:
>
> temporarily rejected after DATA: failed to expand ACL string "{if
> exists{${lookup{$sender_address}lsearch*@{${perl{getmaildir2}{$local_part@
> $domain}}/.spamassassin/whitelist{no}{yes}}}}}":
> failed to open /mail///.spamassassin/whitelist{no for linear search: No
> such file or directory
>
> where is my error in the sintax?
>


exim -be 'your expansion string' will tell you where the problem is.


--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
"Oh, the cruft.", grep ^[^#] :-)