I have postfix installed on my dedicated server (centos linux 5.3 with Webmin). I need to configure the server and postfix to be able to send from different ip's. I added several ip's as "virtual interfaces" within Network Configuration in Webmin. Each of these ip's is lined up with a unique hostname with aligned rdns and ptr records.
The mail is sending out fine with correct headers from the servers' main ip, but when I change the ip within postfix to one of the "virtual interface" ip's the mail still originates from the main ip.
I need to configure postfix to deliver mail via the virtual interfaces lined up to that ip's respective hostname.