Topic on Project:Support desk

Watchlist not sending emails

4
64.85.160.4 (talkcontribs)

Hello,

I have been working with mediawiki these last few days trying to get notifications to work properly. To give some background Watchlist DID work back last year until sometime around april when it quit sending emails. The project was put off until now and I am tasked with getting notifications to work again.

Initially we were getting zero notifications period, now after adding $wgUsersNotifiedOnAllChanges = array( 'user1', 'user2' ); and disabling SELinux I am able to get notified on all changes.

Unfortunately the watchlist still appears to be broken.

Here is part of my LocalSettings.php

$wgEnableEmail = true; $wgEnableUserEmail = true;

$wgEmergencyContact = "wiki@company.net"; $wgPasswordSender = "wiki@company.net";

$wgEnotifUserTalk = false; # UPO $wgEnotifWatchlist = true; # UPO $wgEmailAuthentication = false; $wgUsersNotifiedOnAllChanges = array( 'user1', 'user2' );


$wgSMTP = array(

'host'     => "wh.company.net",
'IDHost'   => "wh.company.net",
'port'     => 25,
'auth'     => false,

);

I've tried changing $wgEmailAuthentication = false; and in both cases true or false I don't get any watchlist updates however the notify on all changes still works.

Sorry for not being able to give more information, my big question is what other places might there be in mediawiki where a setting is preventing the sending of watchlist updates? Additionally is there any reason to think that my current version may be the problem?

Product Version MediaWiki 1.21.2 PHP 5.3.3 (apache2handler) MySQL 5.1.73

Thanks for the help,

Regards,

Jacob

Temptuousinsolence (talkcontribs)

Did you check the apache logs, whether they contain something?

There is also a new version of the SMW-Watchlist available via composer.

64.85.160.4 (talkcontribs)

Yeah I have looked at the logs and no couldn't find an explanation in them. I think the best course of action will be installing SMW-Watchlist and see if that works better.

Thanks for the help.

Ciencia Al Poder (talkcontribs)

You could try to enable the debug log as explained in Manual:How to debug, and perform an action that should trigger the email, then see the debug log to any message related to the email function.

You could also check the Manual:Job queue to see how many jobs are on the table. I don't remember if email notifications are handled by the job queue, but if they are and there's some problem on it, it could be also the problem.

Reply to "Watchlist not sending emails"