Re: [exim] insert sql from acl

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Rory Campbell-Lange
Data:  
Para: exim-users
Asunto: 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>