This postfix server is a relay host which passes mail to a backend server. I want to send the xforward command to the backend with the originating IP (where the postfix server accepted the mail from). However I always see:
XFORWARD ADDR=127.0.0.1 PORT=xxxxx
If I disable amavisd, I get the correct ADDR field the xforward command to the backend server. How can I configure postfix to inherit the ADDR field and pass it through with the correct IP address?