[exim] Error in ACL

Top Pagina
Delete this message
Reply to this message
Auteur: Brian Rudy
Datum:  
Aan: exim-users
Onderwerp: [exim] Error in ACL

Good day,

I made a post yesterday and was asked to clarify what my actual acl contained...

Here's the acl info and test info... Hopefully, someone will see what I'm doing wrong.

My /etc/exim/exim.conf file has an entry:
.include /etc/exim/exim-del.acl.conf.inc

setting it up this way makes it easier to get to the area I need to edit
to make any changes.

The /etc/exim/exim-del.acl.conf.inc file contains the following:

deny message = ${lookup{$sender_address=>$local_part@$domain}\
                lsearch{/etc/exim/exim-del.db}}
   condition = ${lookup{$sender_address=>$local_part@$domain}\
               lsearch{/etc/exim/exim-del.db}}{yes}{no}}


The /etc/exim/exim-del.db file contains the following entries. These
are set up for testing purposes ONLY.

brian.rudy@???=>brian@???: Blocked because we want to
brudy@???=>brian@???: Blocked because we want to


When an email comes from brudy@??? to brian@???, I get the
following error:

2009-03-17 12:20:16 H=col0-omc1-s6.col0.hotmail.com [65.55.34.16] F=<brudy@???> temporarily rejected RCPT <brian@???>: invalid "condition" value "Blocked because we want to{yes}{no}}"
2009-03-17 12:20:17 H=col0-omc1-s6.col0.hotmail.com [65.55.34.16] F=<brudy@???> temporarily rejected RCPT <brian@???>: invalid "condition" value "Blocked because we want to{yes}{no}}"


When I change the condition setting to:

deny message = ${lookup{$sender_address=>$local_part@$domain}\
                lsearch{/etc/exim/exim-del.db}}
   condition = ${lookup{$sender_address=>$local_part@$domain}\
               lsearch{/etc/exim/exim-del.db}{$value}{yes}{no}}


I get the following error:

2009-03-17 12:23:24 H=col0-omc1-s15.col0.hotmail.com [65.55.34.25]
F=<brudy@???> temporarily rejected RCPT <brian@???>:
failed to expand ACL string
"${lookup{$sender_address=>$local_part@$domain}lsearch{/etc/exim/exim-del.db}{$value}{yes}{no}}":
missing or misplaced { or }
2009-03-17 12:23:25 H=col0-omc1-s15.col0.hotmail.com [65.55.34.25]
F=<brudy@???> temporarily rejected RCPT <brian@???>:
failed to expand ACL string
"${lookup{$sender_address=>$local_part@$domain}lsearch{/etc/exim/exim-del.db}{$value}{yes}{no}}":
missing or misplaced { or }

Can someone point out what I've missed or am overlooking???

Thanks in advance