I'm so angry and disappointed with Google.

They make it impossible to self-host your own email.

I've been self-hosting email for myself and family since 2013 and since 3 weeks Google is bouncing 95% of my emails.

I've done all I can think of to fix this, no dice. :(

· Mastodon Twitter Crossposter · 5 · 4 · 1

I've set up authentication via DKIM, SPF and DMARC and Google itself says their checks for them pass.

I've verified that my IP isn't on any blacklists and I've set up my emails on Google postmaster tools.

I've contacted twice to report the problem, no feedback whatsoever

Show thread

I'm basically ready to give up and move to a paid email provider so that they can deal with getting emails delivered to

Thanks Google, thanks for working to kill XMPP, RSS and Email.

Thank you, you self-serving, hypocritical, creepy data-guzzling, pretentious fucks.

Show thread Update on my struggle to get my emails delivered to Gmail.

Based on a tip from @ij, I've configured Postfix to use IPv4 when sending to Gmail.

Since then I've successfully sent two emails to Gmail addresses.

Fingers crossed that this fixes it for good.

Show thread

@jcbrand - are you delivering it via IPv6? Usually I‘ve less problems by just delivering via IPv4 to Google.
Another thought of mine would be to just refuse accepting incoming mails because of their broken mail setup of Google.


I don't have IPv6 disabled, so I think it's definitely possible that it's being used. Will double check.

@jcbrand - you don't need to disable IPv6 at all... in my mailserver setup I've added a domain list for ipv4_only and a matching router/transport for it... If you're using Postfix, I'm sure it should be possible to do something similar there...


I've configured postfix to use IPv4 for Gmail.

So far so good, two emails have been sent out successfully.

Hopefully it continues to work.

Thanks for the tip!

@jcbrand yep, this is why I don't run my own mail anymore. I saw this coming in 2012 when I spent my day job explaining to customers/lawyers why they're emails aren't being delivered to their clients from our email infrastructure and that we couldn't fix it because google doesn't even have technical contacts we can reach. Even though we had DKIM, SPF, good reputation, nearly two decades of history at our domain, good quantity of real mails flowing, etc

@jcbrand - you're welcome!

Be aware that there are other domains that are using Gmail servers, so you might need to adapt the list of hosts/domains. Sadly I've found no setting in Exim that tells it to use the MX records a criteria for ipv4 or not. Maybe Postfix has something...

But in the end, Googles mailserver are broken in some regard and it doesn't mean that IPv4 will always work like that. Avoiding/refusing Gmail at all is the only sane way, I think...

@ij yes I already added other domains that use Google.

Unfortunately refusing to communicate with people who use Gmail isn't a realistic option.

@jcbrand did you checked your maild logs to looks for the exact answer it gets when it tries contact google's server ? Usually with the 5xx answer there is also the reason.


Yes I've done that, the error code is 550-5.7.28 which comes up in very few search results.


They somehow classify me as a bulk sender. So you'd naturally think my server has been hacked and is sending spam.

I'm not on any spam blacklists however and I don't see anything fishy in the logs.

@jcbrand it may be some missing header google expect to find, or blank subject/body. cannot think of other reasons, besides from your IP really sending more emails. Lemme know if you solved, I'm curious about it!


Thanks. It's none of those, it's for 95% of the emails I and my family members send, and it's only the last 3 weeks. For 6 years before that I haven't had any problems.

@jcbrand Oh! Pretty sure some new "protection" filters they did put on their side, then. You still can use relay server, aka tell your server to use another server (as example, the one provided by your ISP) to relay mails to certain domains. I did had issues alike yours in the past, and solved that way.


Thanks for the suggestion, I'll consider it, but currently I'm thinking of just going to a paid provider and be done with self-hosting.


maybe has

an idea about your problem

I don't know about that.

@mondstern @jcbrand @jcbrand you mean to forward self-host mails to your gmail account and sending it using own smtp server? That works well here. So you are using Gmail just as interface and having your own mail server. Yet, why to do so? Better using your own frontend too!?

@tobi @mondstern

No, I mean sending emails from my self-hosted server to any other Gmail address.

I don't personally use Gmail, but I have an account for testing.

@jcbrand @mondstern then your self-hosted server could be IP black- or graylisted. Check on that. Otherwise the emails should be received in Gmail accounts. Don't see why not, just tested here, works perfectly. Also make sure to not use such tools like Deltachat sending lots of mails in a short time. That will lead to grey listing sooner or later.

@tobi @mondstern

I have already verified that my IP isn't on any blacklists.

@jcbrand so what’s in the auto return to sender message?

@jcbrand I've never had a problem with Google blocking my self-hosted server. But Office 365 always marks my emails as spam. It's very annoying.

You can use a relay server and just offload all that complexity. Some ISPs provide mail relays for free to customers.

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!