• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

PHP Mail always sends from first IP

Manneke

New Pleskian
I am using Plesk Panel 11.0.9 on CentOS 6.4.

I have two domains on my dedicated server. Each domain has its own IP address.
When i am sending email using a PHP script (the mail() command) from the second domain (lets say: 150.150.150.151), the mail is sent from the first IP (150.150.150.150) that belongs to the first domain.

The reverse DNS for the first IP is different than the second domain, so anti-spam filters sometimes block our mail because of this.

Is it possible to configure Plesk to Always sent from the IP where the website is at?

Hope someone can help me out. Thanks!!
 
Thanks for the fast response.

I'm not fully understanding what is told in that article, so hope you can clearify this;
with that information, i can bind 150.150.150.150 to domain info@example1.com, and 150.150.150.151 to domein info@example2.com?

if the above is true, i will send this information to my hosting partner.
 
Back
Top