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 /test | |
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 'test')
-rw-r--r-- | test/aux-var-src/0372.F | 2 | ||||
-rw-r--r-- | test/confs/0372 | 6 | ||||
-rw-r--r-- | test/stderr/0372 | 18 |
3 files changed, 13 insertions, 13 deletions
diff --git a/test/aux-var-src/0372.F b/test/aux-var-src/0372.F index c24183786..df1303975 100644 --- a/test/aux-var-src/0372.F +++ b/test/aux-var-src/0372.F @@ -10,7 +10,7 @@ logwrite " acl_c0=\"$acl_c0\"\n acl_c1=\"$acl_c1\"\n acl_c2=\"$acl_c2\"\n \ acl_m2=\"$acl_m2\"\n acl_m3=\"$acl_m3\"\n acl_m4=\"$acl_m4\"\n \ acl_m5=\"$acl_m5\"\n acl_m6=\"$acl_m6\"\n acl_m7=\"$acl_m7\"\n \ acl_m8=\"$acl_m8\"\n acl_m9=\"$acl_m9\"\n \ - acl_mfoo=\"$acl_mfoo\"\n acl_mbar=\"$acl_mbar\"\n \ + acl_m_foo=\"$acl_m_foo\"\n acl_m_bar=\"$acl_m_bar\"\n \ acl_c_foo=\"$acl_c_foo\"\n acl_c_bar=\"$acl_c_bar\"\n" logwrite "-------------------------" diff --git a/test/confs/0372 b/test/confs/0372 index 682eb91a8..af03b3a37 100644 --- a/test/confs/0372 +++ b/test/confs/0372 @@ -30,8 +30,8 @@ a1: set acl_m0 = value for m0 is local_part: $local_part set acl_m5 = value for m5 contains newline\nthere! set acl_m9 = value for m9 is domain: $domain - set acl_mfoo = value for mfoo is local_part: $local_part - set acl_mbar = value for mbar is domain: $domain + set acl_m_foo = value for mfoo is local_part: $local_part + set acl_m_bar = value for mbar is domain: $domain accept local_parts = a set acl_m0 = value for m0 is local_part: $local_part @@ -58,7 +58,7 @@ r1: acl_m2="$acl_m2"\nacl_m3="$acl_m3"\nacl_m4="$acl_m4"\n\ acl_m5="$acl_m5"\nacl_m6="$acl_m6"\nacl_m7="$acl_m7"\n\ acl_m8="$acl_m8"\nacl_m9="$acl_m9"\n\ - acl_mfoo="$acl_mfoo"\nacl_mbar="$acl_mbar"\n\ + acl_m_foo="$acl_m_foo"\nacl_m_bar="$acl_m_bar"\n\ acl_c_foo="$acl_c_foo"\nacl_c_bar="$acl_c_bar" transport = t1 diff --git a/test/stderr/0372 b/test/stderr/0372 index b0c01f4a4..771c7a491 100644 --- a/test/stderr/0372 +++ b/test/stderr/0372 @@ -26,8 +26,8 @@ there!" acl_m7="" acl_m8="" acl_m9="value for m9 is domain: y" - acl_mfoo="value for mfoo is local_part: x" - acl_mbar="value for mbar is domain: y" + acl_m_foo="value for mfoo is local_part: x" + acl_m_bar="value for mbar is domain: y" acl_c_foo="value for c_foo is ip: 1.2.3.4" acl_c_bar="value for c_bar is name: host.name" ------------------------- @@ -53,8 +53,8 @@ acl_m6="" acl_m7="" acl_m8="" acl_m9="value for m9 is domain: y" -acl_mfoo="value for mfoo is local_part: x" -acl_mbar="value for mbar is domain: y" +acl_m_foo="value for mfoo is local_part: x" +acl_m_bar="value for mbar is domain: y" acl_c_foo="value for c_foo is ip: 1.2.3.4" acl_c_bar="value for c_bar is name: host.name" LOG: MAIN @@ -86,8 +86,8 @@ there!" acl_m7="" acl_m8="" acl_m9="value for m9 is domain: b" - acl_mfoo="" - acl_mbar="" + acl_m_foo="" + acl_m_bar="" acl_c_foo="value for c_foo is ip: 1.2.3.4" acl_c_bar="value for c_bar is name: host.name" ------------------------- @@ -112,8 +112,8 @@ acl_m6="" acl_m7="" acl_m8="" acl_m9="value for m9 is domain: b" -acl_mfoo="" -acl_mbar="" +acl_m_foo="" +acl_m_bar="" acl_c_foo="value for c_foo is ip: 1.2.3.4" acl_c_bar="value for c_bar is name: host.name" LOG: MAIN @@ -123,4 +123,4 @@ LOG: MAIN LOG: smtp_connection MAIN SMTP connection from CALLER closed by QUIT ----- System filter ----- -1999-03-02 09:44:33 10HmaZ-0005vi-00 Error in system filter: failed to expand " acl_c0="$acl_c0"\n acl_c1="$acl_c1"\n acl_c2="$acl_c2"\n acl_c3="$acl_c3"\n acl_c4="$acl_c4"\n acl_c5="$acl_c5"\n acl_c6="$acl_c6"\n acl_c7="$acl_c7"\n acl_c8="$acl_c8"\n acl_c9="$acl_c9"\n acl_m0="$acl_m0"\n acl_m1="$acl_m1"\n acl_m2="$acl_m2"\n acl_m3="$acl_m3"\n acl_m4="$acl_m4"\n acl_m5="$acl_m5"\n acl_m6="$acl_m6"\n acl_m7="$acl_m7"\n acl_m8="$acl_m8"\n acl_m9="$acl_m9"\n acl_mfoo="$acl_mfoo"\n acl_mbar="$acl_mbar"\n acl_c_foo="$acl_c_foo"\n acl_c_bar="$acl_c_bar"\n" in logwrite command: unknown variable name "acl_c1" (strict_acl_vars is set) +1999-03-02 09:44:33 10HmaZ-0005vi-00 Error in system filter: failed to expand " acl_c0="$acl_c0"\n acl_c1="$acl_c1"\n acl_c2="$acl_c2"\n acl_c3="$acl_c3"\n acl_c4="$acl_c4"\n acl_c5="$acl_c5"\n acl_c6="$acl_c6"\n acl_c7="$acl_c7"\n acl_c8="$acl_c8"\n acl_c9="$acl_c9"\n acl_m0="$acl_m0"\n acl_m1="$acl_m1"\n acl_m2="$acl_m2"\n acl_m3="$acl_m3"\n acl_m4="$acl_m4"\n acl_m5="$acl_m5"\n acl_m6="$acl_m6"\n acl_m7="$acl_m7"\n acl_m8="$acl_m8"\n acl_m9="$acl_m9"\n acl_m_foo="$acl_m_foo"\n acl_m_bar="$acl_m_bar"\n acl_c_foo="$acl_c_foo"\n acl_c_bar="$acl_c_bar"\n" in logwrite command: unknown variable name "acl_c1" (strict_acl_vars is set) |