List Info

Thread: default protection settings confilct with settings.php behavior




default protection settings confilct with settings.php behavior
user name
2006-09-20 17:51:19
I setup my default protection levels in config.php so that
"medium and
high" have spam_kill_level > spam_tag2_level,
discard_spam=Y and
spam_modifies_subj=Y

This results in mail with score > spam_tag2_level passed
through with
***SPAM*** in the subject and mail with a score >
spam_kill_level gets
deleted. It works great, just as I expected, as long as the
user does
not try to customize the levels. If they do try to customize
the
settings, the section "// Enforce spam kill level
according to spam
destiny" changes $spam_kill_level = $spam_tag2_level.

The same code in xdomainsettings.php prevents setting the
domain
defaults for this behavior. 
Commenting this out in both files allows this behavior which
I think
is very useful. I don't understand the reasoning behind
preventing
this functionality. 

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )