Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMTPRecipientsRefused #408

Closed
Flix6x opened this issue Mar 30, 2022 · 0 comments · Fixed by #558
Closed

SMTPRecipientsRefused #408

Flix6x opened this issue Mar 30, 2022 · 0 comments · Fixed by #558
Assignees
Labels
Auth documentation Improvements or additions to documentation good first issue Good for newcomers

Comments

@Flix6x
Copy link
Contributor

Flix6x commented Mar 30, 2022

I got a bug report for a broken password reset feature on one of our servers:

SMTPRecipientsRefused : [...] Sender address rejected: not owned by user [...]"

It turns out that some recipient mail servers will refuse emails for which the shown email address differs from the sender's real email address. So for example, using the following config settings will not work for those users:

MAIL_USERNAME = "no-reply@company.com"
MAIL_DEFAULT_SENDER = {
    "FlexMeasures",
    "no-reply@flexmeasures.company.com",
}

This is worth mentioning in the documentation, specifically, here.

@Flix6x Flix6x added bug Something isn't working Auth labels Mar 30, 2022
@Flix6x Flix6x self-assigned this Mar 30, 2022
@Flix6x Flix6x added good first issue Good for newcomers documentation Improvements or additions to documentation labels Mar 30, 2022
@Flix6x Flix6x removed the bug Something isn't working label Apr 8, 2022
@Flix6x Flix6x linked a pull request Dec 16, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auth documentation Improvements or additions to documentation good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant