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

password reset emails don't get sent #789

Closed
zoff99 opened this issue Sep 30, 2019 · 12 comments
Closed

password reset emails don't get sent #789

zoff99 opened this issue Sep 30, 2019 · 12 comments

Comments

@zoff99
Copy link

zoff99 commented Sep 30, 2019

Current Behavior

on password reset emails do not get sent, and do not show up in the history of sent emails

Expected Behavior

on password reset emails DO get sent, and show up in the history of sent emails

Steps to Reproduce

Your Environment

  • Version used: pretalx · v1.0.3 (using external SMTP server with authentication)
  • Environment name and version (e.g. Chrome 39, python 3.5): any browset
  • Operating System and version (desktop or mobile): any
  • Link to your instance, if in production: https://pretalx.tox.zoff.cc/toxcon2019/cfp
@rixx
Copy link
Member

rixx commented Sep 30, 2019

Password reset emails do not show up in the history of sent emails for security reasons. They need to work via email alone.

Does your pretalx instance send email generally? Have you checked your email settings (the global ones, not the ones per event)?

@zoff99
Copy link
Author

zoff99 commented Sep 30, 2019

@rixx yes other emails get sent ok (like changed talk times, or speaker invites)
but those also show up in the history of emails

@zoff99
Copy link
Author

zoff99 commented Sep 30, 2019

password reset emails do not work. no matter if the user does it himself, or the admin does it.
a nice thing would be if password reset emails would show up in the history without body, just to log them in the same history as other emails. then one would know for sure that there was even the attemp to send them.
now i don't know that

@rixx
Copy link
Member

rixx commented Sep 30, 2019

Password reset emails are not sent in an event context, so they will not show up in the email list. I think this is correct behaviour.

Password reset emails use the global email configuration, not that of any event (which is what your examples do, changed talk times, or speaker invites).

I have just confirmed that password resets work on pretalx.com, and the test suite confirms this, too, so this must be a configuraiton issue on your side. Please check your email config section for accuracy.

@rixx rixx closed this as completed Sep 30, 2019
@zoff99
Copy link
Author

zoff99 commented Mar 8, 2020

Mails
Host: xxx.xxx.xxx
Port: 587
User:
Password: No email password has been set.

@rixx

host and port get loaded from the config file.
but user and password never show up, yet they are set in /etc/pretalx/pretalx.cfg
and mailing does not work

setting per event works fine though. but i can't get password reset email like this

@rixx
Copy link
Member

rixx commented Mar 8, 2020

Ah, it seems the administration interface is buggy and never shows user/password data. Fixed in e6fd9c4.

@zoff99
Copy link
Author

zoff99 commented Mar 8, 2020

ah cool.
how can i test if it works?
if possible without resetting my password

@rixx
Copy link
Member

rixx commented Mar 8, 2020

This change was only visual and should not have changed the sending of password reset emails. I really don't know why they won't send for you, as I've never seen this issue either in tests or on pretalx.com.

@zoff99
Copy link
Author

zoff99 commented Mar 8, 2020

my username and password have special chars in them. do i need single quoutes or double quotes in the config file?

it is not clear from this doc:
https://docs.pretalx.org/administrator/configure.html#the-mail-section

@zoff99
Copy link
Author

zoff99 commented Mar 8, 2020

the info box is already sort of wrong. it says:

Settings have been loaded from: /etc/pretalx/pretalx.cfg

but the settings are not updated from the config file until the pretalx service is restarted

@rixx
Copy link
Member

rixx commented Mar 8, 2020

Settings are only loaded on startup. If you think this requires clarification, I'll happily merge a PR.

@zoff99
Copy link
Author

zoff99 commented Mar 8, 2020

ok. thanks for the help.
now i was able to have the config that email sending work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants