1

Topic: Multiple IP addresses, send emails only from one

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

Dear Support,
Our VM server has two network interfaces installed, ens160 and ens192.
Postfix randomly chooses the interface to send outgoing emails.
We would like to send outgoing emails only from ens160, can you please advise how to do it?

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: Multiple IP addresses, send emails only from one

Update Postfix main.cf, bind the IP to one of them.
FYI: http://www.postfix.org/postconf.5.html# … nd_address