{"action":"opened","issue":{"url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/1859","repository_url":"https://api.github.com/repos/mailcow/mailcow-dockerized","labels_url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/1859/labels{/name}","comments_url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/1859/comments","events_url":"https://api.github.com/repos/mailcow/mailcow-dockerized/issues/1859/events","html_url":"https://github.com/mailcow/mailcow-dockerized/issues/1859","id":367552086,"node_id":"MDU6SXNzdWUzNjc1NTIwODY=","number":1859,"title":"mail_crypt_plugin error in latest version","user":{"login":"markusg","id":236166,"node_id":"MDQ6VXNlcjIzNjE2Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/236166?v=4","gravatar_id":"","url":"https://api.github.com/users/markusg","html_url":"https://github.com/markusg","followers_url":"https://api.github.com/users/markusg/followers","following_url":"https://api.github.com/users/markusg/following{/other_user}","gists_url":"https://api.github.com/users/markusg/gists{/gist_id}","starred_url":"https://api.github.com/users/markusg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markusg/subscriptions","organizations_url":"https://api.github.com/users/markusg/orgs","repos_url":"https://api.github.com/users/markusg/repos","events_url":"https://api.github.com/users/markusg/events{/privacy}","received_events_url":"https://api.github.com/users/markusg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-07T12:55:06Z","updated_at":"2018-10-07T12:55:06Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi,\r\n\r\nearlier today i had some issues trying to update to the latest mailcow.\r\nAfter doing my usual upgrade routine my dovecot-mailcow kept beeing unhealthy with the error\r\n`dovecot-mailcow_1    | sievec: Fatal: mail_crypt_plugin: mail_crypt_global_public_key: Couldn't parse public key: Unknown key format`\r\n\r\nThe fault is that my crypt container already has a  ecpubkey.pem / ecprivkey.pem but with length zero, so the folloing lines did not apply\r\nhttps://github.com/mailcow/mailcow-dockerized/blob/2af2f7836d4b882eda6eb2854520d76afa95a3b0/data/Dockerfiles/dovecot/docker-entrypoint.sh#L120\r\n\r\nI looked around my backups and it seeme that these zero-length files date back to September 2017.\r\n\r\nDo not know if anyone of you out there has the same issue, or why those files are there...\r\nBut if anyone has the same problem, maybe above lines should extend to check for length zero?"}}
{"actor":{"display_login":"markusg"}}