安装了 Bugzilla,无需电子邮件配置即可正常工作。为本地邮件系统创建了 hmailserver 并在 Outlook 中进行配置。它也可以与 Outlook 配合使用。
现在我必须在 Bugzilla 中配置这个本地邮件服务器。我执行了一些步骤,但没有效果,请参阅下面的步骤,了解我所做的操作。
--> Administration - Parameters - Required Settings - given urlbase as of my ip address
--> Administration - Parameters - Email -
mail_delivery_method = smtp
mailfrom = given on local mail id (it is working in outlook)
smtpserver = my ip address
使用此配置,smtpserver 正在连接,但在创建新错误或更新新错误时,它会尝试发送邮件并给出以下错误
There was an error sending mail from 'mailid' to 'mailid': Can't send data
在 smtp_debug 上我收到以下错误。
[error] [client 192.168.1.3] Subroutine Cwd::bootstrap redefined at C:/Perl64/lib/DynaLoader.pm line 207.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:09 2014] [error] [client 192.168.1.3] Subroutine Cwd::CLONE redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:09 2014] [error] [client 192.168.1.3] Subroutine Cwd::fastcwd redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:09 2014] [error] [client 192.168.1.3] Subroutine Cwd::getcwd redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:09 2014] [error] [client 192.168.1.3] Subroutine Cwd::abs_path redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:09 2014] [error] [client 192.168.1.3] Subroutine Cwd::getdcwd redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:09 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::canonpath redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:09 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::_fn_canonpath redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:09 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::catdir redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:09 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::_fn_catdir redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:09 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::catfile redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:09 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::_fn_catfile redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:20 2014] [error] [client 192.168.1.3] Subroutine Cwd::bootstrap redefined at C:/Perl64/lib/DynaLoader.pm line 207.\r, referer: http://192.168.1.3/post_bug.cgi
[Fri Sep 26 11:43:20 2014] [error] [client 192.168.1.3] Subroutine Cwd::CLONE redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/post_bug.cgi
[Fri Sep 26 11:43:20 2014] [error] [client 192.168.1.3] Subroutine Cwd::fastcwd redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/post_bug.cgi
[Fri Sep 26 11:43:20 2014] [error] [client 192.168.1.3] Subroutine Cwd::getcwd redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/post_bug.cgi
[Fri Sep 26 11:43:20 2014] [error] [client 192.168.1.3] Subroutine Cwd::abs_path redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/post_bug.cgi
[Fri Sep 26 11:43:20 2014] [error] [client 192.168.1.3] Subroutine Cwd::getdcwd redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/post_bug.cgi
[Fri Sep 26 11:43:20 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::canonpath redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/post_bug.cgi
[Fri Sep 26 11:43:20 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::_fn_canonpath redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/post_bug.cgi
[Fri Sep 26 11:43:20 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::catdir redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/post_bug.cgi
[Fri Sep 26 11:43:20 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::_fn_catdir redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/post_bug.cgi
[Fri Sep 26 11:43:20 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::catfile redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/post_bug.cgi
[Fri Sep 26 11:43:20 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::_fn_catfile redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/post_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Subroutine Cwd::bootstrap redefined at C:/Perl64/lib/DynaLoader.pm line 207.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Subroutine Cwd::CLONE redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Subroutine Cwd::fastcwd redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Subroutine Cwd::getcwd redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Subroutine Cwd::abs_path redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Subroutine Cwd::getdcwd redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::canonpath redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::_fn_canonpath redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::catdir redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::_fn_catdir redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::catfile redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Subroutine File::Spec::Unix::_fn_catfile redefined at C:/Perl64/lib/DynaLoader.pm line 214.\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP>>> Net::SMTP(2.32), referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP>>> Net::Cmd(2.30), referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP>>> Exporter(5.68), referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP>>> IO::Socket::INET(1.33), referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP>>> IO::Socket(1.34), referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP>>> IO::Handle(1.33), referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP=GLOB(0x4f4f6a8)<<< 220 Internet-Lap_1 ESMTP, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP=GLOB(0x4f4f6a8)>>> EHLO 192.168.1.3\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP=GLOB(0x4f4f6a8)<<< 250-Internet-Lap_1, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP=GLOB(0x4f4f6a8)<<< 250-SIZE 20480000, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP=GLOB(0x4f4f6a8)<<< 250 AUTH LOGIN, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP=GLOB(0x4f4f6a8)>>> MAIL FROM:<[email protected]>\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP=GLOB(0x4f4f6a8)<<< 250 OK, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP=GLOB(0x4f4f6a8)>>> RCPT TO:<[email protected]>\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP=GLOB(0x4f4f6a8)<<< 530 SMTP authentication is required., referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP=GLOB(0x4f4f6a8)>>> DATA\r, referer: http://192.168.1.3/enter_bug.cgi
[Fri Sep 26 11:43:27 2014] [error] [client 192.168.1.3] Net::SMTP=GLOB(0x4f4f6a8)<<< 503 Must have sender and recipient first., referer:
你能告诉我我的配置出了什么问题吗?
谢谢。
答案1
尝试打开 smtp_debug 参数并查看 Web 服务器的错误日志。
你的邮件服务器需要用户名和密码吗?如果是,你必须告诉 Bugzilla。
你的 Bugzilla 机器能 ping 邮件服务器吗?