diff options
author | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-09-19 14:31:06 +0000 |
---|---|---|
committer | Philip Hazel <ph10@hermes.cam.ac.uk> | 2006-09-19 14:31:06 +0000 |
commit | 641cb756c2435863f776dfdee060338d482219c2 (patch) | |
tree | a610820da0f8d0b16afe8690efb9002c913ceb41 /doc | |
parent | 38a0a95ff69327042421b9ee6982e386175f141b (diff) |
Tweak the ACL variable name code to require either a digit or an
underscore after acl_c or acl_m.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/doc-txt/ChangeLog | 4 | ||||
-rw-r--r-- | doc/doc-txt/NewStuff | 27 |
2 files changed, 16 insertions, 15 deletions
diff --git a/doc/doc-txt/ChangeLog b/doc/doc-txt/ChangeLog index 7dc6095d7..1dcf3b2c5 100644 --- a/doc/doc-txt/ChangeLog +++ b/doc/doc-txt/ChangeLog @@ -1,4 +1,4 @@ -$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.393 2006/09/19 11:28:44 ph10 Exp $ +$Cambridge: exim/doc/doc-txt/ChangeLog,v 1.394 2006/09/19 14:31:06 ph10 Exp $ Change log file for Exim from version 4.21 ------------------------------------------- @@ -43,7 +43,7 @@ PH/07 There was no check for overflow in expansions such as ${if >{1}{4096M}}. PH/08 An error is now given if message_size_limit is specified negative. PH/09 Applied and tidied up Jakob Hirsch's patch for allowing ACL variables - to be given arbitrary names. + to be given (somewhat) arbitrary names. Exim version 4.63 diff --git a/doc/doc-txt/NewStuff b/doc/doc-txt/NewStuff index 5be3e69bf..6ee8f6bdc 100644 --- a/doc/doc-txt/NewStuff +++ b/doc/doc-txt/NewStuff @@ -1,4 +1,4 @@ -$Cambridge: exim/doc/doc-txt/NewStuff,v 1.109 2006/09/19 11:28:44 ph10 Exp $ +$Cambridge: exim/doc/doc-txt/NewStuff,v 1.110 2006/09/19 14:31:06 ph10 Exp $ New Features in Exim -------------------- @@ -13,22 +13,23 @@ Version 4.64 ------------ 1. ACL variables can now be given arbitrary names, as long as they start with - "acl_c" or "acl_m" (for connection variables and message variables) and are - at least 6 characters long. However, only alphanumeric characters and - underscores are allowed. This is a compatible change because the old set of + "acl_c" or "acl_m" (for connection variables and message variables), are + at least six characters long, with the sixth character being either a digit + or an underscore. The rest of the name can contain alphanumeric characters + and underscores. This is a compatible change because the old set of variables such as acl_m12 are a subset of the allowed names. There may now be any number of ACL variables. For example: - set acl_c_foo = something - set acl_ccc = thingsome - set acl_m13 = value for original ACL variable - set acl_m13b = whatever + set acl_c13 = value for original ACL variable + set acl_c13b = whatever + set acl_m_foo = something - What happens if an undefined ACL variable is referenced depends on the - setting of the strict_acl_vars option. If it is false (the default), an - empty string is substituted; if it is true, an error is generated. This - affects all ACL variables, including the "old" ones such as acl_c4. - (Previously there wasn't the concept of an undefined ACL variable.) + What happens if a syntactically valid but undefined ACL variable is + referenced depends on the setting of the strict_acl_vars option. If it is + false (the default), an empty string is substituted; if it is true, an error + is generated. This affects all ACL variables, including the "old" ones such + as acl_c4. (Previously there wasn't the concept of an undefined ACL + variable.) The implementation has been done in such a way that spool files containing ACL variable settings written by previous releases of Exim are compatible |