Actions
Bug #8445
closed
LB
JP
creating an alias named "log" breaks rule processing
Bug #8445:
creating an alias named "log" breaks rule processing
Start date:
04/08/2018
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.3
Affected Architecture:
All
Description
i created an ip alias, and named it "log". upon the rules reloading, an error occurred:
There were error(s) loading the rules: /tmp/rules.debug:45: syntax error - The line in question reads [45]: table <log> persist
here is some context from rules.debug:
44: irc_server = "<irc_server>"
45: ircs_u = "{ 6697 }"
46: table <log> persist
47: log = "<log>"
48: managesieve = "{ 4190 }"
49: table <mda> persist
50: mda = "<mda>"
it's pretty clear why it broke. although i would like to be able to use whatever string i'd like for the name of an alias, if this constraint persists, it would probably be wise to disallow the user from using this string.
Actions