Use an fqdn hostname to avoid mail problems

git-svn-id: svn://10.0.0.236/trunk@231109 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
justdave%bugzilla.org 2007-07-27 16:27:12 +00:00
parent 711881d153
commit 1d149146de

View File

@ -465,7 +465,7 @@ sub do_commitinfo {
} }
sub mail_notification { sub mail_notification {
chop(my $hostname = `hostname`); chop(my $hostname = `hostname --fqdn`);
my $mailer; my $mailer;
if ($use_sendmail) { if ($use_sendmail) {
$mailer = Mail::Mailer->new("sendmail"); $mailer = Mail::Mailer->new("sendmail");