1

Topic: Restrict inbound IP addresses

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

I know it is probably possible to restrict inbound IP addresses for mail delivery for the whole server.  Is it possible to restrict inbound IP addresses per domain?

----

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

2

Re: Restrict inbound IP addresses

Maybe I answered my own question, but would something like this work for iRedMail?

https://serverfault.com/questions/67678 … m-ip-range

3

Re: Restrict inbound IP addresses

iRedMail uses Postfix too, so yes it works.

But there's a better solution with iRedMail + iRedAdmin-Pro:

- Login to iRedAdmin-Pro
- Go to domain profile page, click tab "White/Blacklists"
- You can whitelist the allowed inbound IP here, and block all others (with '@.').

if it doesn't work for you, please turn on debug mode in iRedAPD, then try to reproduce the issue again, paste iredapd log here for troubleshooting:
https://docs.iredmail.org/debug.iredapd.html