Dear Tony and Magnus

On 27/06/06, Tony Finch ([EMAIL PROTECTED]) wrote:
> On Tue, 27 Jun 2006, Rory Campbell-Lange wrote:
> 
> > I wish to run an sql insert from the acl section of the following test
> > configuration. Postgresql is not showing any connection attempts; exim is
> > compiled with postgres support. Mail delivery itself operates as expected.
> 
> You appear not to have an acl_smtp_* option which calls your acl_insert
> script.

On 27/06/06, Magnus Holmgren ([EMAIL PROTECTED]) wrote:
> On Tuesday 27 June 2006 18:01, Rory Campbell-Lange took the opportunity to 
> write:
...

> Well, you must reference acl_insert somewhere; ACLs don't get run by 
> themselves like routers do. Typically you'd set acl_smtp_data = acl_insert to 
> test, but more probably you'll want to add an acl = acl_insert call in the 
> normal acl_smtp_data ACL.

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}}


Futher help much appreciated!
Rory

-- 
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