Hi, I just installed my instance with Ansible.

Now following this doc to check if email is set up correctly. However I didn’t receive an email to reset the password.

I doubled checked that I have email in my account settings. Used telnet localhost 25 to verify the hostname is my domain.

What am I missing?

  • BlueÆtherA
    link
    fedilink
    arrow-up
    4
    ·
    4 months ago

    Where is it hosted? at home or some VPS?

    Some ISPs and VPS hosts block outgoing SMTP

  • redcalcium@lemmy.institute
    link
    fedilink
    arrow-up
    2
    ·
    4 months ago

    We’re going to need more details. Are you hosting your own email server, or are you using a transactional mail provider like mailgun?

    • admin@bilin.xyzOP
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      I was hosting my own email server, and outgoing SMTP is blocked by the VPS. I will look into a transactional mail provider.

  • lemmyreader@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    4 months ago

    Makes sense to use a transactional mail provider (Like SparkPost, SendGrid, Mailgun) or MXroute. because self hosting email nowadays can be a dreadful journey 😑

    • redcalcium@lemmy.institute
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      4 months ago

      Self-hosting a mail server is pretty straightforward to setup using stuff like mailcow these days. The main issues are having the ports opened, and getting the big email providers to accept mails from your server. It’s usually pretty smooth assuming you have an ip address with a good reputation.

      • lemmyreader@lemmy.ml
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        3 months ago

        I am not too sure about this. The OP only needs outgoing email for a Lemmy instance. Setting up a self-hosted email server for just that, having to keep the software updated and avoid or solve problems with outgoing emails would not be my choice in this case. This blog post going viral in 2022 https://cfenollosa.com/blog/after-self-hosting-my-email-for-twenty-three-years-i-have-thrown-in-the-towel-the-oligopoly-has-won.html had some points. If you still think that self hosting email is easy, go hang out in the Disroot XMPP community chat for a while and you may hear some Disroot admins swear about email delivery problems, especially with email to Microsoft.

        • redcalcium@lemmy.institute
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          3 months ago

          Well, I’m actually self-hosting an email server with mailcow for one of my projects and it’s been pretty smooth, with minimal maintenance. Just running some upgrade command every once in a while to upgrade the docker container, and attaching a bigger disk when the old one was almost full. The biggest blocker was asking my VPS vendor to open up the port as they’ll only open it for customers older than 6 months.

          Most of the problems encountered by those people you mentioned are probably because they’re running it for other people. You can’t control what other people send so you’ll eventually get blocklisted when one of your users starts sending spam because their account was hacked.

          • lemmyreader@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 months ago

            Yes, sure, self-hosting email can go fine for a long time, depending on the amount of users that you have and what your users do (For example : try bulk email) and whom they want to email with, or send emails to mailing lists, or use email forwarding. The OP wants to run a Lemmy instance and have email out working, probably just for notifications. Using a transactional email provider for the latter seems like a sensible choice to me.