Topic: Block all external emails
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.5-1
- Linux/BSD distribution name and version: CentOS 7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): PGSQL
- Web server (Apache or Nginx): Apache
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi,
I'm trying to block all external emails from being sent from an account. I had a look at https://forum.iredmail.org/post52551.html#p52551 but it says:
No --add, --delete or --list specified. Exit
I've tried to roll my own by doing:
python wblist_admin.py --account dev@example.com --add --blacklist '@.'
python wblist_admin.py --account dev@example.com --add --whitelist '@example.com'
which it accepts but doesn't stop the emails.
I upgraded to iRedAPD 2.2 from 1.7 to try and get this to work.
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.