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 3329 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: 6767
  • Karma: 494
    • 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
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • 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
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

  • 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 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2