- Edited
Hello, i have installed aapanel in centos 7 with Mail Server 7.04 (latest) i can send mails with no issue, but i have those problems:
1.- When i create a user in mail server this error appears.
And viewing the log:
Something went wrong, an error occurred while running [Mail Server]!
AttributeError: module 'public' has no attribute 'recursive_set_own'
REQUEST_DATE: 2025-03-14 16:03:13
PAN_VERSION: 7.0.16
OS_VERSION: CentOS 7.9.2009 x86_64(Py3.12.3)
REMOTE_ADDR: 181.43.xx.xx
REQUEST_URI: POST /plugin%3Faction%3Da%26amp%3Bname%3Dmail_sys%26amp%3Bs%3Dadd_mailbox
REQUEST_FORM: {'quota': '1 GB', 'username': 'contacto@xxxxx.cl', 'password': '36i13Fr8FjkFazF8', 'full_name': 'contacto', 'is_admin': '0'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/class/panelPlugin.py", line 2256, in a
return public.run_plugin(get.name, get.s, get)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/www/server/panel/class/public/common.py", line 8668, in run_plugin
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 2214, in add_mailbox
public.recursive_set_own(user_path, 'vmail', 'mail')
^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'public' has no attribute 'recursive_set_own'
But the user is created anyways, but for each user that i created the error appears.
2.- And the second problem, most urgent is that i can't receive mails....checking the log, and the error:
Error: file_dotlock_open(/www/vmail/xxxxx.cl/contacto/dovecot.index.log) failed: Permission denied (euid=150(vmail) egid=8(mem) missing +w perm: /www/vmail/xxxxx.cl/contacto, dir owned by 0:0 mode=0755)
Mar 14 17:53:47 localhost dovecot: lmtp(contacto@xxxxxxx.cl): Error: open(/www/vmail/xxxxxxx.cl/contacto/tmp/1741985627.M54405P19586.localhost.localdomain) failed: Permission denied
Mar 14 17:53:47 localhost dovecot: lmtp(contacto@xxxxxxxxx.cl): Error: sAhPAluX1GeCTAAA0J78UA: sieve: msgid=58642027.7010235.1741985617850@mail.yahoo.com: failed to store into mailbox 'INBOX': Internal error occurred. Refer to server log for more information. [2025-03-14 17:53:47]
i check and the folder vmail has access to user vmail and permissions 770:
How can i resolve those errors?....thanks for your help!...really appreciate