1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2024-11-10 17:29:27 +01:00

archwiki: Use SMTP to queue mail

sendmail doesn't work from php due to our service file disabling setuid.
Use SMTP just like the other services do.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
Florian Pritz 2018-03-05 22:18:48 +01:00
parent 09b368f12f
commit 9e0555f0bc

@ -34,6 +34,15 @@ $wgFunnyQuestionHash = '2341Euchah1Aev6eejoo5waf';
$wgFunnyQuestions = array();
$wgFunnyQuestions['en']['What is the output of "pacman -V|base32|head -1"'] = "BIQC4LJNFYQCAIBAEAQCAIBAEAQCAIBAEAQCAICQMFRW2YLOEB3DKLRQFYZCALJANRUWEYLMOBWS";
$wgSMTP = array(
'host' => "localhost", // could also be an IP address. Where the SMTP server is located
'IDHost' => "wiki.archlinux.org", // Generally this will be the domain name of your website (aka mywiki.org)
'port' => 10027, // 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 of automatically generated settings.
# Add more configuration in the file included below.