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

Lemmy Support

157 readers
3 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
[–] wizjenkins@lemmy.wizjenkins.com 2 points 1 year 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.

[–] chrisamoody@thediscussion.site 1 points 1 year ago (1 children)
[–] wizjenkins@lemmy.wizjenkins.com 2 points 1 year ago (2 children)

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

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

[–] chrisamoody@thediscussion.site 1 points 1 year ago (2 children)

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

[–] einval@lemmy.einval.net 3 points 1 year 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: "noreply@example.tld" # or account_just_created@example.tld
    tls_type: "tls" # or starttls
}
[–] wizjenkins@lemmy.wizjenkins.com 1 points 1 year 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.

[–] einval@lemmy.einval.net 1 points 1 year 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.

[–] pineapple@lemmy.pineapplemachine.com 2 points 1 year 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.

[–] russjr08@outpost.zeuslink.net 2 points 1 year ago

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