OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Postfix: send mails on Virtual IP
« previous next »
  • Print
Pages: [1]

Author Topic: Postfix: send mails on Virtual IP  (Read 962 times)

ruffy91

  • Jr. Member
  • **
  • Posts: 79
  • Karma: 9
    • View Profile
Postfix: send mails on Virtual IP
« 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
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 5157
  • Karma: 361
    • View Profile
Re: Postfix: send mails on Virtual IP
« Reply #1 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 ...
Logged
IRC: mimugmail
Twitter: mimu_muc
WWW: www.routerperformance.net

mimugmail

  • Hero Member
  • *****
  • Posts: 5157
  • Karma: 361
    • View Profile
Re: Postfix: send mails on Virtual IP
« Reply #2 on: May 09, 2018, 01:20:06 pm »
There you go ...

https://github.com/opnsense/plugins/pull/665
Logged
IRC: mimugmail
Twitter: mimu_muc
WWW: www.routerperformance.net

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.1 Legacy Series »
  • Postfix: send mails on Virtual IP
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.17 | SMF © 2019, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2