1

Topic: wblist_admin.py issue

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.4
- Linux/BSD distribution name and version: CentOS 7.2.1511
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache 2.4.6
- Manage mail accounts with iRedAdmin-Pro? yes
- Related log if you're reporting an issue:
====

Today I tried to add a domain to the global blacklist but it does not work from the linux commandline.

Adding a domain at the linux shell I get:

python wblist_admin.py --add --blacklist @the-domain-to-be-blklisted.com
* Establishing SQL connection.
Traceback (most recent call last):
  File "wblist_admin.py", line 112, in <module>
    if not '@' in account:
NameError: name 'account' is not defined

Using the iredadmin-pro Webinterface to blacklist a sender domain works as expected

Post's attachments

blklst.png 81.55 kb, file has never been downloaded. 

You don't have the permssions to download the attachments of this post.

----

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

2

Re: wblist_admin.py issue

This bug was fixed in the latest development edition of iRedAPD, and will be available in upcoming release.
Thanks for the feedback. smile