Mailinabox: my mails are going to gmail spam folder

Created on 17 Feb 2020  路  9Comments  路  Source: mail-in-a-box/mailinabox

i have installed mail in a box in aws ec2 instance. i have sent a mail to gmail it is going to spam folder but sent to other mails it is going to inbox.why mails are going to spam folder in gmail only.any one can help me.

Most helpful comment

A lot of reasons.

  • It could be because your IP is blacklisted.
  • Someone who had your IP before had poor reputation
  • Gmail does not have a history of your IP/domain name, thus is classifying it as spam.
  • Because Gmail just wants to. (It's hard to tell exactly why if everything is setup correctly and it still goes to spam)

All 9 comments

A lot of reasons.

  • It could be because your IP is blacklisted.
  • Someone who had your IP before had poor reputation
  • Gmail does not have a history of your IP/domain name, thus is classifying it as spam.
  • Because Gmail just wants to. (It's hard to tell exactly why if everything is setup correctly and it still goes to spam)

IP is not in blacklist and how to solve this problem

Consider changing IP.

Anecdotal comparison but I had a similar problem with Microsoft and no amount of form filling would solve it. (also IP not on any black list and passing all tests)

I changed IP and the fix was instant.

but mails are going to inbox of company mails but problem with gmail yahoo

Are you certain the DNS settings are all correct? In Gmail, you can use the "show original" option of the received email. From there Gmail will show the status of various checks it does with status pass or fail. Use that to debug.

A reputation has to be built for Gmail, Yahoo, etc. In some cases you need to reach out and tell them to add your IP to a whitelist.

IE.
https://answers.microsoft.com/en-us/outlook_com/forum/all/how-to-request-to-whitelist-a-domain-on-microsoft/3b6e2b4c-32e9-4e76-af38-dd0982e526b6

I had cases where the email will arrive OK to a different domain not hosted under any of the above but will go to spam once sent there. Hope this sheds some light.

I had a similar issue the first time I set up MIAB. Apparently my DNS records weren't fully setup. I think adding DKIM, DMARC and SPF entries helped, also I think you should verify your email/domain on google postmaster https://gmail.com/postmaster/. I would also recommend using https://dkimvalidator.com/ to check what needs to be fixed.

When you go through the entire setup https://mailinabox.email/guide.html, those records are created for you automatically. For those that use an external DNS server, all the records need to be setup at that DNS provider in order for DKIM/DMARC/SPF etc to be available to be queried properly.

Was this page helpful?
0 / 5 - 0 ratings