Email woes
For nearly 30 years I’ve been using nelson@monkey.org as my email address. The hosting details have changed over time but for nearly twenty years I’ve been forwarding everything into Gmail. Over the years this has gotten worse and worse as email has deteriorated as a medium.
monkey.org uses OpenSRS’ HostedEmail for both sending and receiving email. It seems fine if barebones.
Sending email
The big problem I solved today was that Gmail was sending email itself and just forging the monkey.org address. This used to work seamlessly but over the years a variety of not-very-effective spam fighting technologies have made this harder and harder. The big problem is Gmail cannot sign emails for DKIM as monkey.org and DKIM is increasingly becoming required to have your mail delivered.
Today I got to learn all about SPF and DKIM and DMARC. The autoresponder at check-auth@verifier.port25.com is very helpful for diagnosing problems, there’s also a lot of web based email verifier tools online.
About a month ago Yahoo (and sbcglobal, and pacbell..) stopped accepting email from me. Often mail would just disappear but I did get one helpful bounce.
550 5.7.9 This mail has been blocked because the sender is unauthenticated. Yahoo requires all senders to authenticate with either SPF or DKIM. Authentication results: DKIM = FAILURE - SPF monkey.org with ip 209.85.167.173 = FAILURE. See https://senders.yahooinc.com/smtp-error-codes/#authentication-failures for more information.
This report is bogus: that IP address (from Google) is valid in monkey.org’s SPF records. At least it is right now. But there is no DKIM signature in my email and that’s maybe really why Yahoo bounced it. (monkey.org has a DMARC policy of p=none, which should mean sites accept email without DKIM).
The solution for all this is to configure Gmail to use monkey.org’s SMTP server to send mail so that server can DKIM sign the mail. I hate adding this extra server in the path but there’s really no way around it. It seems to work fine once I figured out the configuration.
Ugh: now a new problem, I can’t send a Google Photos URL to a hotmail friend of mine, it gets bounced as spam, I think by hotmail. This never happened before when Gmail was directly delivering the mail but now that hostedemail is involved, I get marked as spam.
Receiving mail
I’m also having trouble receiving mail.
In my old setup, monkey.org forwarded my email directly to gmail as soon as it was received, I think inside the mailer daemon itself. This forwarded started failing occasionally, silently bouncing mail back without a clear explanation. Not consistently: simple text email from the same sender would mostly get through then one out of ten would bounce. Lots of spam gets through no problem.
We changed it so monkey.org now delivers mail into the OpenSRS HostedEmail webapp. I then configured the app to forward mail to gmail. This mostly works fine, although it is yet more steps to process each message. But some messages still don’t get to gmail. Now instead of bouncing they get left in my Inbox at HostedEmail. It seems about the same pattern as the ones that bounced. My guess is Gmail doesn’t like these messages for some reason and is refusing to accept the forward. At least I can find them in this other inbox.
I may yet configure Gmail to also fetch mail out of HostedEmail via POP3. That may be a way to retrieve the messages when the forwarding fails.
Change my email address?
Part of what’s made this complicated is I don’t control monkey.org. The other folks who use monkey mostly do not use Gmail. No complaint, they have been very generous and reliable, but I’m basically relying on the help of old friends. So once again I consider whether I should change my email address, probably to the domain I use for my blog. I can set that up to be hosted by Gmail pretty easily for $7/month. I think all the configuration is pretty simple, a few DNS records to set up just once.
We are a long long way from the days when you could send email just by telnetting to port 25 and typing. And yet somehow we still don’t have end-to-end encrypted email. Probably never will.
Update: giving up
Sending mail via hostedemail is causing enough new problems that I’m giving up. I’m setting up my blog’s domain for email 100% in Google Apps. Email used to be an open medium. It has now been wrecked by spammers and captured by a few companies.
Comments
Ugh. I feel your pain so hard, I had to deal with all this for ryanb.org, along with extra nonsense for my original .name address since it can't do DKIM etc.
I used that .name address as my primary email address for something like 20 years, but I eventually had to give it up because the big providers stopped accepting its unsigned mail. I switched to @ryanb.org, set up its DKIM and SPF, and plugged its SMTP server into GMail, just like you.
I never bothered announcing the address change. I just switched to sending outbound mail from @ryanb.org, and I now give that out as my email address, but I still receive mail at the .name address. 🤷
Thanks for the commiseration. I didn’t know .name had a weird DNS structure that means you can’t set those records. Are you using Google Workspace (aka GSuite / Google Apps for your Domain / …) to manage the email for @ryanb.org? Any problems?
I hate that email has apparently been captured by big companies. It used to be an open system.
Nah, ryanb.org isn't on Workspace, I'm using normal consumer GMail, with the ryanb.org addresses set up as extra "send mail as" accounts using the external SMTP server.
Can't claim any foresight for that, maybe just laziness, since I didn't actually have to set up DKIM/SPF and the external SMTP server until just a couple years ago.
I'm confused. Are you DKIM signing ryanb.org email? If so, how? If not, does it cause problems? Can you email people at Yahoo? Are you sending email with Gmail?