On 27/06/06, Rory Campbell-Lange ([EMAIL PROTECTED]) 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 
<[EMAIL PROTECTED]>
<www.campbell-lange.net>

-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to