Hi every one
I have a server with 3 IP based virtual hosts in it .(I am using Apache as web server) one of these websites is used for email marketing and two other sites are just normal sites that send emails to site users etc...
I also have 7 IP addresses in the server and using only 3 of them:
site1.com : 100.100.100.1(ip 1)
site2.com : 100.100.100.2(ip 2)
site3.com : 100.100.100.3(ip 3)
now the problem is that when I send email from each of the sites by the help of a script like PHP , the sender IP shown in the mail header is my server's main ip address(ip 1) . I want emails sent from server 1 to be shown as sent from ip1 ,emails sent from server 2 to be shown as sent from ip2 and go on
how may I solve this problem ?
Thank you all in advance