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).
With iRedAdmin-Pro, you can manage several levels of whitelists and blacklists:
System -> Anti Spam -> Whitelists & Blacklists
.Whitelists and Blacklists
.Whitelists and Blacklists
.Screenshot attached below.
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
--account
.
like below:# 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
--outbound
. like below:# python wblist_admin.py --outbound --account mydomain.com --add --whitelist 202.96.134.133
Screenshot of iRedAdmin-Pro:
All documents are available in BitBucket repository, and published under Creative Commons license. You can download the latest version for offline reading. If you found something wrong, please do contact us to fix it.