Re: [exim] Error in ACL

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Dan_Mitton
日付:  
To: Brian Rudy
CC: exim-users
題目: Re: [exim] Error in ACL
Have you tried:

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


You seem to have an extra } in your condition. Count the { vs }. You
have 5 - {, but 6 - }



Sent by:        exim-users-bounces@???
To:     <exim-users@???>
cc:      (bcc: Dan Mitton/YD/RWDOE)
Subject:        [exim] Error in ACL
LSN: Not Relevant
User Filed as: Not a Record



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
--
## List details at http://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/