canmove, Confirmed users
345
edits
(→I'm having trouble with the perl modules for NT not being able to talk to the database.: add section How do I set up Bugzilla to use the Windows SMTP service?) |
(Remove navigation and category--the main reference is now Bugzilla:FAQ) |
||
| (3 intermediate revisions by 2 users not shown) | |||
| Line 12: | Line 12: | ||
While doing so, don't forget to check out the very excellent guide | While doing so, don't forget to check out the very excellent guide | ||
to [ | to [[Bugzilla:Win32Install|Installing Bugzilla on Microsoft Windows]] | ||
written by Byron Jones. Thanks, Byron! | written by Byron Jones. Thanks, Byron! | ||
==Is there a "Bundle::Bugzilla" equivalent for Win32?== | ==Is there a "Bundle::Bugzilla" equivalent for Win32?== | ||
| Line 45: | Line 45: | ||
First, install the service. in Windows XP, this is done from Control Panel > Add or Remove Programs > Add/Remove Windows Components, select Internet Information Services, press the Details button, and check SMTP Service. For Windows Server 2003, there's a nice tutorial [http://www.ilopia.com/Articles/WindowsServer2003/EmailServer.aspx here], though I suspect you don't need the POP3 service configured if you only need Bugzilla to ''send'' mail, and not ''receive'' mail. | First, install the service. in Windows XP, this is done from Control Panel > Add or Remove Programs > Add/Remove Windows Components, select Internet Information Services, press the Details button, and check SMTP Service. For Windows Server 2003, there's a nice tutorial [http://www.ilopia.com/Articles/WindowsServer2003/EmailServer.aspx here], though I suspect you don't need the POP3 service configured if you only need Bugzilla to ''send'' mail, and not ''receive'' mail. | ||
Bugzilla doesn't support mail authentication yet. This means you will have to allow anonymous relay on the service. | |||
:'''Note:''' if your server is exposed to the internet, this could be a security problem. It will allow spammers to use your SMTP service to relay messages to other people without your knowledge, so this set up should be done only if the server is not accessible from the public internet. | |||
In order to allow anonymous outbound messages, open the Computer Management console from Control Panel > Administrative Tools, open the Services and Applications branch on the left, Open the Internet Information Services branch, right-click on Default SMTP Virtual Server and select Properties. In the Access tab, press the Relay button, and select '''All except the list below''', and leave the list empty. Uncheck '''Allow all computers which successfully authenticate to relay...''', and press OK. | |||
In order to limit the computers that can connect to the SMTP server to the one running Bugzilla, and so prevent the possibility of turning your machine into a spam bot, you should add the IP address of the Bugzilla server to the list (or the IP range of your LAN, if you want to allow others on your network to send mail from this server), via the '''Add...''' button. | |||
If the server is not a member of a domain, outgoing messages will have the name of the server on the local network as the domain part of outgoing messages' "From" field. This will prevent the message from being delivered to most e-mail services. To correct this, open the Delivery tab and click the Advanced button. In the '''Masquerade domain''' field, enter the domain of your ISP, or whatever domain you use to receive email and click OK. While on the Delivery tab, you might want to shorten the time to the first delivery attempt, from 15 minutes to 1 (this parameter needs further investigation). | |||
After masquerading your domain, you will also need to change the '''mailfrom''' field in Bugzilla's main configuration page (/editparams.cgi), in the Email section, to the full name, including the domain. E.g. bugzilla-deamon@example.com. | |||