What type of hardware are you using: Virtual machine
What YunoHost version are you running: 12.1.39
How are you able to access your server: The webadmin
SSH
Describe your issue
I have two network interfaces on my container, one to the local network and one with a public IP.
When sending emails postfix uses the local IP as sender IP and thus get blocked.
How can i specify the sending IP in Yunohost/Postfix?
Strangely I’m quite sure this worked previously. I have however since tried to change the default domain if that might affect this.
Share relevant logs or error messages
Headers in bounced email:
Received: from “mydomain_com” (“hostname” [192.168.1.157])
Which result in the bounce:
said: 554 5.7.1
Spam message rejected (in reply to end of DATA command)