As the topic would suggest I’ve run into another problem with PieFed…I have Mailgun set up as my SMTP host for password resets and the like, the password to my knowledge is correct as I’ve tested the configuration out in a separate Python script and it logged into smtp.mailgun.org successfully on port 587.

Has anyone else set up Mailgun or similar external SMTP hosting that may be able to help debug the issue?

  • Sir. Haxalot@nord.red
    link
    fedilink
    English
    arrow-up
    3
    ·
    22 hours ago

    This may just be a shot in the dark but what is the MAIL_USE_TLS setting in your configuration? I also had issues with mail delivery to start with and it turned out that the problem was that I thought that setting was for SMTPS, but it’s actually whether to use STARTTLS. Granted since you’re using port 587 either value should work, but Mailgun might block unencrypted submissions.

    Also, I think almost all email delivery happens from the celery instance. This was also a mistake I made to start with because I didn’t prioritize getting async up and working (turns out that’s very important).

    • Phoenix1@piefed.socialOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      18 hours ago

      MAIL_USE_TLS=True in my current configuration…that’s what’s really strange about it. The exact same configuration in Docker doesn’t work for the bare metal install. I’ve yet to figure out why that is, I’m just glad that it works in the Docker version!