Add optional SMTP relaying ..
All checks were successful
continuous-integration/drone/push Build is passing

..+ small README update
This commit is contained in:
3wc
2020-10-06 17:40:27 +02:00
parent 475490f3ed
commit 08b5c1f53e
3 changed files with 16 additions and 2 deletions

View File

@ -182,3 +182,13 @@ $wgGroupPermissions['*']['createaccount'] = false;
$wgDebugLogFile = "/var/log/debug-{$wgDBname}.log";
{{ end }}
{{ if env "SMTP_HOST" }}
$wgSMTP = [
'host' => '{{ env "SMTP_HOST" }}', // could also be an IP address. Where the SMTP server is located
'port' => 25, // Port to use when connecting to the SMTP server
'auth' => false, // Should we use SMTP authentication (true or false)
#'username' => 'my_user_name', // Username to use for SMTP authentication (if being used)
#'password' => 'my_password' // Password to use for SMTP authentication (if being used)
];
{{ end }}