Re: [exim] insert sql from acl

Top Page
Delete this message
Reply to this message
Author: Rory Campbell-Lange
Date:  
To: exim-users
Subject: Re: [exim] insert sql from acl
On 27/06/06, Rory Campbell-Lange (rory@???) wrote:
> Many thanks for your comments. I still can't get it to work however.
>
> I have tried:
>
>   acl_smtp_data:
>         acl_insert:
>                  warn condition = ${lookup pgsql{INSERT_SQL}}

>
> and
>
>   acl_smtp_data:
>                  warn condition = ${lookup pgsql{INSERT_SQL}}


I needed to point the acl_smtp_data acl to another acl definition in the global
section of the config file. However the config below isn't running the warn
message; the acl isn't "hit".

Any thoughts?
Regards
Rory

---------------------------------------------------------------------
acl_smtp_data = acl_insert

######################################################################
#                       acl configuration                            #
######################################################################
begin acl


  acl_insert:
     # warn condition = ${lookup pgsql{INSERT_SQL}}
     warn log_message = "warn test for $message_id"
     accept
---------------------------------------------------------------------



--
Rory Campbell-Lange
<rory@???>
<www.campbell-lange.net>