Topic: Block incomming mail for a specific user
==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.7
- Linux/BSD distribution name and version: Centos 7.3
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- 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,
Someone having a clue on the best way of blocking incomming e-mail for a user?
The account should still be readable by imap, but no external incomming e-mail allowed.
The reassons beeing a couple of old migrated mailboxes that are kept just for reference/archive purpose, but we don't want to expose the mailadress externally.
Is it possible to modify any LDAP attribute to achieve this? I guess "disable" means the user cant login at all?
iredapd policy settings?
Or is it better to use "smtpd_recipient_restrictions" in /etc/postfix/main.cf ?
/Regards
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.