1

Topic: How to block email from outside to a specific email?

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

Hi there, want to ask if there's a feature where i can block emails from outside world being sent to one of our internal email?

Let's say :
tm@abc.com which we only use internally and served as an alias. Any emails from outside world sent to tm@abc.com will be blocked, but any email ended @abc.com can send to tm@abc.com.

Can this be done?

Thanks.

----

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

2

Re: How to block email from outside to a specific email?

With iRedAdmin-Pro, you can manage per-user, per-domain and global (server-wide) white/blacklists. It's implemented by iRedAPD plugin 'amavisd_wblist'.

3

Re: How to block email from outside to a specific email?

Hi Mr.Zhang,
I roughly went through the iRedAdmin-Pro, but the whitelist or blacklist is applicable only to the sender's email correct?
Given the following scenario :
Local Email Domain : test.com

User A - abc@hotmail.com (External)
User B - def@gmail.com (External)
User C - ghi@test.com (Internal)
Alias Email : xxx@test.com

If i were to blacklist User A & B, then they cannot send email to User C also. So is iRedAdmin-Pro able to do something like :
1. User A & B can send email to User C, but not the Alias Email.
2. User C still can send email to the Alias Email since they are within same domain.

Hoping to hear your reply soon.
Thanks.

4

Re: How to block email from outside to a specific email?

You should go to user profile page of user C, then manage its per-user white/blacklists.

5

Re: How to block email from outside to a specific email?

okay, after researching it i know how it works now, thanks a lot.