1

Topic: Fresh Install: Internal Server Error

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.3.1
- Deployed with iRedMail Easy or the downloadable installer? downloadable installer
- Linux/BSD distribution name and version: Debian 10
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? not yet
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

iRedAdmin-Pro SQL-Version: 4.4

After clicking "Edit domain profile" on iRedAdmin-Pro, the Internal Server Error shows up.

From /var/log/messages:

Oct 21 16:18:11 testmail2 iredadmin: [81.20.112.14] GET /iredadmin 200 5182 "-"
Oct 21 16:18:20 testmail2 iredadmin: [81.20.112.14] POST /iredadmin/login 303 267 "https://DOMAIN/iredadmin"
Oct 21 16:18:21 testmail2 iredadmin: [81.20.112.14] GET /iredadmin/dashboard?checknew 200 21615 "https://DOMAIN/iredadmin"
Oct 21 16:18:21 testmail2 iredadmin: [81.20.112.14] GET /iredadmin/api/activities/fail2ban/banned/count 200 239 "https://DOMAIN/iredadmin/dashboard?checknew"
Oct 21 16:18:25 testmail2 iredadmin: [81.20.112.14] GET /iredadmin/domains 200 25550 "https://DOMAIN/iredadmin/dashboard?checknew"
Oct 21 16:18:27 testmail2 iredadmin: Traceback (most recent call last):#012  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 290, in process#012    return self.handle()#012  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 281, in handle#012    return self._delegate(fn, self.fvars, args)#012  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 531, in _delegate#012    return handle_class(cls)#012  File "/usr/local/lib/python2.7/dist-packages/web/application.py", line 509, in handle_class#012    return tocall(*args)#012  File "libs/sqllib/decorators.py", line 33, in libs.sqllib.decorators.require_domain_access.proxyfunc#012  File "controllers/sql/domain.py", line 231, in controllers.sql.domain.Profile.GET#012TypeError: get_greylist_setting() takes no keyword arguments
Oct 21 16:18:27 testmail2 iredadmin:
Oct 21 16:18:27 testmail2 iredadmin: [81.20.112.14] GET /iredadmin/profile/domain/general/mail.DOMAIN 500 242 "https://DOMAIN/iredadmin/domains"

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Fresh Install: Internal Server Error

hmm, an issue happened only with our trial license (it's compiled with cython). sad
But i can guarantee you no problem with the purchased license.

Please contact us to get a new "controllers/sql/domain.py" file:
https://www.iredmail.org/contact.html