Topic: Error when adding user to alias group via user profile checkboxes

- iRedMail version (check /etc/iredmail-release): 0.9.9 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: CentOS Linux release 7.6.1810
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.

Jul 18 14:04:15 mail journal: iredadmin ERROR: ['Traceback (most recent call last):\n', '  File "/opt/www/iRedAdmin-Pro-SQL-3.6/libs/sqllib/general.py", line 334, in filter_existing_emails\n    _tbl_and_columns += _tbl_column_maps["account_type"]\n', "KeyError: 'account_type'\n"] (file=/opt/www/iRedAdmin-Pro-SQL-3.6/libs/logger.py, line=38

Upgraded to iRedAdmin 3.6 today. 

Adding a user by checkbox to "Member of Mail Aliases" in user profile results in the above error in /var/log/messages.

Upon saving, the checkbox disappears and the above error is logged.

Adding a user to an alias by typing the email address into the alias profile directly works - no error is raised, and the appropriate box is checked.


Re: Error when adding user to alias group via user profile checkboxes

Confirmed it's a bug of iRedAdmin-Pro-SQL-3.6. I just released a bug fix release (v3.7) moment ago, please request a download link from "License" page on iRedAdmin-Pro, then upgrade.

Thank you very much for the feedback. smile


Buy me a cup of coffee ($5) to support iRedMail:

buy me a cup of coffee