Any good resources/Discord servers (to discuss with other devs) for troubleshooting user login/email verification issues?

I have a self-hosted instance and was able to make the admin user, but when trying to create a new test user, the user does not get the verification email.

I assume its related to this issue because I see the same issue but on login rather than sign up: https://github.com/LemmyNet/lemmy-ui/issues/1080

I am able to create the new user but get no email verification and then when I try to login the login button gets stuck with the spinner. No frontend console logs so I assume something is dying server-side and not bubbling the error.

Really just looking for some guidance/links to docs on how I can access logs to troubleshoot server-side errors (and my gut tells me maybe an email issue but I am a novice in this space so not sure).

Any help is appreciated.

Thank you.

  • pineapple@lemmy.pineapplemachine.com
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    Does the gmail SMTP server have a limit on how many emails can be sent per day?

    I think it does, yes. The kinsta.com link says the limit is 500 per day. If you’re expecting a higher volume than that, or if the unpredictability of relying on a free Google service for anything is not acceptable, then you would probably want to pay for an inbox service.

    But if you’re running a small instance and just need the occasional email to go through without a lot of effort or fees, then it ought to be fine.

    • Slashzero@hakbox.social
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      1 year ago

      I’m still using my own install of postfix for now, and emails seem to be going through fine, although they end up in the spam folder sometimes.

      I signed up for the free tier of brevo.com, and could not get it working, but I think it was due to a networking issue in the base docker install for the lemmy front end, where it is only on the internal network and can’t make outgoing calls? Everything outgoing from the lemmy instance was timing out.

      Now that I fixed that (by adding a second network interface to the lemmy container,) I might try to switch back to the brevo relay and creds and see if that works. 300 per day (that won’t get bounced or go directly into SPAM is not bad.)


      UPDATE

      I switched my config back to brevo, now that I fixed the “internal only network” issue for lemmy on my instance, and emails are going through the relay. I bet they would also work with GoDaddy’s office365 relay now. The issue was the networking issue where the lemmy frontend couldn’t make outgoing calls.