this post was submitted on 09 Jan 2024
99 points (96.3% liked)

Selfhosted

40347 readers
329 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 johndoe@gmail.com or john@doe.com. 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 john@mydoe.com jane@mydoe.com 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!!

top 50 comments
sorted by: hot top controversial new old
[–] ChrislyBear@lemmy.world 72 points 10 months ago (8 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).

[–] lily33@lemm.ee 11 points 10 months ago (2 children)

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

[–] SeeJayEmm@lemmy.procrastinati.org 4 points 10 months ago (7 children)

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

load more comments (7 replies)
[–] Fisch@lemmy.ml 4 points 10 months ago

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

[–] SeeJayEmm@lemmy.procrastinati.org 6 points 10 months ago* (last edited 10 months ago) (4 children)

@avguser@lemmy.world

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.

load more comments (4 replies)
[–] grepe@lemmy.world 6 points 10 months ago (1 children)

All good advice. I'd recommended protonmail for mail hosting - got very good experience with them and the onky downside is you have to use their client.

[–] muix@lemmy.sdf.org 4 points 10 months ago* (last edited 10 months ago)

I was using proton for a while, but they are pretty expensive if you want features like catchall and more aliases, on top of restricting clients.

Migadu offers complete email freedom for $20 ($10 for students) a year, unlimited accounts, aliases, identities, etc. I've been very happy with them.

[–] DeltaTangoLima@reddrefuge.com 5 points 10 months ago (6 children)

I’d avoid Google, they don’t have a stable offering

What you you mean by not stable?

I've been (stuck with) Google Workspace for many, many years - I was grandfathered out from the old G-Suite plans. The biggest issue for me is that all my Play store purchases for my Android are tied to my Workspace's identity, and there's no way to unhook that if I move.

I want to move. I have serious trust issues with Google. But I can't stop paying for Workspaces, as it means I'd lose all my Android purchases. It's Hotel fucking California.

But I've always found the email to be stable, reliable, and the spam filtering is top notch (after they acquired and rolled Postini into the service).

[–] notgold@aussie.zone 4 points 10 months ago (1 children)

I tore that bandwidth off a while ago. Same thing with trust issues and google.

Since then I set up a family account and use a regular Gmail account for app store purchases so I can change provider at any time. Can share most of my app purchases with family. I don't actually check the gmail email. Just use it for Android services.

load more comments (1 replies)
load more comments (5 replies)
load more comments (4 replies)
[–] syd@lemy.lol 19 points 10 months ago (1 children)

Yes you need a domain for sure. But you don’t need a server for it, in fact I don’t recommend trying to self-host mail server.

You can use Tuta, Proton Mail, Gmail or iCloud Mail services. You just need to add some DNS records to the domain to redirect mail provider.

[–] SupraMario@lemmy.world 4 points 10 months ago (2 children)

Cloudflare + protonmail is my setup. Works great and if you buy like 2 years it's pretty cheap.

load more comments (2 replies)
[–] bdonvr@thelemmy.club 16 points 10 months ago* (last edited 10 months ago) (4 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.

[–] lemmyvore@feddit.nl 6 points 10 months ago* (last edited 10 months ago)

For anybody interested in more choices for volume-based providers like PurelyMail (with tiers based on storage and emails sent/received but who otherwise allow unlimited domains/mailboxes/aliases) there's also MXRoute (US) and Migadu (Swiss/EU).

These providers don't usually make sense for a single mailbox (although some of them have a low entry tier for this purpose) but can be extremely cost-efficient if you need 2 or more mailboxes/domains.

load more comments (3 replies)
[–] grepe@lemmy.world 13 points 10 months ago (3 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 firstname@lastname.email 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"...

[–] SeeJayEmm@lemmy.procrastinati.org 5 points 10 months ago (1 children)

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...

[–] CosmicTurtle@lemmy.world 5 points 10 months ago (3 children)

More and more services are REQUIRING a gmail/outlook/etc. account simply because bots/scammers bombard their services. It's their cheap captcha.

I'm seeing it more and more and it infuriates me to no end.

[–] lemmyvore@feddit.nl 3 points 10 months ago (1 children)

As if a scammer can't get a Gmail address. 😄 What does that even prove?

load more comments (1 replies)
[–] SeeJayEmm@lemmy.procrastinati.org 3 points 10 months ago (1 children)

I keep seeing people say this but I've yet to encounter it even once. I fully believe it happens with non-com/net/org TLDs but I've been using my .org as my daily driver for 2 decades and have never had it rejected or denied.

[–] CosmicTurtle@lemmy.world 3 points 10 months ago

The last one I encountered was one of the AI tools. I can't remember which one. They are popping up like fucking Starbucks now.

They required using your Gmail, Outlook, or Discord credentials.

load more comments (1 replies)
[–] douglasg14b@lemmy.world 3 points 10 months ago

Yeah, I use firstname@thelastnames.co

And EVERY DAMN PERSON corrects .co to .com

Unfortunately the .com.and .net are both used.

load more comments (1 replies)
[–] MeatsOfRage@lemmy.world 9 points 10 months ago (3 children)

I've done this in the past using Gmail. You pick a domain provider and get their email plan. Most offer both services. I've used name cheap.

Then in your regular Gmail account you can configure the IMAP settings from the domain registrar to receive the email from that inbox. Then in Gmail find the settings where you can send as another address. This lets you use that new address in our outbound mail. From there I just auto label the incoming mail to help sort the two addresses.

Now you should have your regular Gmail and your new novelty email all in one place.

load more comments (3 replies)
[–] lemmyvore@feddit.nl 8 points 10 months ago (2 children)

GoDaddy is notorious for terrible service and NameCheap has started doing some shady stuff too lately. Luckily there are other decent registrars out there. I can recommend Netim.com or INWX.de in the EU – they also provide EU-specific TLDs which American registrars don't.

If you need more than one mailbox you can't beat the offers from providers like PurelyMail/MXRoute/Migadu, where you pay for the storage instead of per-mailbox. I'm using Migadu because, again, they work under EU/Swiss privacy laws.

Here are some more providers if you're interested in taking advantage of EU privacy: https://european-alternatives.eu/category/email-providers

You do not need to spin up your own mail service and should not. Email and DNS hosting are the most abuse-prone and easy to mess up services; always go to an established provider for these.

Are there concerns tying my accounts to a service that might go under or are some "too big to fail"?

Look into their history. Generally speaking a provider that's been around for a decade or more probably won't dissapear overnight; they probably have a sustainable income model and have been around the block.

That being said nothing saves even long-established providers from being acquired. This happened for example to a French service (Gandi) with over 20 years of history.

The only answer to that is to pick providers that don't lock you into proprietary technologies and offer standard services like IMAP, and also to keep your domain+DNS and your email providers separate. This way if the email service starts hiking prices or does anything funny you can copy your email, switch your domain(s), and be with another provider the very next day.

[–] overcast5348@lemmy.world 4 points 10 months ago (2 children)

What did namecheap do? I've got a bunch of domains with them. 🤦‍♂️

[–] scarilog@lemmy.world 2 points 10 months ago

.com domains recently got more expensive. Almost double in price compared to CloudFlare (who sell domains at cost).

[–] lemmyvore@feddit.nl 2 points 10 months ago (1 children)

A general reduction in service quality, increasing domain prices (double check your renewals) and there are reports of domain name sniping (where they grab names that people are looking up).

load more comments (1 replies)
load more comments (1 replies)
[–] Cowabunghole@lemmy.ml 5 points 10 months ago (1 children)

Just throwing in my two cents since I just went through this same ordeal: I use Proton, but be aware that you can only use a custom address if you pay for the premium plan which is not crazy cheap. I've been pretty happy with their premium plan so far, which includes premium features for mail, calendar, cloud drive, VPN, and password manager, but if I ever decide that I don't want to keep paying for it, I can always transfer my custom domain to a different provider without needing to update my email.

As for the domain, I went with namecheap. I also have a pretty common name, so the good domains were taken and I had to settle for firstname@lastname.in but I think it's still pretty easy to remember.

[–] TCB13@lemmy.world 8 points 10 months ago (1 children)

Proton is all fun and games until you find out they don't support IMAP/SMTP without a bridge.

[–] lemmyvore@feddit.nl 6 points 10 months ago* (last edited 10 months ago) (4 children)

And that the bridge is only available on PC – on mobile you must use their proprietary app. And they're working on launching a proprietary desktop app, after which they'll have no reason to offer the IMAP bridge anymore.

load more comments (4 replies)
[–] kuadhual@lemm.ee 5 points 10 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.

[–] hddsx@lemmy.ca 4 points 10 months ago (1 children)

As someone who is once again trying to setup an email server, it’s more work than it’s worth for like 99% of people

[–] ikidd@lemmy.world 5 points 10 months ago

Give me a ping if you need a hand, I've done it for decades.

[–] 7Sea_Sailor@lemmy.dbzer0.com 4 points 10 months ago (10 children)

Lots of people have said worthwhile things. Don't selfhost email for example. While going with an email hoster has been recommended a couple times, which is good and easy, I want to offer an alternative: SimpleLogin (or comparable providers). Essentially a "email alias generator", it forwards received emails to one or more mail addresses (Google, Hotmail, what have you). It also allows you to connect a domain and then create new inboxes on the fly by simply sending (or telling a service to send) an email to that non-existing inbox. Which is incredibly handy if you're faced with a situation that demands an email, where you don't want to give out an actual email.

So say you have the domain doe.com, and you're in a physical shop at the register, faced with the question if you want to get 10% off by registering for their members club. You can simply give the cashier the email "coupon_walmart@doe.com" (which does not yet exist), the email will be sent, received bei SL, the inbox created and the coupon code forwarded to your Gmail account. Afterwards, you can disable or delete the inbox and never have to worry about newsletters or data breaches. Nifty!

Every one of these boxes also has its own "sent from" address visible in your actual mail account. Which means that you can simply respond to incoming emails, and the recipient will see the mail address they sent a message to. This also means that you can set up filters in your mail account to move messages from certain sender addresses into specific labels, as if they were real separate email accounts.

load more comments (10 replies)
[–] Confound4082@lemmy.ml 4 points 10 months ago

I don't know current pricing, but a premium proton account, which was ~$9/month when I started has worked very well for me. I like the other features they are rolling out and use them a lot.

Domain is purchased through cloudflare, and I think it was like $10/year?

[–] Anon383@lemmynsfw.com 4 points 10 months ago

I do this. Personally I use cloudflaire for my domain and dns, not that I'm committed to them it's just what I use. I then use protonmail for my email and point the relivent records to them.

[–] Symphonic@lemmy.world 4 points 10 months ago

There is a security risk of using your first name and last name in your email. It's very easy for malicious people to send you emails specifically addressing you. I have realized it now and I take the extra steps to set up good spam blocking in my email.

[–] Moonrise2473@feddit.it 4 points 10 months ago (2 children)

Purchase the domain with cloudflare, for email it depends how you use it:

With an email client like thunderbird:

A cheap service like mxroute is perfect

If you need to use a webmail:

You need to pay a lot because the free webmails are all unusable for advanced use.

Good options:

  • Zoho at $1 per user per month
  • Exchange with ovh at €3 per user per month

Bad options:

  • Google workspace at $10 per month per user plus the blood rights for your firstborn and pray that they don't alter the deal
  • proton pro at $9 per user per month but IMHO is extremely overrated for what they offer at their price point (unless you need end to end encryption when emailing other proton users)
[–] BlueBockser@programming.dev 3 points 10 months ago (1 children)

+1 for own domain and some email hosting service. That also makes it pretty easy to switch providers because you can simply point your MX records etc. somewhere else - no need to change the actual email address.

I can also recommend mailbox.org as an alternative to mxroute, they're even a little cheaper at $3/month (mxroute is $49/year at minimum).

[–] trewq@lemmy.world 3 points 10 months ago* (last edited 10 months ago) (1 children)

You may want to check lowendtalk. Jar (mxroute owner) run promo over there, at least once a year.

His last black friday link below. https://lowendtalk.com/discussion/190301/mxroute-black-friday-2023-email-hosting-that-spammers-crave-but-cant-have/p1

His black friday page still up too. https://mxroute.blackfriday/

Cheapest is $15/3 years for 10GB.

I’ve been using his service for years with no issue, and my account is grandfathered plan ($10/year for 50GB)

Non affiliate beside being their customers for years.

load more comments (1 replies)
load more comments (1 replies)
[–] bjoern_tantau@swg-empire.de 3 points 10 months ago

As far as I know Gmail and others also offer using your own Domain with them. Maybe that's easier for you.

[–] Decronym@lemmy.decronym.xyz 3 points 10 months ago* (last edited 10 months ago)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
IMAP Internet Message Access Protocol for email
SMTP Simple Mail Transfer Protocol
VPN Virtual Private Network
VPS Virtual Private Server (opposed to shared hosting)

5 acronyms in this thread; the most compressed thread commented on today has 8 acronyms.

[Thread #416 for this sub, first seen 9th Jan 2024, 12:05] [FAQ] [Full list] [Contact] [Source code]

[–] Engywuck@lemm.ee 2 points 10 months ago

Domain+Zoho Mail Lite subscription (less than 1€/month, ATM).

load more comments
view more: next ›