Kopano-dagent not working core 8.4.0-344

When typing this:

echo “hello” | kopano-dagent -c /etc/kopano/dagent.cfg mrc

I get the following errors in the dagent log file:

Sun Apr 23 18:15:40 2017: [ notice] [ 551] Starting kopano-dagent LMTP mode version 8,4,0,344 (344), pid 551
Sun Apr 23 18:21:15 2017: [ 2252] [error ] Python type: (null)
Sun Apr 23 18:21:15 2017: [ 2252] [error ] Python error: ‘module’ object has no attribute ‘DAgentPluginmanager’
Sun Apr 23 18:21:15 2017: [ 2252] [crit ] K-1732: Unable to initialize the dagent plugin manager: Unknown error code (1).
Sun Apr 23 18:22:22 2017: [ 2311] [error ] Python type: (null)
Sun Apr 23 18:22:22 2017: [ 2311] [error ] Python error: ‘module’ object has no attribute ‘DAgentPluginmanager’
Sun Apr 23 18:22:22 2017: [ 2311] [crit ] K-1732: Unable to initialize the dagent plugin manager: Unknown error code (1).

It was working with the previous version installed 8.3

This happens in Debian 8

All I did was to download the latest 8.4 core packages, uncompress the tar, then run:

dpkg -i *.deb

followed by

apt-get -f install

I have seen a post regarding a problem with dagent which looks similar but it is in Centos 7, perhaps they are related.

To deliver emails I use sendmail and the following

.procmailrc file, one per user directory, note the zarafa bits are simply symbolic links to kopano

:0 w
| /usr/sbin/zarafa-dagent -c /etc/zarafa/dagent.cfg mrc
EXITCODE=$?

dagent.cfg is the standard, unchanged .cfg file that comes in /etc/kopano/dagent.cfg

@mcostan

The problem was solved by changing:

plugin_enabled = no

from yes to no

However is there a problem somewhere? Should that option be turned on my default? If I turn it back on, I still see the error…

Anyway turning it off makes it work for me now.

Since you are also delivering via pipe would say this is indeed related (referenced thread is https://forum.kopano.io/topic/167/critical-bug-core-8-4-0-273-dagent-not-delivering-mails-if-plugin-manager-is-enabled/).