IndexError: list index out of range
REQUEST_DATE: 2025-02-25 18:17:24
PAN_VERSION: 7.0.16
OS_VERSION: Ubuntu 22.04.5 LTS aarch64(Py3.12.3)
REMOTE_ADDR: 46.1.138.76
REQUEST_URI: POST /v2/plugin%3Faction%3Da%26amp%3Bname%3Dmail_sys%26amp%3Bs%3Dget_domains
REQUEST_FORM: {'p': '1', 'size': '10'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 OPR/116.0.0.0 (Edition std-1)
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 8680, 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 1335, in get_domains
item['dkim_value'] = self._get_dkim_value(item['domain'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/plugin/mail_sys/mail_sys_main.py", line 1486, in _get_dkim_value
value = file_body[1] + file_body[3]
IndexError: list index out of range