Simple plugin for kopano-dagent that rewrites incoming addresses to the 'SMTP' type.
Hein-Pieter van Braam-Stewart c3dbf395e1 Merge branch 'master' of h44z/kopano-dagent-rewritegaladdresses into master | 2 gadi atpakaļ | |
---|---|---|
COPYING | 7 gadi atpakaļ | |
README.md | 4 gadi atpakaļ | |
RewriteGALAddressesToSMTP.py | 4 gadi atpakaļ |
This is a plugin for Kopano (and perhaps Zarafa) dagent that rewrites incoming addresses to the 'SMTP' type.
By default dagent will look up the incoming address (To: and CC:) in the server's GAL and replace the recipients with a ZARAFA: type. What this means is that the information about what alias was used to receive the message is lost when viewing the message in WebApp or via z-push.
This plugin will read all relevant headers and undo this step.
In a default kopano installation the Python plugin path is set to /var/lib/kopano/dagent/plugins. Simply place RewriteGALAddressesToSMTP.py in this directory and restart dagent. No configuration is necessary or possible.
This plugin has been tested on Kopano 8.7.9, it relies on python email package which should be installed by default.