Just upgraded. Read the readme and all update docs.
I do not use ldap so no issues there. Was able to login just fine to the admin console.

I monitor netfilter at the command line. When running the following command I cannot see the log.

[demo@mail mailcow-dockerized]$ sudo docker compose logs -f --tail=200 netfilter-mailcow
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 601, in _parse
netfilter-mailcow-1  |     self._xt.parse_match(argv, inv, self._module, entry,
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 869, in new
netfilter-mailcow-1  |     return fn(*args)
netfilter-mailcow-1  |            ^^^^^^^^^
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 1144, in parse_match
netfilter-mailcow-1  |     raise XTablesError("%s: no such parameter %s" % (m.name,
netfilter-mailcow-1  | iptc.errors.XTablesError: b'multiport': no such parameter b'dports'
netfilter-mailcow-1  | Traceback (most recent call last):
netfilter-mailcow-1  |   File "/app/main.py", line 416, in <module>
netfilter-mailcow-1  |     clear()
netfilter-mailcow-1  |   File "/app/main.py", line 218, in clear
netfilter-mailcow-1  |     tables.clearIPv4Table()
netfilter-mailcow-1  |   File "/app/modules/IPTables.py", line 69, in clearIPv4Table
netfilter-mailcow-1  |     self.clearTable(iptc.Table(iptc.Table.FILTER))
netfilter-mailcow-1  |   File "/app/modules/IPTables.py", line 81, in clearTable
netfilter-mailcow-1  |     mailcow_chain.delete_rule(rule)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 1498, in delete_rule
netfilter-mailcow-1  |     rule.final_check()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 988, in final_check
netfilter-mailcow-1  |     match.final_check()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 339, in final_check
netfilter-mailcow-1  |     self._update_parameters()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 448, in _update_parameters
netfilter-mailcow-1  |     self.set_parameter(k, v)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 285, in set_parameter
netfilter-mailcow-1  |     return self.parse(parameter.replace("_", "-"), value)
netfilter-mailcow-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 332, in parse
netfilter-mailcow-1  |     self._parse(argv, inv, entry)
netfilter-mailcow-1  | Using IPTables backend
netfilter-mailcow-1  | Clearing all bans
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 601, in _parse
netfilter-mailcow-1  |     self._xt.parse_match(argv, inv, self._module, entry,
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 869, in new
netfilter-mailcow-1  |     return fn(*args)
netfilter-mailcow-1  |            ^^^^^^^^^
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 1144, in parse_match
netfilter-mailcow-1  |     raise XTablesError("%s: no such parameter %s" % (m.name,
netfilter-mailcow-1  | iptc.errors.XTablesError: b'multiport': no such parameter b'dports'
netfilter-mailcow-1  | Using IPTables backend
netfilter-mailcow-1  | Clearing all bans
netfilter-mailcow-1  | Traceback (most recent call last):
netfilter-mailcow-1  |   File "/app/main.py", line 416, in <module>
netfilter-mailcow-1  |     clear()
netfilter-mailcow-1  |   File "/app/main.py", line 218, in clear
netfilter-mailcow-1  |     tables.clearIPv4Table()
netfilter-mailcow-1  |   File "/app/modules/IPTables.py", line 69, in clearIPv4Table
netfilter-mailcow-1  |     self.clearTable(iptc.Table(iptc.Table.FILTER))
netfilter-mailcow-1  |   File "/app/modules/IPTables.py", line 81, in clearTable
netfilter-mailcow-1  |     mailcow_chain.delete_rule(rule)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 1498, in delete_rule
netfilter-mailcow-1  |     rule.final_check()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 988, in final_check
netfilter-mailcow-1  |     match.final_check()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 339, in final_check
netfilter-mailcow-1  |     self._update_parameters()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 448, in _update_parameters
netfilter-mailcow-1  |     self.set_parameter(k, v)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 285, in set_parameter
netfilter-mailcow-1  |     return self.parse(parameter.replace("_", "-"), value)
netfilter-mailcow-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 332, in parse
netfilter-mailcow-1  |     self._parse(argv, inv, entry)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 601, in _parse
netfilter-mailcow-1  |     self._xt.parse_match(argv, inv, self._module, entry,
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 869, in new
netfilter-mailcow-1  |     return fn(*args)
netfilter-mailcow-1  |            ^^^^^^^^^
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 1144, in parse_match
netfilter-mailcow-1  |     raise XTablesError("%s: no such parameter %s" % (m.name,
netfilter-mailcow-1  | iptc.errors.XTablesError: b'multiport': no such parameter b'dports'
netfilter-mailcow-1  | Using IPTables backend
netfilter-mailcow-1  | Clearing all bans
netfilter-mailcow-1  | Traceback (most recent call last):
netfilter-mailcow-1  |   File "/app/main.py", line 416, in <module>
netfilter-mailcow-1  |     clear()
netfilter-mailcow-1  |   File "/app/main.py", line 218, in clear
netfilter-mailcow-1  |     tables.clearIPv4Table()
netfilter-mailcow-1  |   File "/app/modules/IPTables.py", line 69, in clearIPv4Table
netfilter-mailcow-1  |     self.clearTable(iptc.Table(iptc.Table.FILTER))
netfilter-mailcow-1  |   File "/app/modules/IPTables.py", line 81, in clearTable
netfilter-mailcow-1  |     mailcow_chain.delete_rule(rule)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 1498, in delete_rule
netfilter-mailcow-1  |     rule.final_check()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 988, in final_check
netfilter-mailcow-1  |     match.final_check()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 339, in final_check
netfilter-mailcow-1  |     self._update_parameters()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 448, in _update_parameters
netfilter-mailcow-1  |     self.set_parameter(k, v)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 285, in set_parameter
netfilter-mailcow-1  |     return self.parse(parameter.replace("_", "-"), value)
netfilter-mailcow-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 332, in parse
netfilter-mailcow-1  |     self._parse(argv, inv, entry)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 601, in _parse
netfilter-mailcow-1  |     self._xt.parse_match(argv, inv, self._module, entry,
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 869, in new
netfilter-mailcow-1  |     return fn(*args)
netfilter-mailcow-1  |            ^^^^^^^^^
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 1144, in parse_match
netfilter-mailcow-1  |     raise XTablesError("%s: no such parameter %s" % (m.name,
netfilter-mailcow-1  | iptc.errors.XTablesError: b'multiport': no such parameter b'dports'
netfilter-mailcow-1  | Using IPTables backend
netfilter-mailcow-1  | Clearing all bans
netfilter-mailcow-1  | Traceback (most recent call last):
netfilter-mailcow-1  |   File "/app/main.py", line 416, in <module>
netfilter-mailcow-1  |     clear()
netfilter-mailcow-1  |   File "/app/main.py", line 218, in clear
netfilter-mailcow-1  |     tables.clearIPv4Table()
netfilter-mailcow-1  |   File "/app/modules/IPTables.py", line 69, in clearIPv4Table
netfilter-mailcow-1  |     self.clearTable(iptc.Table(iptc.Table.FILTER))
netfilter-mailcow-1  |   File "/app/modules/IPTables.py", line 81, in clearTable
netfilter-mailcow-1  |     mailcow_chain.delete_rule(rule)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 1498, in delete_rule
netfilter-mailcow-1  |     rule.final_check()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 988, in final_check
netfilter-mailcow-1  |     match.final_check()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 339, in final_check
netfilter-mailcow-1  |     self._update_parameters()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 448, in _update_parameters
netfilter-mailcow-1  |     self.set_parameter(k, v)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 285, in set_parameter
netfilter-mailcow-1  |     return self.parse(parameter.replace("_", "-"), value)
netfilter-mailcow-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 332, in parse
netfilter-mailcow-1  |     self._parse(argv, inv, entry)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 601, in _parse
netfilter-mailcow-1  |     self._xt.parse_match(argv, inv, self._module, entry,
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 869, in new
netfilter-mailcow-1  |     return fn(*args)
netfilter-mailcow-1  |            ^^^^^^^^^
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 1144, in parse_match
netfilter-mailcow-1  |     raise XTablesError("%s: no such parameter %s" % (m.name,
netfilter-mailcow-1  | iptc.errors.XTablesError: b'multiport': no such parameter b'dports'
netfilter-mailcow-1  | Using IPTables backend
netfilter-mailcow-1  | Clearing all bans
netfilter-mailcow-1  | Traceback (most recent call last):
netfilter-mailcow-1  |   File "/app/main.py", line 416, in <module>
netfilter-mailcow-1  |     clear()
netfilter-mailcow-1  |   File "/app/main.py", line 218, in clear
netfilter-mailcow-1  |     tables.clearIPv4Table()
netfilter-mailcow-1  |   File "/app/modules/IPTables.py", line 69, in clearIPv4Table
netfilter-mailcow-1  |     self.clearTable(iptc.Table(iptc.Table.FILTER))
netfilter-mailcow-1  |   File "/app/modules/IPTables.py", line 81, in clearTable
netfilter-mailcow-1  |     mailcow_chain.delete_rule(rule)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 1498, in delete_rule
netfilter-mailcow-1  |     rule.final_check()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 988, in final_check
netfilter-mailcow-1  |     match.final_check()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 339, in final_check
netfilter-mailcow-1  |     self._update_parameters()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 448, in _update_parameters
netfilter-mailcow-1  |     self.set_parameter(k, v)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 285, in set_parameter
netfilter-mailcow-1  |     return self.parse(parameter.replace("_", "-"), value)
netfilter-mailcow-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 332, in parse
netfilter-mailcow-1  |     self._parse(argv, inv, entry)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 601, in _parse
netfilter-mailcow-1  |     self._xt.parse_match(argv, inv, self._module, entry,
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 869, in new
netfilter-mailcow-1  |     return fn(*args)
netfilter-mailcow-1  |            ^^^^^^^^^
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 1144, in parse_match
netfilter-mailcow-1  |     raise XTablesError("%s: no such parameter %s" % (m.name,
netfilter-mailcow-1  | iptc.errors.XTablesError: b'multiport': no such parameter b'dports'
netfilter-mailcow-1  | Using IPTables backend
netfilter-mailcow-1  | Clearing all bans
netfilter-mailcow-1  | Traceback (most recent call last):
netfilter-mailcow-1  |   File "/app/main.py", line 416, in <module>
netfilter-mailcow-1  |     clear()
netfilter-mailcow-1  |   File "/app/main.py", line 218, in clear
netfilter-mailcow-1  |     tables.clearIPv4Table()
netfilter-mailcow-1  |   File "/app/modules/IPTables.py", line 69, in clearIPv4Table
netfilter-mailcow-1  |     self.clearTable(iptc.Table(iptc.Table.FILTER))
netfilter-mailcow-1  |   File "/app/modules/IPTables.py", line 81, in clearTable
netfilter-mailcow-1  |     mailcow_chain.delete_rule(rule)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 1498, in delete_rule
netfilter-mailcow-1  |     rule.final_check()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 988, in final_check
netfilter-mailcow-1  |     match.final_check()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 339, in final_check
netfilter-mailcow-1  |     self._update_parameters()
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 448, in _update_parameters
netfilter-mailcow-1  |     self.set_parameter(k, v)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 285, in set_parameter
netfilter-mailcow-1  |     return self.parse(parameter.replace("_", "-"), value)
netfilter-mailcow-1  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 332, in parse
netfilter-mailcow-1  |     self._parse(argv, inv, entry)
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 601, in _parse
netfilter-mailcow-1  |     self._xt.parse_match(argv, inv, self._module, entry,
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 869, in new
netfilter-mailcow-1  |     return fn(*args)
netfilter-mailcow-1  |            ^^^^^^^^^
netfilter-mailcow-1  |   File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 1144, in parse_match
netfilter-mailcow-1  |     raise XTablesError("%s: no such parameter %s" % (m.name,
netfilter-mailcow-1  | iptc.errors.XTablesError: b'multiport': no such parameter b'dports'

Is there a different command to run to accomplish this?
It worked in the previous release.
Thanks

  • DocFraggle replied to this.
  • the workaround is to fallback / downgrade to netfilter 1.61
    mailcow/mailcow-dockerized6405

    just change the version number in your docker compose file and run
    docker compose down && docker compose up -d

    maybl8 When running the following command I cannot see the log.

    Well, I would say that IS the log, but it contains some errors

    Have something to say?

    Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

    Can you switch to nftables instead, it seems there has something changed with the iptables package from the netfilter.

    @DerLinkman Well this is where our support ends I’m sure. I am using and unsupported OS . I am on Arch Linux
    I installed nftables but the command for the netfilter log still does not work.
    I will try to investigate on my own. It is frustrating trying to get support when on an unsupported OS.
    But thanks for trying to help.

    This is over my head when it comes to code errors.
    Is this my issue:

    ldx/python-iptables264

    @DerLinkman can you run the netfilter-mailcow command and show what you get?

    8 days later

    Same issue for me after update is there any workaround on how to fix this?
    Using IPTables backend
    Clearing all bans
    Traceback (most recent call last):
    File "/app/main.py", line 416, in <module>
    clear()
    File "/app/main.py", line 218, in clear
    tables.clearIPv4Table()
    File "/app/modules/IPTables.py", line 69, in clearIPv4Table
    self.clearTable(iptc.Table(iptc.Table.FILTER))
    File "/app/modules/IPTables.py", line 81, in clearTable
    mailcow_chain.delete_rule(rule)
    File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 1498, in delete_rule
    rule.final_check()
    File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 988, in final_check
    match.final_check()
    File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 339, in final_check
    self._update_parameters()
    File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 448, in _update_parameters
    self.set_parameter(k, v)
    File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 285, in set_parameter
    return self.parse(parameter.replace("_", "-"), value)
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 332, in parse
    self._parse(argv, inv, entry)
    File "/usr/lib/python3.12/site-packages/iptc/ip4tc.py", line 601, in _parse
    self._xt.parse_match(argv, inv, self._module, entry,
    File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 869, in new
    return fn(*args)
    ^^^^^^^^^
    File "/usr/lib/python3.12/site-packages/iptc/xtables.py", line 1144, in parse_match
    raise XTablesError("%s: no such parameter %s" % (m.name,
    iptc.errors.XTablesError: b'multiport': no such parameter b'dports'

    the workaround is to fallback / downgrade to netfilter 1.61
    mailcow/mailcow-dockerized6405

    just change the version number in your docker compose file and run
    docker compose down && docker compose up -d

    No one is typing