Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#13339 closed bug (fixed)

Password reset doesn't work

Reported by: humdinger Owned by: kallisti5
Priority: normal Milestone:
Component: Website/Forums Version:
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

Resetting the password at the forums doesn't work. It says it sends an email, but that never reaches me (or my spam folder). The old password continues to work.

Change History (9)

comment:1 by kallisti5, 8 years ago

Weird. We've tested multiple times and seen it functional. Let me check our SPF records.

comment:2 by kallisti5, 8 years ago

Our mail logs show outbound emails are generally successful:

# cat /var/log/maillog | grep status= | awk '{ print $12 " - " $8}' | cut -d'[' -f1 | sort | uniq -c
      1 status=bounced - relay=gmail-smtp-in.l.google.com
      1 status=bounced - relay=mx1.free.fr
      1 status=bounced - relay=none,
     84 status=deferred - relay=none,
      1  - status=expired,
      1 status=sent - relay=alt1.aspmx.l.google.com
      1 status=sent - relay=aspmx.l.google.com
      1 status=sent - relay=ASPMX.L.GOOGLE.com
      1 status=sent - relay=cdptpa-pub-iedge-vip.email.rr.com
      1 status=sent - relay=cityofhawarden-com.mail.protection.outlook.com
      1 status=sent - relay=correo.zaragoza.com.ve
      1 status=sent - relay=emig.freenet.de
      1 status=sent - relay=freemx1.sinamail.sina.com.cn
    106 status=sent - relay=gmail-smtp-in.l.google.com
      4 status=sent - relay=in1-smtp.messagingengine.com
      1 status=sent - relay=kainjow.com
      1 status=sent - relay=landcroft.co.uk
      4 status=sent - relay=local,
      1 status=sent - relay=mail.belfield.us
      1 status=sent - relay=mailin-03.mx.aol.com
      1 status=sent - relay=mail.iscomputeron.com
      3 status=sent - relay=mail.linuxbbq.org
      1 status=sent - relay=mail.protonmail.ch
      1 status=sent - relay=mail.vvs.com.au
      1 status=sent - relay=mail.zaclys.net
      3 status=sent - relay=mta5.am0.yahoodns.net
      3 status=sent - relay=mta6.am0.yahoodns.net
      2 status=sent - relay=mta7.am0.yahoodns.net
      1 status=sent - relay=mx00.1and1.fr
      1 status=sent - relay=mx001.vodafonemail.xion.oxcs.net
      1 status=sent - relay=mx003.vodafonemail.xion.oxcs.net
      2 status=sent - relay=mx004.vodafonemail.xion.oxcs.net
      3 status=sent - relay=mx00.emig.gmx.net
      1 status=sent - relay=mx00.schlund.de
      1 status=sent - relay=mx01.1and1.com
      8 status=sent - relay=mx01.emig.gmx.net
      1 status=sent - relay=mx01.t-online.de
      1 status=sent - relay=mx01.your-site.com
      1 status=sent - relay=mx1.agenturserver.de
      2 status=sent - relay=mx1.comcast.net
      7 status=sent - relay=mx1.hotmail.com
     75 status=sent - relay=mx1.ncf.ca
      1 status=sent - relay=mx1.wpi.edu
      3 status=sent - relay=mx2.hotmail.com
      1 status=sent - relay=mx2-us1.ppe-hosted.com
      7 status=sent - relay=mx3.hotmail.com
      1 status=sent - relay=mx3.rightbox.com
      8 status=sent - relay=mx4.hotmail.com
      1 status=sent - relay=mx4.mail.icloud.com
      2 status=sent - relay=mx5.mail.icloud.com
      1 status=sent - relay=mx.bt.lon5.cpcloud.co.uk
      1 status=sent - relay=mx-eu.mail.am0.yahoodns.net
      1 status=sent - relay=mx.poczta.onet.pl
      1 status=sent - relay=mx.sf.hinansho.net
      1 status=sent - relay=mx.yandex.ru
      1 status=sent - relay=mx.zoho.com
      1 status=sent - relay=relay.netcourrier.com
      3 status=sent - relay=smtpin.rzone.de
      1 status=sent - relay=smtp.ourshack.com
      3 status=sent - relay=smtp.secureserver.net

The relay=none failures are to mx.yandex.com and are due to the mail server choosing ipv6 but no ipv6 connection being available. I can fix that one... who is hosting your email?

comment:3 by humdinger, 8 years ago

My mail provider is a small, up-and-coming outfit: GoogleMail (they also have a search engine, check it out!) :)

Other people on IRC reported resetting passwords not working, too.

comment:4 by diver, 8 years ago

Same here using gmail.

comment:5 by jua, 8 years ago

I see this problem too. Wanted to use the forum today for the first time since the website switch, so my old Drupal password doesn't work, but I can't reset it. Tried twice, the reset mail doesn't arrive. Then tried to register a new account, but the activation email also doesn't arrive...

comment:6 by kallisti5, 8 years ago

Try again. We did an upgrade and I don't think I restarted the sidekiq processing queues.

comment:7 by humdinger, 8 years ago

Resolution: fixed
Status: newclosed

Checked, password reset works as well as registering a new account. Thanks for the fix!

comment:8 by pulkomandy, 8 years ago

I see that the "bounced" e-mail status in discourse administration says "No logs found." Maybe we should point it to the mail server logs somehow so we can get a notification when mails are bouncing?

comment:9 by jua, 8 years ago

Since there's at least one person who still has problems (see mailing list)... Someone with server access could try https://www.mail-tester.com/

You need to send an email (no content in the mail required) to the address shown there (i.e. sent from the server running our Discuss platform). Then it will provide a score with hints if there's anything not correctly configured on the sending mail server with regards to modern spam-fighting techniques (DKIM etc).

Note: See TracTickets for help on using tickets.