Sending Emails From VPS To Hotmail And Gmail Email Accounts
Sep 17, 2007
I have problems sending emails from my VPS to Hotmail and Gmail email accounts. This is a new VPS with some new websites so they are not blacklisted for spam or anything like that.
After users register at my website they receive a welcome email, but with Hotmail/Gmail accounts they end up by default in the spam/junkfolder.
I also have a refer-a-friend and a forgot password form -> with gmail users they both end up in the spamfolder, with hotmail users they both do not show up at all!
I read somewhere that editing the DNS zone could solve this problem with adding a SPF record (see also [url]).
I have added the most common SPF record "v=spf1 a ~all" as TXT record type but after a few days nothing has changed.
so all email send from the VPS to Hotmail/Gmail email accounts will directly be send into the inbox.
All my Mxtools are ok... No problem with it ... Not in blacklist ...
Spoiler: Spam List Test Result SMTP Banner Check OK - 151.80.148.113 resolves to ns1.elattal.com SMTP Reverse DNS Mismatch OK - Reverse DNS matches SMTP Banner SMTP TLS OK - Supports TLS. SMTP Connection Time 0.967 seconds - Good on Connection time SMTP Open Relay OK - Not an open relay.
I have a dedicated server in which i host 4 web sites using plesk one of them is mysite.com. That one is also set for ns1.mysite.com ns2.mysite.com.
(all domain names below are just example names)
Dns records for my apple.com orange.com and banana.com uses ns1.mysite.com and ns2.mysite.com my name server is also in the same machine.
In mysite2.com dns settings are as follows.
Code: 80.111.11.11 / 24PTRorange.com orange.com.NSns1.mysite.com. orange.com.NSns2.mysite.com. orange.com.A80.111.11.11 orange.com.MX (10)mail.mysite.com. orange.com.TXTv=spf1 a mx include:gmail.com,yahoo.com,hotmail.com ~all ftp.orange.com.CNAMEorange.com. mail.orange.com.A80.111.11.11 webmail.orange.com.A80.111.11.11 www.orange.com.CNAMEorange.com. 80.111.11.11 is dedicated ip for orange.com.
The PROBLEM:
The thing is whenever the server sends email it is flagged spam by yahoo, hotmail etc. I have created SPF for my orange.com but it is still marked as spam...
I have checked dns report for both mysite.com and orange.com but they seem to be OK with no warnings either.
I want to create a spf record or make somthing so the emails does not marked as spam.
I have a problem with email accounts for a user which recieve email messages all wright but he can't send any email. All emails he send (even for himself) arn't delievered. He doesn't recieve any error messeges in return.
I thought to check exim_mainlog and exim_rejectlog but I don't know what exaxtly should I look for. and what needed to be reconfigured.
I Have a server and i have access to the root etc... so i notice a few days ago that my server dose not send any email to hotmail etc.. so i have posted a thread and i get answer
Quote:
set reverse DNS for your IP address and if possible an SPF record for your domain.
i have no idea where to set my dns this is what i do not undestand..
so i ask how And the answer was
Quote:
Contact your provider and ask him to set a reverse DNS entry for your IPs. Only he can do it, you can't do it yourself.
And the answer was to contact the Server Provider
Quote:
No. reverse dns is done as a provider level. It has to be done within there servers that handles the requests for RDNS. Sometimes depending on your provider, they allow this in the billing center. Other times you flat out need to make a request.
And Here is anther answer telling me i still need to contact the provider..
So i did i submit a ticket and wait 5-6 day for them to respond to my ticket and this is what my Server provider have reply to me...
Quote:
A: Hi, Creating DNS record for our client is beyond the scope of our support. You can edit your dns entry for a domain to add the txt dns record and insert in the text field the spf header as describe in your link. This is a good link to use to learn how to create SPF record. You should have a reverse dns lookup for your mail server. This mean that your IP will return the domain of your mail server. This is important to not being tag a spam by many anti-spam solution. Thank you,
so know i have no idea what to do .. all iam asking sinise iam root and i have full server access where do i need to make change to get the send email work?
I have different adresses configured with several domains on the same server. All the emails send to gmail/hotmail adresses are marked spam.
Looking in the headers everything seems fine, including SPF:
Delivered-To: xxx@gmail.com Received: by 10.202.174.138 with SMTP id x132csp563903oie; Wed, 20 May 2015 04:53:19 -0700 (PDT) X-Received: by 10.180.109.136 with SMTP id hs8mr40446245wib.73.1432122799197; Wed, 20 May 2015 04:53:19 -0700 (PDT) Return-Path: <x@x.nl> Received: from x.net (x.net. [xx])
everything is ok , i contacted Hotmail to be part of SenderId program ,and told me 2 days and sending will be ok , i waited for 10 days , till now every new member can't recive ctivation email , what shall i do ??????
My server not open relays ... Not in blacklist ....
i have problem in my server from 2 weeks ago server stop sending mail to yahoo and hotmail but to gmail send good without any problem i make SPF and add it for all domains after that mail worked Good in 1 day after that the problem come again
I'm testing out sending news subscription letters to yahoo and hotmail accounts, they ended up in their Junk and Spam folder.
When I check the Full Message Headers in Yahoo. I saw that the" Return-Path: <nobody@host.mydomain.com>" and "Received: from nobody by host.mydomain.com with local"
Is it could be the "nobody" that mails are end up in Spam and Junk?
Gmail is sending duplicated emails to our server. The time stamps would differ about 10-20 minutes for each same email and usually would duplicate up to 10 copies.
Hotmail not receiving any emails from my server nevertheless log files is ok no problem and messages sent every thing is ok recently i contacted with my server's provider to make a ptr record at dns to fix hotmail problem and i shoked when i notice that they put a wronge ip
My Q: is that ptr record is important and it could be the reason for making hotmail rejecting my emails
I tried to send an email to Hotmail.com and I get error messages. However, I can send an email to another email address that forwards to hotmail and it arrives correctly.
When sending via SquirrelMail I get:
This message was created automatically by mail delivery software.
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:
%%%%%%%@%%%%%.com SMTP error from remote mail server after MAIL FROM:<%%%%%%%@%%%%%.com> SIZE=1813: host mx3.hotmail.com [65.54.244.200]: 550 SC-001 Mail rejected by Windows Live Hotmail for policy reasons. Reasons for rejection may be related to content with spam-like characteristics or IP/domain reputation problems. If you are not an email/network admin please contact your E-mail/Internet Service Provider for help. Email/network admins, please visit [url]for email delivery information and support
I have correct TXT dns entries. Doesn't matter what email I sent to hotmail, they all get rejected. They don't even appear in the junk box
I have 2 cPanel servers with normal decent setups, and until today, HOTMAIL/LIVE is not accepting my e-mails.
There is no problem with GMAIL & YAHOO, btw.
When I mentioned not accepting my e-mails means it will always appear inside the Junk box instead of Inbox (for every domains in both servers)
I've tried to contact Microsoft support many times but they keep repeating the same thing. I've tried everything including make sure that my IP reputation is clean, and having domain keys.
I need some advise from you guys out there that has this issue before and start from sketch, what do I need to do to identify what Microsoft servers actually want from me?
Here's their 'robotic' respond.
1) Make sure that you have SPF/SIDF records in place. You can go to [url] for more information on this.
2) Clean up your lists. Remove those who do not want to receive the emails. Make the unsubscribe process more visible. Hotmail also has a sender complaint feedback loop program called the Junk Email Reporting Program (JMRP). Enrollment in this free program will benefit you as a sender as it will keep your email lists updated and populated with interested Windows Live Hotmail Customers. This program will help you to remove those Windows Live Hotmail Customers who do not want to receive emails from your company. If you are interested in joining this program, please visit [url _options_form_byemail&ct=eformts
3) Ensure that there is not anything technically wrong with your MTA. Are your DNS records updated, are you transmitting data upon making the SMTP connection, and is the problem isolated to any specific machines? Do your SMTP logs show any failures?
4) Segment your mailing infrastructure by IP. Marketing email, transactional corporate email, "forward to a friend" email and signup emails should be sent from different IP's. This will help to identify what types of messages are being flagged by Hotmail customers.
5) Strengthen the sign up process. Confirm that you are using a double-opt-in sign up process. This will not help in removing existing Hotmail customers from your email lists, but it will confirm the authenticity of those who sign-up for your email campaigns and newsletters.
6) If you have any feedback loops setup with other ISPs, you should look for trends to try to determine possible causes - a new data source? New advertisement? Maybe folks signing up do not recognize the mail?
7) Clearly mark your emails so that Hotmail customers are able to identify quickly and easily that they requested emails from your service.
8) Do some analysis on the data regarding complaints - look at Hotmail customers who have never clicked, opened, responded or bounced in any way. These poor performers could contain many bad addresses.
9) Evaluate the frequency of your mailings. Are you making your mailings less relevant and welcome by sending too many emails?
10) Enroll in the Sender Score program. This is the only white list that Hotmail uses. It is owned and operated by Return Path. You can find information about this program at [url
11) Please visit [url] to verify that your IP is not being listed on any third party block lists.
12) We also recommend that you take advantage of the following email delivery consulting companies who participate in the Messaging Anti-Abuse Working Group [url] ), and the Authentication and Online Trust Alliance [url]
I have one of our servers that is bouncing all sent emails to hotmail, MSN and some others. The emails often come back saying they are bounced as SPAM.
There were SPAM issues on this particular server at one point, but have since been corrected one we tightened it up.
Now, how can I fix this? Can I change the servers hostname? Are they rejecting by hostname, or by IP?
And do I need to just contact each provider and try to get off their blacklist?
I run a dating site, but for some reason hotmail is rejecting certain emails.
When a user receives a message on my site, they get a notification by email to come check their message on the site. This part works, even with hotmail.
However, when a NEW user registers on the site with hotmail, they aren't getting the confirmation email they would normally get, and as a result they can't join the site. Other email providers get this confirmation email, but not hotmail.
I setup an email account into my Plesk 12 to automatic forwarding all emails to an gmail address. But Gmail put all mails received into the Spam folder.
I revised the mail Header and its a SPF softfail causes because my server is not rewritting the sender envelope.
I have tried to send emails to gmail from horde and form php but the are mark as spam even if the gmail headers are ok:
Delivered-To: my_gmail_account@gmail.com Received: by 10.112.205.233 with SMTP id lj9csp202933lbc; Wed, 7 Aug 2013 05:58:22 -0700 (PDT) X-Received: by 10.15.31.9 with SMTP id x9mr2966600eeu.103.1375880301851; Wed, 07 Aug 2013 05:58:21 -0700 (PDT) Return-Path: <info@my_domain.com>