diff --git a/mozilla/webtools/bugzilla/docs/en/xml/installation.xml b/mozilla/webtools/bugzilla/docs/en/xml/installation.xml index 112409a7839..efb2d41606d 100644 --- a/mozilla/webtools/bugzilla/docs/en/xml/installation.xml +++ b/mozilla/webtools/bugzilla/docs/en/xml/installation.xml @@ -1,5 +1,5 @@ - + Installing Bugzilla @@ -1476,53 +1476,22 @@ C:\perl> ppm install <module name>
Code changes required to run on win32 - As Bugzilla still doesn't run "out of the box" on - Windows, code has to be modified. This section lists the required - changes. - + Bugzilla on win32 is mostly supported out of the box; one remaining issue is + related to bug email. To make bug email work on Win32 (until + bug + 84876 lands), the + simplest way is to have the Net::SMTP Perl module installed and + change this line in the file Bugzilla/Bugmail.pm: -
- Changes to <filename>checksetup.pl</filename> - - In checksetup.pl, the line reading: - - -my $mysql_binaries = `which mysql`; - - to - -my $mysql_binaries = "D:\\mysql\\bin\\mysql"; - - - And you'll also need to change: - - -my $webservergid = getgrnam($my_webservergroup) - - to - -my $webservergid = '8' - -
- -
- Changes to <filename>BugMail.pm</filename> - - To make bug email work on Win32 (until - bug - 84876 lands), the - simplest way is to have the Net::SMTP Perl module installed and - change this: - - + open(SENDMAIL, "|/usr/lib/sendmail $sendmailparam -t -i") || die "Can't open sendmail"; print SENDMAIL trim($msg) . "\n"; close SENDMAIL; - - to - + + to + use Net::SMTP; my $smtp_server = 'smtp.mycompany.com'; # change this @@ -1537,14 +1506,11 @@ $smtp->data(); $smtp->datasend($msg); $smtp->dataend(); $smtp->quit; - + - Don't forget to change the name of your SMTP server and the - domain of the sending email address (after the '@') in the above - lines of code. - -
- + Don't forget to change the name of your SMTP server and the + domain of the sending email address (after the '@') in the above + lines of code.