autoresponder does not work
-
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
-
looks to be a duplicate of https://forum.kopano.io/topic/1946/autorespond-not-working-after-upgrade-8-6-81-8-7-80
-
Hi Felix,
yes it looks similar, is it possible to use old autoresponder scripts? Where they are located.
Thomas
-
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.
-
@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