this post was submitted on 25 Jan 2026
11 points (100.0% liked)

PieFed help

2134 readers
1 users here now

It's seems right that we should have a local community to help us all with PieFed

Rules

Be kind! We're all learning

founded 2 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] SirHaxalot@nord.red 3 points 2 months ago (1 children)

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.social 1 points 2 months 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!