Open KaiBroeker opened 3 months ago
I tested a little bit. The issue only happens if I add the tls_enforce by existing mailboxes. If I create a new mailbox the configuration is fine.
@KaiBroeker I debugged it. The reason is the mailcow api:
updating e.g. tls_enforce can be possibly done with the mailcow api edit tls_policies, this api endpoint is not part of the swagger UI. documentation of the api, I found an indication that this api endpoint exists in the mailcow-dockerized source code.
The terraform provider flow will be quirky with this addition. I will update this strangeness to the docs. By now my motivation trying to add this functionality is low. You can try to convince me.
Hi,
I tried to enable tls_enforce_in and tls_enforce_out for some mailboxes. I get no error from tf but if I look in the web ui there is no tls enforced. Also if I run tf again the change should be applied again.
Here the logs (same on every run):