this post was submitted on 19 Sep 2023
8 points (100.0% liked)

Self Hosted - Self-hosting your services.

11576 readers
2 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

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

I used the ansible method to install Lemmy on a DigitalOcean VPS. They do block port 25 and there is no way around that. I tried to change the port from 25 to 465 in the config.hjson file but still no luck. I am super new to this but I want to get this working so bad. I'm so close! The site is working fine, just no emails. I've checked spam, trash, etc. - nothing is getting sent.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 year ago* (last edited 1 year ago) (1 children)

Use mailgun free account or something similar. If you don’t your emails will land in spam even if you do get it working on a vps (which many including DigitaOceam dont allow emails due to spam)

[–] ZMonster 1 points 1 year ago (1 children)

Any chance you wouldn't mind walking me through how to set up Lemmy to do that? Any guide or reference would be appreciated.

[–] [email protected] 1 points 1 year ago* (last edited 1 year ago)

I don't remember exactly since it was long ago but i believe its: make a mailgun account (make sure you disable the free trial so it doesnt automatically sign you up for the paid service) generate a new mailbox and save the info it gives you and in your config.hjson add your smtp server "smtp.mailgun.org:465", smtp login: "[email protected]", smtp password: "randomcharacters", a from_address like: "Lemmy noreply ", and set the tls type to "tls"

If thats all the steps let me know so I can make a request to have it added to the wiki of https://lemmyadmin.site