Skip to content

Commit f76528c

Browse files
committed
upgrade: 2.4 - Add "Shared namespace variables"
1 parent cad2235 commit f76528c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/installation/upgrade/include/2.4-var-expand.inc

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,25 @@ the "user" variable and applies the "domain" filter for it.
6060
| `%{rip}` | `%{remote_ip}` |
6161
| `%{rport}` | `%{remote_port }` |
6262
| `%{service}` | `%{protocol}` |
63+
64+
##### Shared namespace variables
65+
66+
Previously `%%u`, `%%n` and `%%d` could be used in shared namespace
67+
configuration.
68+
69+
These were changed for the [[setting,namespace_prefix]]:
70+
71+
| Old variable | New syntax |
72+
| ------------ | ---------- |
73+
| `%%u` | `$user` |
74+
| `%%n` | `$username` |
75+
| `%%d` | `$domain` |
76+
77+
For other settings, such as [[setting,mail_path]]:
78+
79+
| Old variable | New syntax |
80+
| ------------ | ---------- |
81+
| `%%u` | `%{owner_user}` |
82+
| `%%n` | `%{owner_user | username}` |
83+
| `%%d` | `%{owner_user | domain}` |
84+
| `%%h` | `%{owner_home}` |

0 commit comments

Comments
 (0)