Author Topic: I cant sent mail to gmail, hotmail etc, i can receive from ok  (Read 24559 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Hi guys, centos web panel is amazing, but
since i started to play around with, i see a problem

I can sent and receive email from cpanel providers

I cant receive mail from hotmail, yahoo, gmail.

But i cant sent to hotmail yahoo gmail.

I tested my rdns, dkim and spf, and its ok i tested using port25 auth tests

But if i sent an email from hotmail to my name@domain.com hosted on centods web panel, i receive the email, and if i reply the reply goes to inbox on hotmail, gmail etc.

But if i just start a new mail to this providers the mail never reach to other side,

Anyone experiecing this issue???

how to solve

Thankks in advance!!!!!!!

Ronan

Offline
***
Re: I cant sent mail to gmail, hotmail etc, i can receive from ok
« Reply #1 on: March 14, 2016, 05:51:30 AM »
weird, never have problem like yours..

- try to use other email client
- try to disable amavis and dkim or any other antivirus, content filter etc, just make postfix sent email directly to other host...
- try to rebuild postfix...

Offline
*
Re: I cant sent mail to gmail, hotmail etc, i can receive from ok
« Reply #2 on: March 23, 2016, 03:02:44 AM »
I have same problem  :'(

This is the error message

host gmail-smtp-in.l.google.com[74.125.130.26] said:
    550-5.7.1 [128.199.xxx.xxx] The IP address sending this message does not
    have a 550-5.7.1 PTR record setup. As a policy, Gmail does not accept
    messages from 550-5.7.1 IPs with missing PTR records. Please visit
    550-5.7.1  https://support.google.com/mail/answer/81126#authentication for
    more 550 5.7.1 information. b19si2829487pfd.242 - gsmtp (in reply to end of
    DATA command)

How to fix this?

Regards

Offline
*****
Re: I cant sent mail to gmail, hotmail etc, i can receive from ok
« Reply #3 on: March 23, 2016, 04:47:29 AM »
do you have ptr records ? (A records for domain)

Offline
***
Re: I cant sent mail to gmail, hotmail etc, i can receive from ok
« Reply #4 on: March 23, 2016, 06:25:05 AM »
I have same problem  :'(

This is the error message

host gmail-smtp-in.l.google.com[74.125.130.26] said:
    550-5.7.1 [128.199.xxx.xxx] The IP address sending this message does not
    h...........
How to fix this?

Regards

Hi,

Look like your IP from Digital Ocean droplet, as i know, ptr record will automatically created when you create a droplet...
If not DO, then ask vps provider to create ptr record for your IP.


Offline
*
Re: I cant sent mail to gmail, hotmail etc, i can receive from ok
« Reply #5 on: March 24, 2016, 02:50:45 AM »
I have same problem  :'(

This is the error message

host gmail-smtp-in.l.google.com[74.125.130.26] said:
    550-5.7.1 [128.199.xxx.xxx] The IP address sending this message does not
    h...........
How to fix this?

Regards

Hi,

Look like your IP from Digital Ocean droplet, as i know, ptr record will automatically created when you create a droplet...
If not DO, then ask vps provider to create ptr record for your IP.

Thanks i'll feedback soon!

Offline
*
Re: I cant sent mail to gmail, hotmail etc, i can receive from ok
« Reply #6 on: March 24, 2016, 04:36:36 AM »
solved!!!

First thanks Jae very very much!!!

I'm missing to add an A record (My hostname is server1.xxx.com)
Just add "server1" and my "droplet ip" to A record then my email working fine

Offline
*
Re: I cant sent mail to gmail, hotmail etc, i can receive from ok
« Reply #7 on: June 04, 2016, 08:51:25 PM »
I have a different situation but with the same response.
Gmail is saying I'm missing PTR record but the IP to wich is reffering is the routable IP not the public one. So I asked my ISP to add a rDNS to that IP as well and guess what? Gmail says the same thing.
Now, I'm not some sort of a class A sys admin, but neither a mega-idiot, so, why the hell does Gmail need a PTR record to my routable IP? And much more, this happened two weeks ago all of a sudden. I did not changed anything, I didn't messed up with my courier setup, DKIM and SPF records are there untouched, just that I made an apt-get -y upgrade and it did in fact updated courier and postfix, but, of course, I compared the backup files main.cf and master.cf and nothing changed.... So it's not from the update.
Furthermore, to make it even harder, last week worked..... 50% of the emails went to gmail, rest of them returned. I have around 40 clients, 130 mailboxes, anti-spam filters like a maniac, and the last 3 years the email server worked with no problem whatsoever...
Help!!!! I'm loosing my mind in here.

PS: please don't ask me why I'm using apt under CentOS :)...
« Last Edit: June 04, 2016, 09:25:19 PM by alex_popa_81 »

Offline
***
Re: I cant sent mail to gmail, hotmail etc, i can receive from ok
« Reply #8 on: June 05, 2016, 06:40:16 AM »
Now, I'm not some sort of a class A sys admin, but neither a mega-idiot, so, why the hell does Gmail need a PTR record to my routable IP?

let me ask you first, how the world can reach your server?

Offline
*
Re: I cant sent mail to gmail, hotmail etc, i can receive from ok
« Reply #9 on: June 05, 2016, 10:22:46 AM »
let me ask you first, how the world can reach your server?

Is this a real question? First of all, the ROUTABLE IP function as a gateway to and from internet. So it's not mandatory to have a PTR record assigned to it. The PTR is imperative when it comes to the public IP. In cases of a NAT, yes, I agree, the PTR must be assigned to the external IP, but in public subnets I know for a fact is not mandatory to asign it to the routable IP.

And furthermore, the problem is that the PTR is asigned to both the public and the routable IP's and still Gmail says that the routable IP has no PTR assigned.
PS: thanks for the answer.
« Last Edit: June 05, 2016, 10:27:32 AM by alex_popa_81 »

Offline
*
Re: I cant sent mail to gmail, hotmail etc, i can receive from ok
« Reply #10 on: June 05, 2016, 10:26:44 AM »
Oh, and just as a notice: the routable IP in question had a PTR record assigned to it, but to the ISP's domain, not mine. And it did worked fine for almost 3 years. This problem appeared two weeks ago..... and that's what bothers me, because the ISP didn't changed anything to his config, and neither did I....

Offline
***
Re: I cant sent mail to gmail, hotmail etc, i can receive from ok
« Reply #11 on: June 05, 2016, 11:22:15 AM »
of course real question, just want make sure you own static public IP. Because google, yahoo, hotmail sometime refuse to accept direct email from non static publick IP, they might also refuse ip with ptr record contain ip/part ip address (eq isp-adsl-110.22.***)

Offline
*
Re: I cant sent mail to gmail, hotmail etc, i can receive from ok
« Reply #12 on: June 05, 2016, 04:07:44 PM »
of course real question, just want make sure you own static public IP. Because google, yahoo, hotmail sometime refuse to accept direct email from non static publick IP, they might also refuse ip with ptr record contain ip/part ip address (eq isp-adsl-110.22.***)
Well, I already specified that on my first post.....
So, anyone, ideas?
Oh, to make it more strange. Since 2 hours ago (and honestly, I'm slightly going insane here), Yahoo started to receive e-mails from all my domains.... What is strage with this? Well, I did not change anything in the settings, neither the ISP, Yahoo received e-mails from all my clients (included my domains) until 2 weeks ago in aproximately 1-2 minutes after sending (a normal e-mail with no attachment). 2 weeks ago Yahoo started to receive the e-mails in 3-4 days after sending them. And from aprox 2 hours ago, my e-mails are received in under 1 minute.
What, why, how, who? Those are the words that keep come into my head..... And Gmail still returns the same missing PTR to my routable IP....

Offline
*
Re: I cant sent mail to gmail, hotmail etc, i can receive from ok
« Reply #13 on: June 07, 2016, 05:49:09 PM »
So, nobody knows why is this happening???? No one????

Offline
*
Re: I cant sent mail to gmail, hotmail etc, i can receive from ok
« Reply #14 on: June 09, 2016, 01:56:03 PM »
you should use the following site to test your email
https://www.mail-tester.com/

also this site will check your reputation and rDNS/hostname match

once you have this all fully set then it should be working
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services