MediaWiki extensions manual
EmailLogger
Release status: stable
Implementation Data extraction
Description Enables send activity audit capabilities.
Author(s) Jeffrey Wang for MyWikis LLC
Maintainer(s) MyWikis LLC
Latest version 1.1.1
Compatibility policy Master maintains backward compatibility.
MediaWiki 1.27+
Database changes No
License GNU General Public License 2.0 only
Download

GitHub:

Note:
No localisation updates are
provided by translatewiki.net .

Example MyWikis Testing
Parameters
  • $wgEmailLoggerLogFilePath
  • $wgEmailLoggerFailSilently
Hooks used
  • AlternateUserMailer

The EmailLogger extension logs all outgoing emails being sent from a wiki to a CSV file on your filesystem. This is used in cases where SMTP logs are not accessible (i.e. like in AWS SES) but need to be used to audit email sending activity and potentially identify suspicious spam activity on a wiki.

Installation

  • Download, extract and place the file(s) in a directory called EmailLogger in your extensions/ folder.
  • Add the following code at the bottom of your LocalSettings.php file:
    wfLoadExtension( 'EmailLogger' );
    
  • Configure as required.
  • Yes Done – Navigate to Special:Version on your wiki to verify that the extension is successfully installed.

Configuration

$wgEmailLoggerLogFilePath
The path on your filesystem to log email sends to.
$wgEmailLoggerFailSilently
Whether the email should send or not if the email can't be logged. If true, email sends. If false, email does not send.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.