tiredofit / docker-rspamd

Dockerized Anti Spam Filter
MIT License
18 stars 7 forks source link

Olefy Host 'olefy' is not accessible #12

Closed waja closed 3 weeks ago

waja commented 3 weeks ago

Summary

Container doesn't start healthy.

Relevant logs and/or screenshots

rspamd-1  | 2024-06-12.16:06:12 [WARN] ** [rspamd] Olefy Host 'olefy' is not accessible, retrying.. (5 seconds so far)
rspamd-1  | 2024-06-12.16:06:17 [WARN] ** [rspamd] Olefy Host 'olefy' is not accessible, retrying.. (10 seconds so far)

Possible fixes

https://github.com/tiredofit/docker-rspamd/blob/baddf4e6093326c496b218a7ed1ffb1ebd0ae2dc/install/assets/functions/10-rspamd#L31 uses ${OLETOOLS_HOST} ${OLETOOLS_PORT} but https://github.com/tiredofit/docker-rspamd/blob/main/install/assets/defaults/10-rspamd has no defaults and https://github.com/tiredofit/docker-rspamd/blob/baddf4e6093326c496b218a7ed1ffb1ebd0ae2dc/README.md#environment-variables has not documentation about it.

tiredofit commented 3 weeks ago

ENABLE_OLETOOLS=FALSE should do it.

waja commented 3 weeks ago

Defining ${OLETOOLS_HOST} and ${OLETOOLS_PORT} also. But it would be great if:

waja commented 3 weeks ago

14 should fix this