Feature Request: Group configuration items for use in rules
Hirsh, Joshua
joshua.hirsh at PARTNERSOLUTIONS.CA
Fri Jan 7 14:04:03 GMT 2005
[ The following text is in the "iso-8859-1" character set. ]
[ Your display is set for the "US-ASCII" character set. ]
[ Some characters may be displayed incorrectly. ]
Hi Julian (+ "the list"),
After doing a recent batch of editing a whole slew of configuration rules
the other day, it got me thinking.
Any chance that you could implement a type of group definitions for use in
rules? For example, you could define a group named "AnnoyingManagement"
(chosen at random!) that contains a list of email addresses and then
reference only the group name in various rule files.
This is a very handy feature of most modern firewalls for access lists, and
I could foresee it helping to cut down on the length of some of our rules. I
have various files that reference the same list of users quite frequently,
so if this was implemented, I would only have to edit the group definition
instead of all of the different rules that it would effect.
Example of how this might work:
In /etc/MailScanner/rules/group.rules:
AnnoyingManagement: bob at domain.com mike at domain.com jim at domain.com
jill at domain.com sarah at domain.com
bofhSysadmins: root at domain.com bofh at domain.com support at domain.com
In /etc/MailScanner/rules/spam.highscore.rules:
To: AnnoyingManagement.group 50
To: bofhSysadmins.group 3
To: default 10
Any comments?
-Joshua
------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the MAQ (http://www.mailscanner.biz/maq/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
Support MailScanner development - buy the book off the website!
More information about the MailScanner
mailing list