Re: [Exim] Void variables in acl_data

Top Pagina
Delete this message
Reply to this message
Auteur: Peter Bowyer
Datum:  
Aan: exim-users
Onderwerp: Re: [Exim] Void variables in acl_data
Fernando Gutierrez said:
> some like this:
>
> acl_check_rcpt:
>
> accept    condition = ${lookup ldap
> {ldap:///ou=$domain,o=xxxxx?mail?sub?............} {yes} {no}}
>               set acl_c0 = ${lookup ldap
> {ldap:///ou=$domain,o=xxxxx?maildir?sub?................}}

>
>
> acl_check_data:
>
> deny       condition     = ${run{/tmp/quota.pl -d $acl_c0 -s
> $message_size } {1}{0}}
>               message    = Quota Exceeded


A couple of things to look at:-

- acl_c0 in the RCPT acl will be set to the result of the lookup for the
last recipient encountered, is this what you mean? I suspect not, since
you do a deny on it in the data acl. Or have you done anything to ensure
you have only one recipient?

- Have you checked using a debug session that the variable gets set
correctly?

Peter