• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Send mail from different domains with different IP addresses

R

RahifA

Guest
I have five domains, each one has it's own dedicated IP address. When anyone of the different domains sends an email using PHP mail function, the email is sent from the main IP address of the server which resolves to the server hostname which shows in the email header.

Is there a way to make every email goes from it's own domain's IP address? I need to separate the services for each domain.

Many thanks for the help
 
Thanks for the reply, I read the article and made sure that I have the three required conditions, but when I send an email it still uses the server IP. Is there a specific configuration that I need to have?
 
I can be corrected on this, but I don't think this is possible yet with php mail function. However it's with SMTP.
 
Back
Top