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

    autoresponder does not work

    Kopano Groupware Core
    2
    5
    380
    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.
    • tommi
      tommi last edited by

      Hello,

      when I try to use the Out of Office function I get errors.
      kopano-server 8.7.80.169-0+44.1 amd64 on debian Stretch.

      Dec 14 10:10:54 mail kopano-dagent[14559]: Command "/usr/sbin/kopano-autorespond" "test@example.com" "test@fromsome.com" "Abwesend" "test" "/tmp/autorespond.5xrLda" exited with non-zero status 1
      Dec 14 10:10:54 mail kopano-dagent[14559]: Autoresponder failed
      
      

      Do I need some plugin or is it a bug?

      Thomas

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

        looks to be a duplicate of https://forum.kopano.io/topic/1946/autorespond-not-working-after-upgrade-8-6-81-8-7-80

        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/

        tommi 1 Reply Last reply Reply Quote 0
        • tommi
          tommi @fbartels last edited by

          Hi Felix,

          yes it looks similar, is it possible to use old autoresponder scripts? Where they are located.

          Thomas

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

            There was recently a commit that changed all the shebangs from python2 to python3 (https://stash.kopano.io/projects/KC/repos/kopanocore/commits/9d1ed87567b5cc90fc6e51f73f97196ac4ea59af). So if you do not want to submit a pr to make autorespond compatible with python3, then you could just switch back the shebang to python2.

            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/

            tommi 1 Reply Last reply Reply Quote 0
            • tommi
              tommi @fbartels last edited by tommi

              @fbartels
              Bello,

              I found a quick and dirty workaround ;-)
              I extracted from an old kopano-dagent_8.6.80.1018-0+152.1_amd64.deb the /usr/lib/python2.7/dist-packages/kopano_utils directory in my server. Then I changed in /usr/sbin/kopano-autorespond the shebang to

              #!/usr/bin/python2.7
              

              Restart kopano-dagent Now it work’s

              Thomas

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