Feature Request: Group configuration items for use in rules
Julian Field
MailScanner at ecs.soton.ac.uk
Fri Jan 7 14:07:59 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. ]
You can already do it. Instead of putting in an email address (or domain
name or whatever), give it a full filename. That file contains address
patterns (or addresses or domain names or whatever) one per line.
It makes it behave exactly as if there were separate rules for every
address in the file, all with the same resulting value for the
configuration option.
Hirsh, Joshua wrote:
>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!
>
>
>
--
Julian Field
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
------------------------ 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