• General
  • Migration von Kopano: Regeln, Signaturen, Kategorien

Gibt es eine Möglichkeit, bei der Migration von Kopano zu Grommunio die von den Benutzern erstellten:

  • Regeln,
  • Signaturen und
  • Kategorien
    zu übernehmen?

Nicht automatisch, nur manuell. Die Kategorien werden vermutlich übernommen, bin mir aber nicht sicher.

Oh je. Wir wollen einen größeren Kunden migrieren. Und ich weiß, dass die viel mit Kategorien arbeiten.

5 months later

Moin @Fux ,

habt ihr eine Lösung dafür gefunden? Ich stehe vor ähnlichen Problem mit 350 Usern 🙁

  • Kategorien werden migriert. (kleben an der Mail)
  • Regeln nicht
  • Siganturen nicht
    Prinzipiell wäre es wohl schön, wenn man etwas Vergleichbares wie ./deploy_signature_to_all_users.sh hätte, dh. Alle user bekommen im Webapp Signatur mit Variablen aus dem AD in ihrer Sigantur zugewiesen, wenn man eine geeignete html Datei mit Variablen dort hinterlegt.
    https://community.spiceworks.com/t/outlook-signature-creator/971192 Das script funktioniert natürlich für Outlook völlig unabhängig von Grommunio/Kopano oder sonst wem...

Also für signaturen könnte ich was basteln, für regeln(import in grommunio) leider noch nicht :-<.

    crpb Das fände ich sehr interessant. Gibts da entsprechende Schnittstellen in Grommunio um die Signaturen zu managen die ich nicht kenne? oder meinst Du für die Migration "was basteln" ?

    • crpb replied to this.

      I could have sworn outlook was also available but i guess i'm cuckoo.. $APPADATA\Roaming\Signatures...

      Just writing down the steps as i can't tell when i have time for this thingy..

      For the source on kopano you want to use:

      Now after transfering all those files you wanna load the content in an escaped json-array e.g.:

      • cat $username_$signaturename_$somenumber.html | 
           jq -Rs --arg USER $username -arg ID $somenumber '
        {"$ID": { "content" : . ,
                  "isHTML": true, 
                  "name": $USER } 
        }' > $username_$signaturename_$someid.json

      i love to make typos when just writing out like it comes to mind!!!!

      On grommunio look at

      • gromox-mbop -u foo get-websettings | jq '.settings.zarafa.v1.contexts.mail.signatures' will return something like
        {
          "all": {
            "1721117492072": {
              "isHTML": false,
              "name": "cb",
              "content": "\n\n........"
            }
          },
          "new_message": 1721117492072,
          "replyforward_message": 1721117492072
        }

      From there it should become clear what needs to be done...

      🙈 🙊 🙉

      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(

      © 2020-2024 grommunio GmbH. All rights reserved. | https://grommunio.com | Data Protection | Legal notice