this post was submitted on 09 Jan 2024
3 points (100.0% liked)

Selfhosted

39856 readers
453 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I have a unique name, think John Doe, and I'm hoping to create a unique and "professional" looking email account like [email protected] or [email protected]. Since my name is common, all reasonable permutations are taken. I was considering purchasing a domain with something unique, then making personal family email accounts for [email protected] [email protected] etc.

Consider that I'm starting from scratch (I am). Is there a preferred domain registrar, are GoDaddy or NameCheap good enough? Are there prebuilt services I can just point my domain to or do I need to spin up a VPS and install my own services? Are there concerns tying my accounts to a service that might go under or are some "too big to fail"?

I can expand what hangs off the domain later, but for now I just need a way to make my own email addresses and use them with the relative ease of Gmail or others. Thanks in advance!!

all 20 comments
sorted by: hot top controversial new old
[–] [email protected] -1 points 9 months ago

EasyDNS.ca or if they also do EasyDNS.com


GoDaddy was a bunch of sleazebags, back in the day...

Go search http://slashdot.org/ for them, and see...

not only hosting lots of sleazebags, but also having tons of compromised mail machines, so their machines were, according to what I'd read there, the source of much of the world's spam, and they wouldn't fix things.


EasyDNS was recommended by one of the SysAdmin reporters on The Register, a few years ago.

He also recommended Linode & Vultr, back then, too.


This stuff in this comment is just my opinion, and my memory of what trustworthy people were reporting a few years ago.

_ /\ _

[–] [email protected] 1 points 9 months ago (1 children)

I tried both hosting my own mail server and using a paid mail hosting with my own domain and I advise against the former.

The reason not to roll out your own mail server is that your email might go to spam at many many common mail services. Servers and domains that don't usually send out big amount of email are considered suspicious by spam filters and the process of letting other mail servers know that they are there by sending out emails is called warming them up. It's hard and it takes time... Also, why would you think you can do hosting better than a professional that is paid for that? Let someone else handle that.

With your own domain you are also not bound to one provider - you can change both domain registrar and your email hosting later without changing your email address.

Also, avoid using something too unusual. I went with [email protected] cause I thought it couldn't be simpler than that. Bad idea... and I can't count how many times people send mail to a wrong address because such tld is unfamiliar. I get told by web forms regularly that my email is not a valid address and even people that got my email written on a piece of paper have replaced the .email with .gmail.com cause "that couldn't be right"...

[–] [email protected] 1 points 9 months ago

I get told by web forms regularly that my email is not a valid address and even people that got my email written on a piece of paper have replaced the .email with .gmail.com cause “that couldn’t be right”…

That's the thing that holds me back from a non-standard TLD, as much as I'd love to get a vanity domain.

I've got a .org I've had for over 20 years now. My primary email address has been on that domain for almost as long. While I don't have problems with web-based forms, telling people my email address is a chore at best since it's not gmail, outlook, yahoo, etc...

[–] [email protected] 0 points 9 months ago* (last edited 9 months ago) (1 children)

Use Cloudflare or PorkBun.com for cheap, no bullshit domains. As for the email host, self hosting not recommended. It's a long battle to be not blocked by every other provider.

I recommend purelymail.com - no cost to add (even multiple!) custom domains, unlimited users, only pay for mail usage and storage. Go for advanced pricing until it starts costing you more than $10/yr. (Which it shouldn't if it's just you. Seriously this thing is cheap!) I just passed my one year anniversary with PurelyMail, and have spent $6 so far. This is my most expensive month, 85¢. And that's only because I host a public Lemmy instance (small) and we had a few hundred spam signups which sends an email each time.

This will give you a total yearly price WAY under what Google or Microsoft will give you. Google is like, $7.20/user/month.

And if for some reason that service goes down one day, as long as you still have a mail client with your email stored in it you should be able to just switch providers and import your emails from your client. Make some backups.

[–] [email protected] 0 points 9 months ago (1 children)

I was very tempted to go for this one, but couldn't find info on whether this was a one-man operation or if there are any disaster recovery plans. Sounds cruel, but if that one single guy my email depends on gets hit by a bus...

[–] [email protected] 1 points 9 months ago (1 children)

It is. But as said, for personal email what's the huge risk? You find a new provider, transfer your DNS records, and upload your old emails.

Make some backups of your emails, you should be anyway.

But they have a specific FAQ for this: https://purelymail.com/docs/companyPolicy#bus

[–] [email protected] 1 points 9 months ago

Makes sense. I'm happy with my current provider but purelymail is a strong candidate for if I'm out of options.

[–] [email protected] 2 points 9 months ago (2 children)

Do NOT self-host email! In the long run, you'll forget a security patch, someone breaches your server, blasts out spam and you'll end up on every blacklist imaginable with your domain and server.

Buy a domain, DON'T use GoDaddy, they are bastards. I'd suggest OVH for European domains or Cloudflare for international ones.

After you have your domain, register with "Microsoft 365" or "Google Workspace" (I'd avoid Google, they don't have a stable offering) or any other E-Mail-Provider that allows custom domains.

Follow their instructions on how to connect your domain to their service (a few MX and TXT records usually suffice) and you're done.

After that, you can spin up a VPS and try out new stuff and connect it also to your domain (A and CNAMR records).

[–] [email protected] 0 points 9 months ago* (last edited 9 months ago) (1 children)

@[email protected]

I'll second not self hosting email unless you're in it for the experience.

I'd also strongly caution against hosting email for friends and family unless you want to own that relationship for the rest of your life.

If you do it anyway, you're going to end up locked into whatever solution you decide for a long time, because now you have users who rely on that solution.

If you still go forward, don't use Google (or msft). Use a dedicated email service. Having your personal domain tied to those services just further complicates the lock in.

(I did this over a decade ago, with Google, when it was just free vanity domain hosting. I've been trying for years to get my users migrated to Gmail accounts.)

If I had it all to do over again. I'd probably setup accounts as vanity forwards to a "real" account for people who wanted them. That's easy to maintain, move around, and you're not dealing with migrating peoples oauth to everything when you want to move or stop paying for it.

[–] [email protected] 0 points 9 months ago (1 children)

I have a bunch of users (friends and family) on a bunch of different domains. It's honestly not so bad but yeah, you need a decent dedicated service.

Migrations aren't simple but aren't that complicated either (just did one last year).

I mainly need to copy their email over but it's also a good moment to check they're using decent passwords and to have them freshen it.

I also need to update their webmail and IMAP/SMTP URLs in their bookmark/email apps but I've been playing with DNS CNAMEs for this purpose and it's mostly working ok (aliasing one of my domains to the provider's so I only have to update the DNS which I do anyway for a mail migration).

[–] [email protected] 0 points 9 months ago (1 children)

My mistake was using Google but when it was just the ability to have a personal domain as your google account. But they kept expanding and morphing that into what is now Google Workspace. Migrating people off of that requires them to abandon their Google accounts and start over. If it was just email it would be a much simpler prospect to change backends.

[–] [email protected] 0 points 9 months ago (1 children)

Can you not transfer away a domain from Google as you would from any other registrar? And then set the MX records to point at another mail service?

[–] [email protected] 1 points 9 months ago

Certainly. But, what I'm trying to say is it's not just email. My users are using my domain as their Google account. All Google services, oAuth, etc..., not just email. To do it right I need to get them to migrate their google services to a gmail.com account.

[–] [email protected] 1 points 9 months ago (2 children)

That said, you can use a third party service only for sending, but receive mail on your self-hosted server.

[–] [email protected] 0 points 9 months ago (1 children)

I've been successfully using SES for a couple years now without issue.

[–] [email protected] 0 points 9 months ago (1 children)

Do you have more details on your setup?

I currently selfhost mailcow on a small VPS but I would like to move the receiving part to my homelab and only use a small VPS or service like SES for sending.

[–] [email protected] 1 points 9 months ago

I set this up a couple years ago but I seem to remember AWS walking me through the initial setup.

First you'll need to configure your domain(s) in SES. It requires you to set some DNS records to verify ownership. You'll also need to configure your SPF record(s) to allow email to be sent through SES. They provide you with all of this information.

Next, you'll need to configure SES credentials or it won't accept mail from your servers. From a security standpoint, if you have multiple SMTP servers I would give each a unique set of credentials but you can get away with one for simplicity.

Finally you'll need to configure your MTA to relay through SES. If you use postfix here's a quick guide: https://medium.com/@cloudinit/sending-emails-with-postfix-and-amazon-ses-2341489a97e2

I've got postfix configured on each of my VPS servers, plus and internal relay, to relay all mail through SES. To the best of my knowledge it's worked fine. I haven't had issues with mail getting dropped or flagged as SPAM.

There is a cost, but with my email volumes (which are admittedly low) it costs me 2-3 cents a month.

[–] [email protected] 1 points 9 months ago

That's what I'm doing. I have selfhosted E-Mail with YunoHost and send it through SMTP2Go.

[–] [email protected] 1 points 9 months ago

I'm an admin of a self hosted iRedMail (with iRedAdmin Pro).

My advice is: Don't.

Getting an email server running is easy. Managing them is not.

There are some good advice here. Use commercial service with personal domain.