Re: [exim] Error in ACL

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Dan_Mitton
Datum:  
To: Brian Rudy
CC: Exim-users, dan_mitton
Betreff: Re: [exim] Error in ACL
Good, glad that worked.

Have you used the -be command line option? It's great for testing things
like this.

bash-3.00# /usr/local/exim/bin/exim -be
> deny message =

${lookup{brudy@???=>brian@???}lsearch{/etc/exim/exim-del.db}}
deny message = Blocked because we want to
> condition =

${lookup{brudy@???=>brian@???}lsearch{/etc/exim/exim-del.db}{yes}{no}}
condition = yes
>^C





To:     <dan_mitton@???>
cc:     Exim-users <exim-users@???> 
Subject:        RE: [exim] Error in ACL
LSN: Not Relevant
User Filed as: Not a Record


Well, it looks like that took care of my issue. Thanks for your help

> To: brudy@???
> CC: exim-users@???
> Subject: Re: [exim] Error in ACL
> From: Dan_Mitton@???
> Date: Tue, 17 Mar 2009 12:54:50 -0700
>
> 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/
>
>
>