Hi,
I running CENTOS 6.9 x86_64 kvm – server cPanel & WHM 64.0 (build 36) and have a dedicated IP for mydomian.com
I have installed a script called PHPMailer I'm using to to allow visitors to send ecards to their friends. When I test it it goes through but goes to the spambox. Here is Mail Delivery Reports says:
Event: success
Sender User: user
Sender Domain: mydomian.com
Sender: [email protected]
Sent Time: Jul 27, 2017 11:30:11 AM
Sender Host: localhost
Sender IP: 127.0.0.1
Authentication: localuser
Spam Score:
Recipient: [email protected]
Delivered To: [email protected]
Delivery User: -remote-
Delivery Domain:
Router: lookuphost
Transport: remote_smtp
Out Time: Jul 27, 2017 11:31:11 AM
ID: 1dakjy-0001lT-VY
Delivery Host: mx2.hotmail.com
Delivery IP: 65.55.33.135
Size: 120.62 KB
Result: Accepted
The X-Mailer: PHPMailer 5.2.23 github.com/PHPMailer/PHPMailer
*****************************************
Then I have Wordpress installed and a newsletter module installed that sends a auto reply after someone subscribes. It doesn't get sent at all. Here is Mail Delivery Reports says for that:
Event: failure
Sender User: user
Sender Domain: mydomian.com
Sender: [email protected]
Sent Time: Jul 27, 2017 9:40:09 AM
Sender Host: localhost
Sender IP: 127.0.0.1
Authentication: localuser
Spam Score:
Recipient: [email protected]
Delivered To:
Delivery User: -system-
Delivery Domain:
Router: lookuphost
Transport: remote_smtp
Out Time: Jul 27, 2017 9:40:09 AM
ID: 1daj1R-0003yj-Hi
Delivery Host: mx1.hotmail.com
Delivery IP: 65.55.92.136
Size: 1,001 bytes
Result: ECDHE-RSA-AES256-SHA384:256 CV=yes: SMTP error from remote mail server after end of data: 550 5.7.0 (SNT004-MC1F47) Unfortunately, messages from (11.11.11.111) on behalf of (mydomian.com) could not be delivered due to domain owner policy restrictions.
I'm not sure why this one doesn't get delivered but I think it's because I have dmarc set up.
*****************************************
I also have Magento ecommerce set up. It goes through prefect. Everything passes i.e. spf=pass, dkim=pass, dmarc=pass, Received-SPF: Pass. X-PHP-Originating-Script: 507:Sendmail.php
So I'm very happy about that.
******************************************
When I run a php test script from mydomian.com
It doesn't get delivered it's the same as the newsletter reply as above from Wordpress.
I'm trying to get all the emails to go through like Magento. It seems I need toget mydomain.com to send the and not [email protected]?
How can I fix this?
Thank you
I running CENTOS 6.9 x86_64 kvm – server cPanel & WHM 64.0 (build 36) and have a dedicated IP for mydomian.com
I have installed a script called PHPMailer I'm using to to allow visitors to send ecards to their friends. When I test it it goes through but goes to the spambox. Here is Mail Delivery Reports says:
Event: success
Sender User: user
Sender Domain: mydomian.com
Sender: [email protected]
Sent Time: Jul 27, 2017 11:30:11 AM
Sender Host: localhost
Sender IP: 127.0.0.1
Authentication: localuser
Spam Score:
Recipient: [email protected]
Delivered To: [email protected]
Delivery User: -remote-
Delivery Domain:
Router: lookuphost
Transport: remote_smtp
Out Time: Jul 27, 2017 11:31:11 AM
ID: 1dakjy-0001lT-VY
Delivery Host: mx2.hotmail.com
Delivery IP: 65.55.33.135
Size: 120.62 KB
Result: Accepted
The X-Mailer: PHPMailer 5.2.23 github.com/PHPMailer/PHPMailer
*****************************************
Then I have Wordpress installed and a newsletter module installed that sends a auto reply after someone subscribes. It doesn't get sent at all. Here is Mail Delivery Reports says for that:
Event: failure
Sender User: user
Sender Domain: mydomian.com
Sender: [email protected]
Sent Time: Jul 27, 2017 9:40:09 AM
Sender Host: localhost
Sender IP: 127.0.0.1
Authentication: localuser
Spam Score:
Recipient: [email protected]
Delivered To:
Delivery User: -system-
Delivery Domain:
Router: lookuphost
Transport: remote_smtp
Out Time: Jul 27, 2017 9:40:09 AM
ID: 1daj1R-0003yj-Hi
Delivery Host: mx1.hotmail.com
Delivery IP: 65.55.92.136
Size: 1,001 bytes
Result: ECDHE-RSA-AES256-SHA384:256 CV=yes: SMTP error from remote mail server after end of data: 550 5.7.0 (SNT004-MC1F47) Unfortunately, messages from (11.11.11.111) on behalf of (mydomian.com) could not be delivered due to domain owner policy restrictions.
I'm not sure why this one doesn't get delivered but I think it's because I have dmarc set up.
*****************************************
I also have Magento ecommerce set up. It goes through prefect. Everything passes i.e. spf=pass, dkim=pass, dmarc=pass, Received-SPF: Pass. X-PHP-Originating-Script: 507:Sendmail.php
So I'm very happy about that.
******************************************
When I run a php test script from mydomian.com
PHP:
<?php
ini_set( 'display_errors', 1 );
error_reporting( E_ALL );
$from = "[email protected]";
$to = "[email protected]";
$subject = "PHP Mail Test script";
$message = "This is a test to check the PHP Mail functionality";
$headers = "From:" . $from;
mail($to,$subject,$message, $headers);
echo "Test email sent";
?>
I'm trying to get all the emails to go through like Magento. It seems I need toget mydomain.com to send the and not [email protected]?
How can I fix this?
Thank you
Last edited: