我在 Ubuntu 10.04.4 上安装了 Bugzilla 4.0。我们为每个项目安装了多个 Bugzilla 实例,并使用 postfix 发送电子邮件。最近我们创建了一个项目并创建了用户。在这些用户中,只有一个用户在尝试发布错误时会显示以下错误。
Bugzilla has suffered an internal error. Please save this page and send it to [email protected] with details of what you were doing at the time this message appeared.
URL: http://12.34.56.78/bigbugz/xyz2225/relogin.cgi
There was an error sending mail from 'bugzilla-daemon@' to '[email protected]':Can't call method "address" on an undefined value at lib/Email/Send/SMTP.pm line 25.
Traceback:
at Bugzilla/Mailer.pm line 186
Bugzilla::Mailer::MessageToMTA(...) called at /var/www/bigbugz/xyz2225/relogin.cgi line 168
你能帮我解决这个问题吗?
答案1
通过在 data/params 文件中将字段 '***mail_delivery_method' => '**Sendmail*****' 下的 SMTP 替换为 Sendmail 来解决该问题