• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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 [email protected], and 150.150.150.151 to domein [email protected]?

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