Topic on Project:Support desk

Huwmanbeing (talkcontribs)

I've been trying to get my 1.30.0 wiki set up with email but have hit a wall. Using smtper.net I've confirmed that my external SMTP service is working properly and that my settings in $wgSMTP match and are correct — but for some reason I still get an error every time my MediaWiki install tries to send an email. I've been testing it using Special:PasswordReset and have been getting this:

"The password reset was not handled. Maybe no provider was configured?"

I tried to see what was going on by writing out to the $wgDebugLogFile, but the only relevant line I see is this:

[authentication] User1 attempted password reset of User2 but failed

I can't tell if I have an email problem that's breaking my password resets, or if I have a PasswordReset problem that's interfering with mail getting sent... of maybe two entirely unrelated problems. (And either way I'm not sure what else I can do to diagnose and correct it.) Any suggestions? I've been beating my head against this for a while and have run out of ideas. Thanks very much for any assistance!

Huwmanbeing (talkcontribs)

Even just knowing how to debug the "attempted password reset but failed" message would be very useful, if anyone has any thoughts on that. Thanks!

MarkAHershberger (talkcontribs)

$wgSMTP has information on troubleshooting email. It sounds like you might need to install the mail and net_smtp packages.

Huwmanbeing (talkcontribs)

Both are installed and at the latest version. I even set up a little custom PHP file on the server just to test that I can connect properly to the SMTP provider and send mail successfully, and that works fine.

For some reason MediaWiki just keeps saying "maybe no provided was configured", and unfortunately gives no indication what provider it's talking about. (The troubleshooting steps at $wgSMTP also don't appear to speak to this particular case.) Any idea how to debug this?

Reply to "How to debug SMTP?"