Whitelists and Blacklists

Attention

Check out the lightweight on-premises email archiving software developed by iRedMail team: Spider Email Archiver.

DEPRECATED

WARNING: THIS DOCUMENT IS DEPRECATED, PLEASE manage white/blacklists with iRedAPD instead, doc here.

This tutorial shows you how to whitelist and blacklist senders or recipients with iRedAdmin-Pro and script shipped in iRedAPD (since iRedAPD-1.7.1).

Manage whitelists and blacklists with iRedAdmin-Pro

With iRedAdmin-Pro, you can manage several levels of whitelists and blacklists:

Screenshot attached below.

Manage whitelists and blacklists with SQL commands

Since iRedAPD-1.7.1, iRedAPD ships script tools/wblist_admin.py to help you manage white/blacklists. To get full usage message, please run this script without argument like this:

# cd /opt/iredapd/tools/
# python wblist_admin.py

Sample usages:

# python wblist_admin.py --add --whitelist 202.96.134.133 john@example.com @test.com @.abc.com
# python wblist_admin.py --add --blacklist 202.96.134.133 john@example.com @test.com @.abc.com
# python wblist_admin.py --list --whitelist
# python wblist_admin.py --list --blacklist
# python wblist_admin.py --account mydomain.com --add --whitelist 202.96.134.133
# python wblist_admin.py --account user@mydomain.com --add --blacklist 202.96.134.133

# python wblist_admin.py --account mydomain.com --list --whitelist
# python wblist_admin.py --account user@mydomain.com --list --blacklist
# python wblist_admin.py --outbound --account mydomain.com --add --whitelist 202.96.134.133

Screenshot of iRedAdmin-Pro: