Page MenuHomePhabricator

Emails do not work anymore in Wikimini
Closed, ResolvedPublic0.5 Estimated Story Points

Description

MediaWiki isn't able to send mails anymore in Wikimini. The reported error is:

PEAR::Mail failed: authentication failure [SMTP: Invalid response code received from server (code: 535, response 5.7.139 Authentication unsuccessful, the user credentials were incorrect.

The error is clear (the password registered in wgSMTP is wrong), but needs to be fixed.
Note that the SMTP server rejects the request but after some times. Which means the website is waiting for the server to responds, slowing down the site when email notifications are needed and not handled asynchronously. Because of this I disabled email notifications in LiquidThreads for the moment.

Event Timeline

Raphoraph triaged this task as Medium priority.
Raphoraph moved this task from Backlog to Fixes on the Wikimini.org board.
ValerioBoz-WMCH raised the priority of this task from Medium to High.Sep 29 2023, 12:03 PM
ValerioBoz-WMCH set the point value for this task to 0.5.Sep 29 2023, 12:22 PM

First of all, thanks for reporting and sorry for this issue caused by Wikimedia CH.

Since I do not absolutely remember how the mailbox was managed, I've re-explored the thing a minute.

Hoping to be useful I've added some useful information in our usual documentation page, in a new section called "Mail"

https://meta.wikimedia.org/wiki/Wikimini/Technical_documentation

I've also linked that page from the LocalSettings-secret.php file in the section about $wgSMTP so to be less lost again with undocumented things.


Having said that, it seems the password was reset some time ago by the kind Ilario Valdelli for security reasons. So, I've updated the private configuration file with the new password.

Can you try again? Is it working now?

The situation is not optimal and we have great margin of improvement but at least now it works again. This is just a temporary fix: I've asked to create a dedicated mailbox just for your project, with "wikimini <at> wikimedia.ch" (instead of "mediawiki <at> wikimedia.ch"). So we will change this again, and re-verify this later.)

Just to inform that now Wikimini.org has its dedicated mailbox called "wikimini" <at> wikimedia.ch, generated from Ilario V., and I configured this address in our usual LocalSettings-secret.php file.

The related documentation was updated to reflect this:

https://meta.wikimedia.org/wiki/Wikimini/Technical_documentation

I tried to change my email address in order to trigger the email verification, and I received it.

Sorry for this inconvenient and thank you again. Long life to Wikimini \o/ (feel free to reopen or share comments if you have other things to report)