Page 1 of 1
Unable to send email to Gmail and Hotmail
Posted: Mon Nov 16, 2015 3:08 pm
by mamamiaw
Hello
I have a vps with a static ip, hosted at host*s. These couple days i can not send email to gmail and msn.
I have checked to places like spamhaus etc for blacklist and i can confirm i'm free from their list.
The message error for GMAIL is like this:
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
[email protected]
SMTP error from remote mail server after end of data:
host gmail-smtp-in.l.google.com [2607:f8b0:4002:c06::1b]:
550-5.7.1 [2602:ffc5::92d5:2952] Our system has detected that this message does
550-5.7.1 not meet IPv6 sending guidelines regarding PTR records and
550-5.7.1 authentication. Please review
550-5.7.1
https://support.google.com/mail/?p=ipv6 ... tion_error for more
550 5.7.1 information. l139si23451426ywb.93 - gsmtp
While from MSN is like this:
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
[email protected]
SMTP error from remote mail server after MAIL FROM:<
[email protected]> SIZE=6733:
host mx4.hotmail.com [65.55.33.135]: 550 SC-001 (COL004-MC6F20) Unfortunately, messages from 162.245.217.134 weren't sent. Please contact your Internet service provider since part of their network is on our block list. You can also refer your provider to
http://mail.live.com/mail/troubleshooting.aspx#errors.
Anyone know the solution?
Thank you in advance!
Re: Unable to send email to Gmail and Hotmail
Posted: Mon Nov 16, 2015 3:19 pm
by tjebbeke
MSN:
host mx4.hotmail.com [65.55.33.135]: 550 SC-001 (COL004-MC6F20) Unfortunately, messages from 162.245.217.134 weren't sent. Please contact your Internet service provider since part of their network is on our
block list. You can also refer your provider to ...
Your IP is used for sending spam. This is almost impossible to solve at Outlook/Hotmail/MSN.
GMAIL:
550-5.7.1 [2602:ffc5::92d5:2952] Our system has detected that this message does
550-5.7.1 not meet
IPv6 sending guidelines regarding
PTR records and
550-5.7.1 authentication. Please review
550-5.7.1
https://support.google.com/mail/?p=ipv6 ... tion_error for more
550 5.7.1 information. l139si23451426ywb.93 - gsmtp
Check your PTR record of your IPV6 address. And read
https://support.google.com/mail/?p=ipv6 ... tion_error
Re: Unable to send email to Gmail and Hotmail
Posted: Mon Nov 16, 2015 3:27 pm
by mamamiaw
Thank you for the kind reply.
1. How do i find out which account/domain is used for sending spam? Is there any way to scan it? (i checked the sent folder of the accounts and couldn't find any mass email sending activity).
2.To be honest, the google guideline is a bit too complicated for me, any simpler tutorial for doing this?
Thank you! :)
Re: Unable to send email to Gmail and Hotmail
Posted: Mon Nov 16, 2015 4:17 pm
by tjebbeke
mamamiaw wrote:Thank you for the kind reply.
1. How do I find out which account/domain is used for sending spam? Is there any way to scan it? (i checked the sent folder of the accounts and couldn't find any mass email sending activity).
2.To be honest, the google guideline is a bit too complicated for me, any simpler tutorial for doing this?
Thank you! :)
1. When you use the latest vestaCP you can see some statics here:
https://yourserver:8083/list/server/?mail
2. A few days or weeks ago, someone had the same problem here. Disable IPV6 in the Exim config was the solution.
Re: Unable to send email to Gmail and Hotmail
Posted: Mon Nov 16, 2015 4:22 pm
by mamamiaw
Again, thank you for your kind reply.
1. I've checked, i got around 25 frozen from
[email protected]/hostname domain. And here's some other stats:
TOTAL Volume Messages Addresses Hosts Delayed Failed
Received 155KB 30 3 0 0.0% 27 90.0%
Delivered 16KB 4 4 1
Rejects 3 2
Deliveries by transport
-----------------------
Volume Messages
local_delivery 16KB 4
So i don't think that this is a lot, what do you think?
2. How do i disable ipv6 in exim?. To begin with i use exim4 and couldn't even find the config file (sorry if sounded really stupid now).
Thank you in advance! :)
Re: Unable to send email to Gmail and Hotmail
Posted: Mon Nov 16, 2015 4:50 pm
by tjebbeke
Do you use a new VPS or server? Maybe the previous owner of the IP address has blacklisted the IP. Check your domain/IP on
http://mxtoolbox.com/blacklists.aspx
Check Google are maybe this:
https://forums.cpanel.net/threads/disab ... im.363811/
I suspect that your config file is here: /etc/exim4/exim.conf
Re: Unable to send email to Gmail and Hotmail
Posted: Mon Dec 07, 2015 11:03 am
by yel
Here I might help, because I had the same problem until yesterday:
Make sure you have a reverse ip entry (perhaps your Isp has to create one for you). Test with:
--> should return a "Name"
You can also test with mxtoolbox.com (type "smtp:yourdoma.in")
--> I persume you get a warning for "SMTP Reverse DNS Mismatch"
Enter the reverse ip name in
/var/hostname
and also edit/add a line in
/var/hosts
with your IPv4 and (if available) IPv6 entry:
Code: Select all
# nameserver config
# IPv4
127.0.0.1 localhost.localdomain localhost
111.222.333.444 sameas.reverse.ip
#
# IPv6
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
1111:222:333:4444::2 sameas.reverse.ip
If you rerun now the mxtoolbox smtp check it should be green
Hope this helps
Re: Unable to send email to Gmail and Hotmail
Posted: Mon Dec 07, 2015 3:28 pm
by mamamiaw
Hi, thank you very much for your reply.
yel wrote:
Make sure you have a reverse ip entry (perhaps your Isp has to create one for you). Test with:
--> should return a "Name"
Here's my nslookup:
nslookup 162.245.217.1xx
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
134.217.245.1xx.in-addr.arpa name = muaranalitixx.com.
Authoritative answers can be found from:
yel wrote:
You can also test with mxtoolbox.com (type "smtp:yourdoma.in")
--> I persume you get a warning for "SMTP Reverse DNS Mismatch"
And here's my mxtoolbox reply:
Loop detected! We were referred back to '162.245.217.1xx'
DNS Transcript - 1 b.gtld-servers.net 192.33.14.30 NON-AUTH 31 ms Received 2 Referrals , rcode=NO_ERROR muaranalitika.com. 172800 IN NS ns1.muaranalitixx.com,muaranalitixx.com. 172800 IN NS ns2.muaranalitixx.com,
2 ns1.muaranalitika.com 162.245.217.134 NON-AUTH 31 ms Timeout after 3 sec, rcode=NO_ERROR
2 ns2.muaranalitika.com 162.245.217.134 NON-AUTH 31 ms Loop Prevented, rcode=NO_ERROR
Should i proceed with the next step (and also edit/add a line in /var/hosts onwards?)
(please excuse the xx for hiding things)
Thank you in advance
Re: Unable to send email to Gmail and Hotmail
Posted: Tue Dec 08, 2015 9:51 pm
by yel
Hi
First adjust the hostname and hosts
/var/hostname
/var/hosts
Code: Select all
# nameserver config
# IPv4
127.0.0.1 localhost.localdomain localhost
162.245.217.134 muaranalitixx.com
if you have a v6-section change the name after the 20digit address to your domain
mamamiaw wrote:
Here's my nslookup:
nslookup 162.245.217.1xx
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
134.217.245.1xx.in-addr.arpa name = muaranalitixx.com.
Looks OK.
mamamiaw wrote:
And here's my mxtoolbox reply:
Loop detected! We were referred back to '162.245.217.1xx'
DNS Transcript - 1 b.gtld-servers.net 192.33.14.30 NON-AUTH 31 ms Received 2 Referrals , rcode=NO_ERROR muaranalitika.com. 172800 IN NS ns1.muaranalitixx.com,muaranalitixx.com. 172800 IN NS ns2.muaranalitixx.com,
2 ns1.muaranalitika.com 162.245.217.134 NON-AUTH 31 ms Timeout after 3 sec, rcode=NO_ERROR
2 ns2.muaranalitika.com 162.245.217.134 NON-AUTH 31 ms Loop Prevented, rcode=NO_ERROR
Should i proceed with the next step (and also edit/add a line in /var/hosts onwards?)
As I see your webserver is also your nameserver:
Code: Select all
dns:muaranalitika.com
Type Domain Name IP Address TTL Status Time (ms) Auth Parent Local
NS ns1.localhost.ltd 127.0.53.53 4 hrs
NS ns2.localhost.ltd 127.0.53.53 4 hrs
NS ns2.muaranalitika.com 162.245.217.134
NS ns1.muaranalitika.com 162.245.217.134
In VestaCP under DNS and 'muaranalitika.com'
remove the NS entries 'ns1.localhost.ltd' 'ns2.localhost.ltd'
make sure you have at least the following entries:
Code: Select all
@ NS ns1.muaranalitika.com
@ NS ns2.muaranalitika.com
@ MX 10 muaranalitika.com.
@ A 162.245.217.134
* A 162.245.217.134
That should be it.