Page 1 of 1
if possible to filter the subscription notifies
PostPosted:Mon Mar 28, 2011 2:12 am
by samenlia
if possible to filter the subscription notifies i just want to send notification of "Creating a document" event to my users.
Re: if possible to filter the subscription notifies
PostPosted:Mon Mar 28, 2011 7:34 am
by jllort
By normal subscription no. But probably could be solved by scripting or crontab.
Why users only must watching creation ? it's strange case, could you explain better ( if we must include it feature on future version we'll be interested in knows why ?)
Re: if possible to filter the subscription notifies
PostPosted:Tue Mar 29, 2011 3:38 am
by samenlia
in my case , i want to notify users when there have new documents so i create a user,just say "u_maillist", u_maillist subscription all folders. Then i bind the user u_maillist with mail address,i also create a Mail list named "O_maillist" in my mail system, then i add u_maillist and others users in this mail list. and then when the openkm have notifies,all users in O_maillist will get messages. so i want to filter the subscription notifies.
i like the keyword search function,so when i create new document ,i add many keyword for it. then openkm send many messages to the mail list.
Re: if possible to filter the subscription notifies
PostPosted:Tue Mar 29, 2011 4:11 pm
by jllort
OK, now I understand what you're doing.
1 mail list with among of users, and you subscribe some user using this mail list alias.
With OpenKM now you can not filter by event ( cause ). A way to solve it now, could be implementing some minimal application with crontab looking for new documents and then sending there the e-mail.
I understand your problem but I can not find and easy way to solve it, which could be usefull to other users.
Althought it I'll put in our tracking system to think on it. (
http://issues.openkm.com/view.php?id=1589)
Re: if possible to filter the subscription notifies
PostPosted:Thu Apr 07, 2011 9:38 am
by samenlia
thank! i waiting for this feature.
now i got help from my mail server administrators,they created some rules to filter the messages use keyword like:
Event: ADD_KEYWORD and sender's mail address
Event: REMOVE_KEYWORD and sender's mail address
it work!
Re: if possible to filter the subscription notifies
PostPosted:Thu Apr 07, 2011 9:57 pm
by jllort
Yes, your solution it right. Filtering on mail server could be some temporary way to solve it.