I have multiple IP addresses on my server and want to send emails from my mail server (mail.ibsp.co.nz) with it's IP address.
my server's hostname is ibsp.co.nz and IP is 220.127.116.11
my mail server is mail.ibsp.co.nz and IP is 18.104.22.168
IP block owner set the PTR record for my mail server
I changed the hostname in main.cf to mail.ibsp.co.nz (it was ibsp.co.nz) and sent a test email to gmail account but the client-ip is still 22.214.171.124 and the email contained "Received: from mail.ibsp.co.nz (www.ibsp.co.nz
Currently ISPConfig 2 and postfix are installed with CentOS5.
(I have ISPConfig 3 server with postfix and it has the same problem.....)
Could you please advise how to change the mail server in Postfix?
Thanks in advance.