I want to move emails which are sent to an inactive account to a public folder. I am trying to use movetopublic.py for this purpose as described here: https://documentation.kopano.io/kopanocore_administrator_manual/special_kc_configurations.html#move-to-public
I have setup a ruleset in /etc/kopano/movetopublic.cfg:
rule1_recipient = officemail
rule1_destination_folder = Office
Folder and account exist. The mail gets sent to inactive account firstname.lastname@example.org but not moved to the public folder “Office”.
I get the following errors:
Jan 12 14:35:03 office kopano-dagent: !-- failed to load: /var/lib/kopano/dagent/plugins/movetopublic.py
Jan 12 14:35:03 office kopano-dagent: !-- error: No module named ‘ConfigParser’
I suspect I has something to do with different python versions (Python 3, Python 2.7)?
I am on Debian 9 and using Kopano-Version 188.8.131.525-Debian_9.0-amd64. Users and Mailaccounts are imported via LDAP from ActiveDirectory.
Any help appreciated. Thanks in advance.