1

Topic: how to blacklist .stream tld

==== Required information ====
- iRedMail version (check /etc/iredmail-release):
- Linux/BSD distribution name and version: Ubunutu 16.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MysSQL
- Web server (Apache or Nginx):Apache2
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====


root@mydomain.com:/opt/iredapd/tools# python wblist_admin.py --add --blacklist @.stream
* Establishing SQL connection.
* Add inbound blacklist for account: @.
* Add senders: @.stream
'NoneType' object has no attribute 'execute'
root@mydomain:/opt/iredapd/tools#


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

----

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

2

Re: how to blacklist .stream tld

I installed
sudo apt-get install python-pymysql

seems better, but still have an error

python wblist_admin.py --list --blacklist
* Establishing SQL connection.
* List all inbound blacklist for account: @.
/usr/lib/python2.7/dist-packages/pymysql/cursors.py:158: Warning: '@@tx_isolation' is deprecated and will be removed in a future release. Please use '@@transaction_isolation' instead
  result = self._query(query)
@.stream

3

Re: how to blacklist .stream tld

Which version of iRedMail and iRedAPD are you running?

- Check /etc/iredmail-release file to get iRedMail version number.
- Check output of command "ls -l /opt" to get iRedAPD version number.