this post was submitted on 09 Jan 2024
92 points (96.0% liked)

Selfhosted

39903 readers
463 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 68 points 9 months ago (7 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 10 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.

[–] SeeJayEmm@lemmy.procrastinati.org 4 points 9 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 9 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 9 months ago* (last edited 9 months ago) (3 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 (3 replies)
[–] grepe@lemmy.world 6 points 9 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 9 months ago* (last edited 9 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 3 points 9 months ago (4 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 3 points 9 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 (3 replies)
load more comments (3 replies)
[–] syd@lemy.lol 17 points 9 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 9 months ago (1 children)

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

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

[–] lemmyvore@feddit.nl 5 points 9 months ago* (last edited 9 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 12 points 9 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 4 points 9 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 9 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.

[–] SeeJayEmm@lemmy.procrastinati.org 3 points 9 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 2 points 9 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.

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

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

load more comments (1 replies)
load more comments (1 replies)
[–] douglasg14b@lemmy.world 3 points 9 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)
[–] helenslunch@feddit.nl 11 points 9 months ago

I don't give my personal email address to literally anyone. Everyone gets an alias.

Once someone gets your personal email address and leaks it, there is no way to stop spam. You cannot delete your personal address because it is your account identity.

Firefox Relay, AnonAddy, SimpleLogin, all great services.

I have a business email address that I'm just unfortunately stuck digging through spam.

[–] MeatsOfRage@lemmy.world 9 points 9 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 9 months ago (1 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 9 months ago (3 children)

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

load more comments (3 replies)
[–] Cowabunghole@lemmy.ml 5 points 9 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 7 points 9 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 9 months ago* (last edited 9 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)
[–] hddsx@lemmy.ca 4 points 9 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 4 points 9 months ago

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

[–] Symphonic@lemmy.world 4 points 9 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.

[–] Confound4082@lemmy.ml 4 points 9 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?

[–] kuadhual@lemm.ee 4 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.

[–] bjoern_tantau@swg-empire.de 3 points 9 months ago

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

[–] Moonrise2473@feddit.it 3 points 9 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)
[–] Mubelotix@jlai.lu 2 points 9 months ago* (last edited 9 months ago)

Protonmail is a honeypot. Stay away

[–] BlueBockser@programming.dev 2 points 9 months ago (2 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).

load more comments (2 replies)
[–] 7Sea_Sailor@lemmy.dbzer0.com 3 points 9 months ago (9 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 (9 replies)
[–] Decronym@lemmy.decronym.xyz 3 points 9 months ago* (last edited 9 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]

[–] Paragone@lemmy.world 2 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.

_ /\ _

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

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

[–] Anon383@lemmynsfw.com 2 points 9 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.

[–] hayalci@fstab.sh 2 points 9 months ago (1 children)

I have been using porkbun.com as a domain registrar.

For email hosting, self-hosting is a lot of effort. If you just want the damned thing to work. I've heard good things about Fastmail, and personally I'm using migadu.com. it's $19/year for micro.

Use any imap client, or if you want to keep using what you're using Gmail and Outlook and Apple mail apps w all support your new personal account over imap as well

load more comments (1 replies)
[–] TORFdot0@lemmy.world 2 points 9 months ago

Cloudflare sells domains at cost. If you use apple devices and pay for iCloud+ ($1.99 a month for the cheapest plan), you can get email hosting for your domain for the entire family + a catch all address.

You can run an email host yourself but it is going to cost more in time and effort to maintain than just paying for hosting. It’s not very professional if your messages go to spam due to low reputation or if you miss a message/someone gets a bounce back because the container running your mail server was down and you didn’t realize

Run mail on a custom domain for fun, to learn what it takes, but don’t do it for mail that really matters

load more comments
view more: next ›