====== Mantis 接受信件回報問題的設定 ======
主要是使用 Mantis 的 EmailReporting plugin 模組來達成..
* 設定環境 :
* Mantis : 1.3.4
* EmailReporting : 0.9.2
- 下載 [[https://github.com/mantisbt-plugins/EmailReporting/releases/download/EmailReporting_0.9.2/EmailReporting_0.9.2.zip|EmailReporting 0.9.2 plugin]] 解開到 mantis/plugins 內
wget https://github.com/mantisbt-plugins/EmailReporting/releases/download/EmailReporting_0.9.2/EmailReporting_0.9.2.zip
yum install unzip
unzip EmailReporting_0.9.2.zip
mv EmailReporting /var/www/html/mantis/plugins/
cd /var/www/html/mantis/plugins
chown -R apache:apache EmailReporting/
- 使用 Mantis 的管理介面安裝 [管理]->[管理套件]->[Email Reporting 0.9.2] [安裝] -> [Manage Email Reporting]
- 在 /etc/crontab 內增加每五分鐘讀取信箱功能
:
# Mantis EMail Report
*/5 * * * * root php /var/www/html/mantis/plugins/EmailReporting/scripts/bug_report_mail.php > /tmp/mantis_EmailReporting_bug_report_mail.log
:
===== 參考網址 =====
* https://www.mantisbt.org/wiki/doku.php/mantisbt:emailreporting
* https://github.com/mantisbt-plugins/EmailReporting/releases
* https://github.com/mantisbt-plugins/EmailReporting/blob/master/doc/INSTALL.txt
* http://www.mantisbt.org/bugs/view.php?id=4286
* http://www.mantisbt.org/bugs/file_download.php?file_id=2836&type=bug
{{tag>mantis mailreport tips}}