1

Topic: Force iRedMail to use a specific IP

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):  1.4.2
- Deployed with iRedMail Easy or the downloadable installer? Yes
- Linux/BSD distribution name and version: Ubuntu 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MariaDB
- 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.
====

I have two Public IP's. I want to force iRedMail to use only one IP. The other I am going to use for the webserver. I have put the IP I want to use into main.cf and restarted postfix. but when I log into iRedMail it shows me both IPs. How do I force it to just use one?

----

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

2

Re: Force iRedMail to use a specific IP

Did you update parameter "inet_interfaces" in Postfix main.cf?
http://www.postfix.org/postconf.5.html#inet_interfaces

You may want to check smtp_bind_address and smtp_bind_address6 also:
http://www.postfix.org/postconf.5.html# … nd_address
http://www.postfix.org/postconf.5.html# … d_address6

3

Re: Force iRedMail to use a specific IP

But since SMTP/IMAP/POP3 doesn't use port 80/443 (http/https), there's no need to do such separation i guess.