8
submitted 1 year ago by ZMonster@lemmy.world to c/selfhost@lemmy.ml

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
[-] bender@insaneutopia.com 2 points 1 year ago

Register for the free account on sendgrid.com and use their port 587.

[-] ZMonster@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

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

[-] bender@insaneutopia.com 1 points 1 year ago* (last edited 1 year ago)

There is a script called lemmy easy deploy.

https://github.com/ubergeek77/Lemmy-Easy-Deploy/tree/main

You would setup the free plan for sendgrid.com

Their server setting are an ID, password, servernane and port you would put in the config file.

https://github.com/ubergeek77/Lemmy-Easy-Deploy/blob/main/config.env.example

[-] ZMonster@lemmy.world 1 points 1 year ago

The dev for lemmy-easy-deploy has already said that they do not support SMTP now and will not going forward... So I didn't spend any more time with that.

[-] bender@insaneutopia.com 2 points 1 year ago

I think what they meant by that statement is its not configured to setup postfix as an email server. When you edit the config file (prior to runnig the docker command to build it) youre setting lemmy up to use an external email service.

[-] ZMonster@lemmy.world 1 points 1 year ago

Ah, thank you for that clarification. That makes sense now.

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

Self Hosted - Self-hosting your services.

11587 readers
29 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