Re: [Exim] acl variable

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Philip Hazel
Data:  
Para: vlad f kropachew
CC: exim-users
Asunto: Re: [Exim] acl variable
On Sat, 22 Jun 2002, vlad f kropachew wrote:

> hello everyone. pelase ask, is anything choose to transport variable
> which set in access list to transport section? so, i set the variable
> acl_m0 during receive message body (variable show infected message or
> not) and later during delivery message to every rcp's want to transfer
> value of acl_m0 to script execute via transport_filter. how i can do
> This?


The manual is clear on this, I hope:

$acl_m0 - $acl_m9: Values can be placed in these variables by the "set"        |
  modifier in an ACL. They retain their values while a message is being        |
                                               ^^^^^^^^^^^^^^^^^^^^^^^^
  received, including during the running of a "local_scan()" function, but are |
  ^^^^^^^^                                                             ^^^^^^^
  reset afterwards. They are also reset by MAIL, RSET, EHLO, HELO, and after   |
  ^^^^^^^^^^^^^^^^
  starting a TLS session.                                                      |


In other words, these variables are usable only in the ACLs. Their
values are NOT available at delivery time.

The only way to pass information from ACLs to the delivery process is by
adding header lines.



--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book