I spent the last few hours trying to get mail working on my instance. Eventually I set up postfix on my linux host and had the lemmy docker container use that. Happy to say it is working.
slashzero
Does the gmail SMTP server have a limit on how many emails can be sent per day?
You need to put the container name inside the docker network as the host.
I was not sure what you meant by this. The closest possibly was this?
lemmy-ui:
image: dessalines/lemmy-ui:0.17.4-rc.4
networks:
- lemmyinternal
environment:
# this needs to match the hostname defined in the lemmy service
- LEMMY_UI_LEMMY_INTERNAL_HOST=lemmy:8536
# set the outside hostname here
- LEMMY_UI_LEMMY_EXTERNAL_HOST=localhost:1236
- LEMMY_HTTPS=true
depends_on:
- lemmy
restart: always
I changed localhost:1236
to my FQDM:1236
and it did not seem to have any impact either way. Maybe it did? I honestly don't know. But, I thank you for the help anyway!
I’m trying Brevo right now which has a free SMTP relay allowing 300 emails every 24 hours. The Brevo admin console shows green, relay setup and verified (adding some TXT DNS entries on my domain registrar).
As far as I can tell, everything is setup, and lemmy.hjson has the email block with the correct smtp-relay address, port, user and password.
I bring lemmy down and back up to pick up the new settings, but when I go add an email address to my user profile and click save, I get an error:
email_send_failed: Connection error: time out 0: lemmy_api::local_user::save_settings::perform
I tried updating to the latest lemmy release candidates for both BE and UI, too. No difference.
GoDaddy, nothing free, but they have office 365 for $1.99 (USD) a month.
I’ll check out Gandi, but assume you can only use their relay if you registered the domain through them?
Valid point on self hosted SMTP, but I’m just experimenting and didn’t want to waste any money on an SMTP / relay service. But I suppose if folks could recommend a good external smtp service I’ll have a look.
Will do!
Man… I really wish my signup on beehaw.org would get approved. I wonder if it has something to do with emails not going out?
The three parallel horizontal lines in the top right next to the bell icon.
I haven’t heard anything either. They are probably slammed. 🤷🏻♂️
You can still subscribe to and post to their communities from here. You don’t actually need a user on beehaw.org
Open the hamburger menu, then click the search icon and put [!gaming@beehaw.org](/c/gaming@beehaw.org)
in the search box and click search. You’ll then be able to look at that community from lemmy.ml, and in the sidebar you can subscribe. You can also up and downvote, comment, etc.
Replace gaming with whatever community you are trying to join. Also beehaw.org is just an example. You can “join” any instance that isn’t currently blocked by lemmy.ml AFAIK.
https://hakbox.social
Please let me know if it isn't working. My block & allow lists are empty.