sendmail 설치
>apt-get install sendmailLocalSetting.php 파일에 아래 내용 추가
$wgSMTP = array("host" => "localhost",
"IDHost" => "localhost",
"port" => "25",
"auth" => false
);
net_smtp와 auth_sasl 설치
>pear install net_smtp
>pear install auth_sasl
sendmail 재시작
>sudo /opt/bitnami/ctlscript.sh restartmediawiki 재시작
>sudo /etc/init.d/sendmail restart또는
>sudo service sendmail restart
net_smtp와 auth_sasl을 설치하지 않으면 발생할 수 있는 에러들
. authentication failure [SMTP: No supported authentication methods (code: 250, response
. authentication failure [SMTP: Invalid response code received from server (code: 535, response: 5.7.0 authentication failed)]