this post was submitted on 06 Jun 2023
5 points (100.0% liked)

Lemmy Support

4713 readers
35 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Having an issue with logging in on alternate browsers due to email isn't verified. Would it be okay to export the database, manually make the change and then re-import it? Or could I connect to the database from a program on my computer to make the changes?

top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 2 years ago (1 children)

I ended up turning that off since I'm hosting in my house and the email server won't connect to Gmail for me to confirm my email. So no email validation requirement for me.

[–] [email protected] 1 points 2 years ago (1 children)
[–] [email protected] 2 points 2 years ago (2 children)

It's in the site settings (cog wheel icon next to the search button) under the application questionnaire text box.

[–] [email protected] 1 points 2 years ago (2 children)

thanks, any idea if properly configured if Lemmy knows how to send smtp based email?

[–] [email protected] 3 points 2 years ago

Yes. You can use an existing SMTP server (gmail [legacy app mode], yahoo, microsoft, etc). One thing to keep in mind -- if you decide to go that route don't use your personal account because the address might be exposed in the mail headers. Create a dedicated account and use that instead.

lemmy.hjson

email: {
    smtp_server: "smtp.example.tld:[port]" # port 25, port 587, etc
    smtp_login: "username"
    smtp_password: "password"
    smtp_from_address: "[email protected]" # or [email protected]
    tls_type: "tls" # or starttls
}
[–] [email protected] 1 points 2 years ago (1 children)

No idea. I've been playing with it all night but so far I haven't managed to get the postfix-relay docker container to connect and send an email.

[–] [email protected] 1 points 2 years ago

Have you configured OpenDKIM correctly? This tutorial might give you an idea or two. Gmail won't relay mail unless its signed by your domain.

[–] [email protected] 1 points 2 years ago

seems that still won't let me log in :(

[–] [email protected] 2 points 2 years ago (1 children)

I got a response on GitHub recently from one of the devs about a related question. It seems that email verification is broken right now, but should be fixed soon:

https://github.com/LemmyNet/lemmy-ui/issues/1062#issuecomment-1577135751

I think email verifications might be broken on 0.17.3. They are fixed in the next release tho. Apologies for that.

[–] [email protected] 2 points 2 years ago

Ooh that is good to know, I'll disable till the next release / for now then!