Topic: greylisting_admin.py and disabling sub-domains
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.0 MARIADB edition.
- Deployed with iRedMail Easy or the downloadable installer? N
- Linux/BSD distribution name and version: CentOS Linux release 7.9.2009 (Core)
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? N
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
I have an unexpected result when disabling Grey listing for a subdomain.
I expect the following command will disable Grey Listing for any sender from the domain of, and subdomains of abcd.com
Thanks, Rob.
eg bob@mno.xyz.abcd.com
python3 /opt/iredapd/tools/greylisting_admin.py --disable --from='@.abcd.com'
* Disable greylisting: @. -> @.
However, as you can see it disabled Grey listing for everyone.
The help text says:
--from <from_address>
--to <to_address>
Manage greylisting setting from email which is sent from <from_address>
to <to_address>.Valid formats for both <from_address> and <to_address>:
- a single user: username@domain.com
- a single domain: @domain.com
- entire domain and all its sub-domains: @.domain.com
- anyone: @. (the ending dot is required)if no '--from' or '--to' argument, defaults to '@.' (anyone).
So I think I'm doing it correctly.
But maybe I'm missing it.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.