1

Topic: block outbound domain mail to external

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.6.0 MariaDB
- Deployed with iRedMail Easy or the downloadable installer? download
- Linux/BSD distribution name and version: debian 11
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): mysql
- Web server (Apache or Nginx): nginx
- Manage mail accounts with iRedAdmin-Pro? no
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Good morning.
I would have to block a domain of my server (multi domain) for sending mail.
ex: @example.com can not send mail but only receive.
I gave iredapd --outbound --blacklist... but still sends to external email addresses.
What's missing?
Thank you

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: block outbound domain mail to external

Update sql table "vmail.mailbox", set columns "enablesmtp" and "enablesmtpsecured" of certain domain or user to value 0 (number zero), this will disable smtp service for the domain or user.

3

Re: block outbound domain mail to external

Thank you mr. ZhangHuangbin smile

ZhangHuangbin wrote:

Update sql table "vmail.mailbox", set columns "enablesmtp" and "enablesmtpsecured" of certain domain or user to value 0 (number zero), this will disable smtp service for the domain or user.