Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Updating disclaimer.py

    Kopano Groupware Core
    4
    7
    868
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Drew2k
      Drew2k last edited by

      Hi, I am currently using Kopano for my company e-mails, and have used the disclaimer.py script to append a disclaimer directly to all outgoing e-mails.

      Is is possible to make any changes to disclaimer.py to i can also use tag’s from the address book, such as {%firstname%} etc, as to also include a statutory signature to all outgoing e-mails?

      I have reviewed the kopano-webapp/tools/signature script, but this will just update the web-app with a default kopano signature, only any good for using web-app. I am hoping to do it directly with the kopano-spooler to it appends to all outgoing mails regardless how its sent similar to how exchange work’s.

      1 Reply Last reply Reply Quote 0
      • fbartels
        fbartels Kopano last edited by

        I guess you are talking about https://stash.kopano.io/projects/KC/repos/kopanocore/browse/spooler/python/plugins/disclaimer.py, correct?

        Generally speaking it should be possible to create a dagent plugin that can do some templating. We ourselves decided to focus on the WebApp signatures since this way the signature can already be displayed to the user in WebApp. Only adding a signature after the user has sent a message has proven to confuse some users.

        If you are open on ordering some customer development I am sure your prof. services could prepare something for you.

        Regards Felix

        Resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        Support overview:
        https://kopano.com/support/

        1 Reply Last reply Reply Quote 0
        • Drew2k
          Drew2k last edited by

          I am currently using the webapp signatures, but these can be removed by the user or edited before the e-mail is sent. But most important, is when the user is using outlook or another ActiveSync client, the signatures do not copy over when they log into a new workstation or mobile device. So generally speaking, i think giving the end user the ability to build it directly into disclaimer is the perfect solution.

          I however, do not know Python, so would not know where to start.

          1 Reply Last reply Reply Quote 0
          • fbartels
            fbartels Kopano last edited by

            As for Outlook: when using KOE the signature is downloaded from WebApp and applied locally as well.

            Regards Felix

            Resources:
            https://kopano.com/blog/how-to-get-kopano/
            https://documentation.kopano.io/
            https://kb.kopano.io/

            Support overview:
            https://kopano.com/support/

            1 Reply Last reply Reply Quote 0
            • Drew2k
              Drew2k last edited by

              fbartels: You still, can’t beat having the server do it for you.

              After a lot of homework, and research from the kopano site, i have managed to make an alteration to the disclaimer.py python script and successfully managing to change some basic tags {FirstName} {EmailAddress} etc to their corresponding entry’s from the users profile.

              Its not perfect, as it will only retrieve the information for the logged in user sending the message. So if your sending on behalf of someone, it will display the senders information.

              But its work in progress.

              1 Reply Last reply Reply Quote 0
              • micro
                micro last edited by

                @drew2k: could you post some more information about the script and share it to the community, please?

                1 Reply Last reply Reply Quote 0
                • segro
                  segro last edited by

                  @drew2k: I would also be glad to have some piece of information about you managed this… could you please post your code from disclaimer.py ? ThX

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post