setup-stack: fix error when RSPAMD_DMS_DKIM_D is not set#3827
setup-stack: fix error when RSPAMD_DMS_DKIM_D is not set#3827georglauterbach merged 3 commits intodocker-mailserver:masterfrom
Conversation
439da31 to
c7d79fd
Compare
prevent messages like this chown: cannot access '': No such file or directory when RSPAMD_DMS_DKIM_D has no value
c7d79fd to
b36842c
Compare
|
This would be my fault I think with #3813 I assumed that the helper was imported by this point bringing that variable into scope? docker-mailserver/target/scripts/helpers/rspamd.sh Lines 21 to 22 in 22c6dae docker-mailserver/target/scripts/start-mailserver.sh Lines 10 to 11 in 22c6dae docker-mailserver/target/scripts/helpers/index.sh Lines 4 to 7 in 22c6dae So a little curious why that is not the case 🤔 Ah, wrapped in a function that needs to be called to initialize: docker-mailserver/target/scripts/helpers/rspamd.sh Lines 13 to 17 in 22c6dae |
|
I will need to look into this.. |
|
Indeed, |
Description
In our tests i got various:
and tracked it down to this line causing those messages when RSPAMD_DMS_DKIM_D had no value
Fixes #
Type of change
Checklist:
docs/)CHANGELOG.md