Register for the free account on sendgrid.com and use their port 587.
Any chance you wouldn't mind walking me through how to set up Lemmy to do that? Any guide or reference would be appreciated.
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
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.
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.
Ah, thank you for that clarification. That makes sense now.
Check the logs of your postfix instance
I tried to get that using:
sudo docker compose logs postfix
and it just responds:
no configuration file provided: not found
Any ideas?
Since you're getting logs via docker compose
you should either be in the directory that holds docker-compose.yml
or specify the full path to the file using -f
flag.
Oh shoot, that makes sense. Now I just have to figure out where ansible puts that...
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)
Any chance you wouldn't mind walking me through how to set up Lemmy to do that? Any guide or reference would be appreciated.
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: "postmaster@mailgun.example.com", 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
Are you running the zerobytes monster instance?
I don't know what that is so I'd assume not. I used the Lemmy ansible guide by the numbers, so if that is what the guide uses then yes, otherwise no.
Self Hosted - Self-hosting your services.
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
- No harassment
- crossposts from c/Open Source & c/docker & related may be allowed, depending on context
- Video Promoting is allowed if is within the topic.
- No spamming.
- Stay friendly.
- Follow the lemmy.ml instance rules.
- Tag your post. (Read under)
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!
- Lemmy doesn't have tags yet, so mark it with [Question], [Help], [Project], [Other], [Promoting] or other you may think is appropriate.
Cross-posting
- !everything_git@lemmy.ml is allowed!
- !docker@lemmy.ml is allowed!
- !portainer@lemmy.ml is allowed!
- !fediverse@lemmy.ml is allowed if topic has to do with selfhosting.
- !selfhosted@lemmy.ml is allowed!