1

Topic: python3 wblist_admin.py --list --whitelist errors

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

# python3 wblist_admin.py  --list --whitelist
* Establishing SQL connection.
* List all inbound whitelist for account: @.
'NoneType' object has no attribute 'execute'

However, the greylisting --list works fine

# python3 greylisting_admin.py  --list
Status   Sender                             -> Local Account
------------------------------------------------------------------------------
enabled  @. (anyone)                        -> @. (anyone)

----

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

2

Re: python3 wblist_admin.py --list --whitelist errors

Confirmed it's a bug of iRedMail-1.3.2. You can fix it by removing parameter "SQL_DB_DRIVER =" in /opt/iredapd/settings.py, then restart "iredapd" service.