And Half A Fish Games.

And Half A Fish

Random Ramblings Dec 16, 2016 - Spam ?

Last week, I accidentally discovered that Gmail is marking email sent from my domain '' as spam.
Not cool.

Spam !
"Gmail couldn't verify that actually sent this message."

After a bit of googling, I found out I wasn't the only one having this problem. I was just late discovering it.

Apparently, in Febuary 2016, Google introduced a new security feature in Gmail. They called it 'Making email safer for you'. This is some of the info I found on a forum :

"The big problem with e-mail has always been that it's very easy to forge a sender address. Luckily, there are some techniques to prevent this and most e-mail services and companies already use these. They allow receiving e-mail servers to check if the message is likely to really come from this sender by checking if the e-mail server that is used is the right one (SPF) and if the message is preferably digitally signed (DKIM). So you'll see this warning for some senders whose providers or companies haven't yet been implementing these techniques. This prevents Google from verifying wether these messages really came from this particular sender. - Melgior1"

So, I'm guessing this means that my web host doesn't care enough about his customers to fix this security issue for them. Or, at the very least, inform them and let them know what steps to take to fix it.

Anyway, I had no idea how to fix this, so I decided to send a tweet out into the world.

Quite unexpectedly, I received a reply from Gmail.
I can't say the suggestions they sent me were all that helpful, but in the end they steered me in the right direction : the Google Postmaster Tools.

I also mailed my web host quite a bit with questions. They were usually quick to reply, but their answers were vague and pretty much useless.

After some more research on the web, I finally managed to fix the spam warning caused by the new Google security feature.
It was actually quite easy to fix, once you knew what to do :

  • Log in to the Google Postmaster Tools with any Gmail account. This is what you will see : Google Postmaster Tools
  • Click the big red plus-button and enter the name of your domain (eg/ You will need to do this for your subdomains as well.
  • Click 'next' and notice the text written after 'TXT record:' ; you will need this info later.
    Leave this tab open in your browser !
  • Now go to cPanel (or whatever you use to manage your website) and log in. Search for the term 'dns' in the control panel. For me, the tool I needed was called 'Advanced DNS Zone Editor'. cPanel DNS tools.
  • Select your domain. cPanel Advanced DNS Zone Editor.
  • Scroll down a bit to find 'add a record'. cPanel Advanced DNS Zone Editor. 'name' is the name of your domain or subdomain. Notice the dot at the end of the domain name.
    'TTL' stands for 'time to live'. A bit of googling suggested a value of 3600.
    Select the 'TXT' type, and paste the text from the Postmaster Tools here. Paste 'google-site-verification=' plus everything after it (a bunch of letters and numbers).
  • And finally, click 'add record'.
    Hopefully, you will now see some sort of indication that 'all is well'.
  • Go back to the Postmaster Tools tab en click 'verify' at the bottom right.
    Now try sending email from your domain to a Gmail account. It should no longer be marked as spam.