OPNsense Forum

Archive => 18.1 Legacy Series => Topic started by: ruffy91 on May 09, 2018, 11:13:14 am

Title: Postfix: send mails on Virtual IP
Post by: ruffy91 on May 09, 2018, 11:13:14 am
Hi There,

How can we get postfix to work with Virtual IPs?
We have added the VIP as "Listening IP" in the postfix config.
Postfix is receiving mail on this IP but when sending it takes the real interface IP nonetheless.
We use OpnSense 18.1.7_1.

Best Regards
Title: Re: Postfix: send mails on Virtual IP
Post by: mimugmail on May 09, 2018, 01:03:17 pm
This would mean we need 4 new fields, smtp_bind_address and smtpd_bind_address and also for v6.
Should be fairly easy ...
Title: Re: Postfix: send mails on Virtual IP
Post by: mimugmail on May 09, 2018, 01:20:06 pm
There you go ...

https://github.com/opnsense/plugins/pull/665