Hello team,
I've added my domain to mail server under mail domain, everything is correct, dns is integrated with cloudflare dns.
When I go to mailboxes I get the following popup with the error:
Something went wrong, an error occurred while running [Mail Server]!
TypeError: string indices must be integers, not 'str'
REQUEST_DATE: 2025-06-04 09:08:17
PAN_VERSION: 7.0.20
OS_VERSION: Ubuntu 24.04.2 LTS x86_64(Py3.12.3)
REMOTE_ADDR: 86.122.62.151
REQUEST_URI: POST /v2/plugin%3Faction%3Da%26amp%3Bname%3Dmail_sys%26amp%3Bs%3Dget_mailboxs_total
REQUEST_FORM: {'p': '1', 'size': '10', 'search': ''}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:139.0) Gecko/20100101 Firefox/139.0
Traceback (most recent call last):
File "/www/server/panel/class_v2/panel_plugin_v2.py", line 2365, in a
return public.run_plugin_v2(get.name, get.s, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/public/common.py", line 8770, in run_plugin_v2
raise PanelError(res['msg'])
public.exceptions.PanelError: An error occurred while the panel was running: Traceback (most recent call last):
File "/www/server/panel/plugin/mail_sys/mail_sys_main.py", line 2144, in get_mailboxs_total
domains = self.get_domain_name(None)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/plugin/mail_sys/mail_sys_main.py", line 910, in get_domain_name
data_list = [item for item in data_list if item['domain'] not in user_domain_list]
TypeError: string indices must be integers, not 'str'
I've tried the fix from Home, server restart, uninstall and install mail server, I get the same error, any ideas?
Thank you, have a nice day.