Autor: Darren Casey \(Personal\) Data: A: exim-users Assumpte: Re: [Exim] acl_smtp_data - no access to variables needed
> You cannot use $local_part or $domain in the DATA ACL.
I realise that
>
> > Now from the book I can see that the variables domain/local_part are not
> > avaliable in the smtp_data acl's but I need to be able to get the
> > domain/local user value to get the correct user from the table.
> >
> > Is there a way to set a global variable from one acl to the other?
>
> The ACL variables can be used for this.
How? I have tried setting them in the RCPT acl but they apear blank on the
DATA acl
> > Without this information its not possible to set a per user filter on the > > subject data.
>
> You can't do a per-user filter on the subject data at ACL time. At
> least, not if you want to accept all recipients, some of which may want
> different filtering to others.
But if we can pass variables can we do it at the data ACL time i.e. if we
can set variables from the previous ACL?