And for rules i just used kopano_rules.py to export them for each user and leave it to he local admin if he shares them with their users so they could easily recreate their rules.
If you have problems with charsets as i did somewhere...
diff --git a/kopano-rules/kopano_rules.py b/kopano-rules/kopano_rules.py
index 65e5c96..15f5a30 100755
--- a/kopano-rules/kopano_rules.py
+++ b/kopano-rules/kopano_rules.py
@@ -772,8 +772,14 @@ def printrules(filters, user, server):
table_data = []
for rule in filters:
condition_message = convertcondition(rule[4].Value)
+ try: condition_message = condition_message.decode('Windows-1252')
+ except AttributeError: pass
actions = convertaction(rule[5], user,server)
+ try: actions = actions.decode('Windows-1252')
+ except AttributeError: pass
name = rule[7].Value
+ try: name = name.decode('Windows-1252')
+ except AttributeError: pass
condition = condition_message
try:
table_data.append(