1

Topic: wblist_admin.py blocking top-level domains

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

Is there any way with wblist_admin.py to block an entire TLD? I am getting so much spam recently and the vast majority of it is coming from e-mail addresses using .top

I have zero communication with any company that uses this TLD and I am fine blocking it. I tried using this command:

python wblist_admin.py --add --blacklist @.top

However, it doesn't look like it adds anything to the blacklist and I'm still getting these spams.

Any ideas?

Thanks,
ralph

----

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 blocking top-level domains

Bug in iRedAPD. Please fix it with this patch:
https://bitbucket.org/zhb/iredapd/commi … 36ec2ea83f

Thanks for the report. smile

3

Re: wblist_admin.py blocking top-level domains

I ended up adding this line to /etc/postfix/helo_access.pcre:

/(\.top)$/ REJECT ACCESS DENIED. Your email was rejected because only spam comes from your domain (${1})

I will apply the patch, though.

Thanks for your prompt reply as always!