S/MIME Save mails uncrypted
-
Hello!
What is best practice to save mail that arrived smime encrypted in an unencrypted state to make them readable for all.
Thank you!!!
-
There isn’t really a best practice for this as you are removing a security element but in theorie it can be accomplished with python-kopano.
You have 2 options here
Create a ICS script that hooks on a store and monitors the incoming items and if encrypted decrypt is with the private key and save the text in the mail body. example of a ics script https://stash.kopano.io/projects/KSC/repos/kopano-spamd/browse
Create a dagent plugin that checks all the incoming items and decrypt the items if needed
https://documentation.kopano.io/kopanocore_administrator_manual/special_kc_configurations.html#kopano-python-plugin-frameworkFor both options you need to private key and the password of this key in order to decrypt the item.
We don’t have any scripts that can accomplish this as already stated the mails are encrypted for a reason, so do you really want to remove this security layer
-
Thank you for the info!
Where can I get more Information on how to build such an ics script?
Yes I need to save these mails decrypted because they need to looked at by a group of people.
Thank you!
-
python-kopano documentation can be found here https://documentation.kopano.io/kopano_python_kopano/synchronization.html#ics
And for a example take a look at https://stash.kopano.io/projects/KSC/repos/kopano-spamd/browse