Per-user filter without delegated admin
Hey all. I would like to be able to implement per-user filters without having to go through the trouble of setting up the delegated admin server. Is this possible? Even if I had to handle each user's fliters personally as the admin that would be okay as we have very few people who would be using the functionality. So, please tell me there's an easy way to do this.
Thanks.
[396 byte] By [
OneTrueBob] at [2007-11-25 9:03:32]

Possible, but not really fun.. You need to learn the Sieve filtering language. Then, you can just put these filters into a user attribute called MailSieveRuleSource This is what one might look like:
The value should look something like this.
#RULE: $Template="Spam Messages" $Name="test" $Order=1
require "fileinto";
if header :contains ["Subject","Comments","Keywords"] # Q1
"block bad stuff" # Q2
{
discard;
stop;
}
#PRE: "This rule discards messages that"
#PRE: "contain a header line known to be spam"
#Q1: header "If the header line"
#Q2: value "Contains the phrase"
You will either need to enter this using ldapmodify, or using the console or another type of ldap browser. I know there is a one at http://www.iit.edu/~gawojar/ldap I use this ldap editor a lot and it is very useful.
Let's see if I understand you correctly. Each user will have an attribute in the directory called MailSieveRuleSource and the value of that attribute would be a Sieve script (I've already had to learn in order to do server wide filtering) like the one you mentioned.
Is that it? If so that will be much easier than I thought. Thanks.