Simple plugin for kopano-dagent that rewrites incoming addresses to the 'SMTP' type. https://notabug.org/hp/kopano-dagent-rewritegaladdresses
Go to file
h44z 894a3549d4 Fix bugs, works with newer kopano dagent 8.7.9
- Works with Kopano Dagent 8.7.9
 - Only rewrites alias addresses
2020-04-02 21:50:57 +00:00
COPYING Initial version 2017-04-12 14:50:43 +02:00
README.md Rename python file 2017-04-12 14:52:25 +02:00
RewriteGALAddressesToSMTP.py Fix bugs, works with newer kopano dagent 8.7.9 2020-04-02 21:50:57 +00:00

kopano-dagent RewriteGALAddressesToSMTP

What is it

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.

Installation

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.

Requirements

This plugin has been tested on Kopano 8.4.0~254-49, it relies on python email package which should be installed by default.