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 126.96.36.199
my mail server is mail.ibsp.co.nz and IP is 188.8.131.52
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 184.108.40.206 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.