Custom plugins for Haraka…

Issue #311 resolved
Foddy created an issue

This is not really an issue but an improvement.

Could you add a custom Haraka plugins functionality in Poste.io (PRO)? For now I am overwriting via the "_overwrite" folder the plugins I've made for a company into the container.

The only problem is that when I upgrade the container and you (the maintainer) edit anything in "config/plugins" it gets overwritten by my custom plugins config.

It would be pretty cool if I could just add my JS plugins into a specific folder in the data directory of the container and if they could merged with the current plugins config.

Thank you!

Comments (6)

  1. SH repo owner

    There is one problem with that idea - ordering at plugins file matters too, it can be partialy fixed by defining hook priority but not entirely so it would not work at some cases. Even though it seems easy and beneficial to implement

    For my curiosity, what your plugin do?

  2. Foddy reporter

    Oh. I understand…

    There is only one plugin I've created to protect the senders privacy. The plugin literally modifies the sender's email header for outbound mails and replaces the client IP by the mail server IP. It also replaces the "X-Mailer" header with a custom value to hide the client's mail program and version. Is there any way to implement this features then in Poste.io (PRO) directly?

  3. SH repo owner

    See latest version - there is removal of X-headers and client IP address hiding. Is it sufficient for you?

  4. Foddy reporter

    This is awesome! It makes Poste.io much more to a professional mailserver solution for my company!

    Thank you very much!

  5. Log in to comment