mailcow / mailcow-dockerized

mailcow: dockerized - 🐮 + 🐋 = 💕
https://mailcow.email
GNU General Public License v3.0
8.75k stars 1.17k forks source link

Olefy 1.8 broken #4401

Closed cyrinux closed 2 years ago

cyrinux commented 2 years ago

Sumarry

Hi, since the olefy update to image 1.8, olefy don't start anymore with the error below. After a downgrade to 1.7 image this is OK.

It's maybe related to this ? https://github.com/HeinleinSupport/olefy/commit/fee073b1ee44f014ace848ed3d31a972a7c61baf https://github.com/HeinleinSupport/olefy/pull/14

Logs

olefy-mailcow_1      | olefy ERROR default_exception_handler Fatal error: protocol.eof_received() call failed.
olefy-mailcow_1      | protocol: <__main__.AIO object at 0x7f2295529910>
olefy-mailcow_1      | transport: <_SelectorSocketTransport fd=7 read=polling write=<idle, bufsize=0>>
olefy-mailcow_1      | Traceback (most recent call last):
olefy-mailcow_1      |   File "/usr/lib/python3.9/asyncio/selector_events.py", line 882, in _read_ready__on_eof
olefy-mailcow_1      |     keep_open = self._protocol.eof_received()
olefy-mailcow_1      |   File "/app/olefy.py", line 171, in eof_received
olefy-mailcow_1      |     rspamd_id = olefy_headers['Rspamd-ID'][:6] or ''
olefy-mailcow_1      | KeyError: 'Rspamd-ID'
copart commented 2 years ago

Any known side effects of downgrading to mailcow/olefy:1.7 and leaving everything else the same in docker-compose?

DerLinkman commented 2 years ago

Will fixed in the January update