如何为bugzilla配置sendmail?和公司邮件server之间要什么设置?

chicosz 2003-10-21 08:41:32
如何为bugzilla配置sendmail?和公司邮件server之间要什么设置?
...全文
1362 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
ycw 2004-02-07
  • 打赏
  • 举报
回复
更详细的Bugzilla安装请参考:

http://www.csdn.net/Develop/read_article.asp?id=24088

Good Luck...
ycw 2004-02-05
  • 打赏
  • 举报
回复
可能还应该加上一行:(邮件认证信息)
$smtp->auth($user,$pass); #用户名和
fanciex 2003-11-26
  • 打赏
  • 举报
回复
发mail解决如下 ,我们公司用exchange,我作如下更改成功:
更改 Bugzilla/BugMail.pm 内的如下代码:

open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t -i") ||
die "Can't open sendmail";

print SENDMAIL trim($msg) . "\n";
close SENDMAIL;

变为
use Net::SMTP;
my $smtp_server = 'smtp.mycompany.com'; # 改为你们公司的邮件服务器

# Use die on error, so that the mail will be in the 'unsent mails' and
# can be sent from the sanity check page.
my $smtp = Net::SMTP->new($smtp_server) ||
die 'Cannot connect to server \'$smtp_server\'';

$smtp->mail('bugzilla-daemon@mycompany.com'); # @后的内容改为你们公司的邮件服务器
$smtp->to($person);
$smtp->data();
$smtp->datasend($msg);
$smtp->dataend();
$smtp->quit;

boilingwater 2003-11-21
  • 打赏
  • 举报
回复
没有人清楚吗?
boilingwater 2003-11-19
  • 打赏
  • 举报
回复
我是在linux下安装的,用的sendmail。可每次运行,总出现:

内部错误:
Bugzilla has suffered an internal error. Please save this page and send it to fanzhenyu@ieslab with details of what you were doing at the time this message appeared.

URL: http://172.20.9.41/process_bug.cgi

undef error - Can't open sendmail at /usr/lib/perl5/5.8.0/CGI/Carp.pm line 312.

我的sendmail是后安的。应该没有什么问题。轻微这是什么原因?
f3611018 2003-10-22
  • 打赏
  • 举报
回复
关注……
cashtang 2003-10-22
  • 打赏
  • 举报
回复
我用的是Apache 2.0,ActivePerl.
我安装了NTsendmail,然后将所有出现了open( SENDMAIL ... 这样的地方改成
$mail = new NTsendmail;
$mail->send($from ,$to ,$subject,$message);

当然我是自己装了Windows上的邮件服务器(IMail8),这个也有破解版的下载,在google上找找吧!
camen 2003-10-22
  • 打赏
  • 举报
回复
cashtang(孤独) 您好,能不能把您在Windows下配置Ntsendmail说详细一点?

我一直没有配置好bugzilla里面的SendMial功能,请您多多指教!!

我的服务器是:
操作系统: Windows 2000 Server
WEB服务: IIS 5.0
数据库: mysql

bugzilla 2.17.4版
termite 2003-10-22
  • 打赏
  • 举报
回复
关注……
cashtang 2003-10-21
  • 打赏
  • 举报
回复
好像不需要配置什么吧!我在Windows下用NTsendmail也搞定了!

5,177

社区成员

发帖
与我相关
我的任务
社区描述
软件工程/管理 质量管理/软件测试
功能测试压力测试安全性测试 个人社区 湖南省·长沙市
社区管理员
  • 软件测试
  • 虫无涯
  • 小博测试成长之路
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

欢迎大家加入到软件测试的社区,在这里,希望大家勇于发表自己的看法,欢迎大家分享自己在软件测试工作过程中遇到的问题以及工作经验分享。

1.想转行的小伙伴,遇到问题没有及时回复的,可以私聊小博进行反馈

2.大家对社区有好的建议,都可以在社区发帖进行反馈

推荐大家学习的软件测试入门笔记:软件测试入门学习笔记

试试用AI创作助手写篇文章吧