參考資料:http://www.btschina.com/home/index.php/the-bugzilla-install-and-configure.html
http://www.ishow.me/2012/09/11/929.html
Buzilla 4.2.3郵箱配置
Bugzilla自帶有SMTP服務,只需開啟和設置就可以使用,不需要sendmail支持。配置方法如下:
1.修改bugzilla的params文件內容
進入Bugzilla安裝目錄
# cd /data/apache2/htdocs/bugzilla
修改params文件
# vi params
配置其中的
maintainer : test@test.com
mail_delivery_method : SMTP
mailfrom : test@test.com
smtpserver : smtp.test.com
smtp_username: test@test.com
smtp_password : **********
注意:maintainer、mailfrom必須相同!smtp_username郵箱必須是存在的真實的郵箱,smtp_password是郵箱的密碼(要與你所登陸郵箱時的密碼相同)!
2.登錄bugzilla進行params參數核對
訪問:http://localhost/bugzilla/
用管理員賬戶和密碼登錄
登錄后選擇“Administartor”-》“Parameters”-》“Email”
查看并核對各參數是否正確。
3.錄入一個新bug,到郵箱查看新接收到的bug郵件,如能收到就恭喜你,OK啦。^_^。
TestLink 1.9.4 郵箱配置
進入TestLink安裝目錄文件,修改config.inc.php配置文件內容
# cd /data/apache2/htdocs/TestLink
# vi config.inc.php
$g_smtp_host = ‘[smtp.testlink.com]‘;修改為
$g_smtp_host = ‘公司smtp郵箱域名‘;
# Configure using custom_config.inc.php 以下這三處不能有中括號,一般保持一致即可。
$g_tl_admin_email = ‘testlink@testlink.com’; # for problem/error notification
$g_from_email = ‘testlink@testlink.com’; # email sender
$g_return_path_email = ‘testlink@testlink.com’;
/** Configure only if SMTP server requires authentication */
$g_smtp_username = ‘testlink’; # user #賬號和密碼,有的需要加上域名有的不需要,最好加上域名。
$g_smtp_password = ’123123123′; # password
保存后,再次登錄testlink:http://localhost/TestLink/,重置某一用戶的密碼,到該用戶郵箱中查收郵件,能收到郵件就恭喜你,OK啦。^_^。