#7013 closed defect (duplicate)
r7731 breaks password reset notification
Reported by: | anonymous | Owned by: | Matt Good |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | major | Keywords: | regression |
Cc: | rohieb@… | Trac Release: | 0.11 |
Description
After updating from r7730 to r7731, I was no longer able to receive password reset notifications via SMTP to my email address. r7730 works fine, I just tested it :)
Here is what I did:
- enabled Trac logging to file
- updated to accountmanager-r7730
- easy_install
- reset password using the web interface (Login -> "Forgot your password?")
- found a password reset notification in my mailbox, and the Trac logfile said:
2010-04-21 19:04:55,869 Trac[notification] INFO: Sending SMTP notification to localhost:25 to [u'example@example.org'] 2010-04-21 19:04:55,881 Trac[notification] WARNING: sendmail from: "Trac" <trac@example.org> to [u'example@example.org'] 2010-04-21 19:04:56,149 Trac[api] INFO: Updated password for user: rohieb
(of course, example.org was in fact my domain name ;-))
- updated to accountmanager-r7731
- easy_install
- reset password using the web interface (Login -> "Forgot your password?")
- found no mail in my mailbox, but also no lines from Trac[notification] in the logfile, although the same line from Trac[api] existed. Obviously, the handlers in Trac[notification] are not called, but my password is reset!
I am not a very good Python/Trac hacker, but I may be able to create a patch if I have the time.
Attachments (0)
Change History (6)
comment:1 Changed 15 years ago by
comment:4 follow-up: 6 Changed 15 years ago by
Severity: | normal → major |
---|
Setting
acct_mgr.notification.AccountChangeListener = enabled
made SMTP notification work again for me.
For better or for worse (worse if you ask me), r7731 moves the password reset and email verification SMTP notifications to the AccountChangeListener API. If that component is not enabled, the SMTP notifications are never generated. Passwords are reset and permissions temporarily revoked nevertheless.
comment:5 Changed 15 years ago by
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Yes, I'd say this is the same issue as #6814
comment:6 Changed 14 years ago by
Replying to Olaf Meeuwissen <olaf.meeuwissen@avasys.jp>:
Setting
acct_mgr.notification.AccountChangeListener = enabledmade SMTP notification work again for me.
Not for me. It took me hours to figure out. What eventually fixed it was this:
acct_mgr.notification.accountchangelistener = enabled
That is, it's case-sensitive.
After updating from r7730 to r7731, I was no longer able to receive password reset notifications via SMTP to my email address. This is not the case with r7730.
Here is what I did:
(of course, example.org was in fact my domain name ;-))
I am not a very good Python/Trac hacker, but I may be able to create a patch if I have the time.