Are you doing this as an exercise or are you doing this because you just want your own instance?
If the latter, why not use a managed hosting provider so that you don't have to worry about any of that?
Support / questions about Lemmy.
Are you doing this as an exercise or are you doing this because you just want your own instance?
If the latter, why not use a managed hosting provider so that you don't have to worry about any of that?
Historically I make my own things because I like knowing how stuff works (or at least kinda knowing how it works). I'm a programmer but generally I'm on the like C++/C# game programming side of things and learning server stuff is very difficult for me. Always out to learn more though
Here are my configs to use for a docker setup if it helps https://git.minnix.dev/minnix/lemmy_configs
Just use an external SMTP provider. You will have a bad time with sending emails otherwise.
Do you mean something like Brevo? And if so is there a good guide for how to link that kind of thing up with Lemmy?
Any email provider will do. I think you can even enable it for gmail accounts. You can just put in the connection details in the lemmy.hjson.
If you’re standing something up for yourself, and it doesn’t have to be anything fancy, any email provider that provides SMTP *will work.
This even includes gmail: https://support.google.com/mail/answer/7126229?hl=en
But, another thing to remember is that many hosting providers block the default ports by default. Many will open the port with a customer service ticket but others will only do it at a certain “tier” of service.
You mentioned a droplet so I googled digital ocean and smtp, and this thread popped up: https://www.digitalocean.com/community/questions/sending-email-with-do-app-is-it-possible
I, personally, use linode as my provider and I had to open a ticket with support in order to unblock the right ports to send email.
As an aside:
Standing up an email server itself is a good exercise because it’s an absolute PITA. Mainly due to trust and ensuring all your DNS records are right and stuff.
Overall, it’s a nifty exercise to understand but I, personally, don’t really feel like it’s worth the pain.
Edit: forgot to finish a sentence
Why are you trying to set up an instance? What's your use-case?
They want to start an instance for star wars fans because they like captain picard. :)