|
Enable Bugzilla to Work with SSL/TLS Email Average Rating: 2/5 | Rate this item | 3 users have rated this item.
|
Expertise: Intermediate
Language: Enterprise
October 2, 2009
Enable Bugzilla to Work with SSL/TLS Email
As of version 3.3.4, the mail system in Bugzilla doesn't work with SSL/TLS-based SMTP mail servers. The following procedure helps you set up a working Bugzilla configuration that can use an SSL/TLS-based mail server, such as Gmail.
Because Bugzilla can't talk to Gmail directly, you need to install a mail server. One such open source mail server is named "James." I tested it with the version 3.0 nightly build.
- Download James and extract the zip file.
- By default, the James server prevents relaying of messages that originate from any non-local clients. To enable relaying, search for the string <mailet match="RemoteAddrNotInNetwork=127.0.0.1/8" in the file <JAMES_HOME>/apps/james/SAR-INF/config.xml and change it to
<mailet match="RemoteAddrNotInNetwork=192.168.0.*,127.0.0.1/8",
where 192.168.0.* represents your local LAN's IP prefix. (If you are planning to install Bugzilla and James on the same machine, you can skip this step.)
- Execute <JAMES_HOME>/bin/run.sh (in a Linux environment) or <JAMES_HOME>/bin/run.bat (in Windows).
- Now log in to Bugzilla as an admin user and select mail_delivery_system from the main screen.
- On the next page, set the mail_delivery_method to SMTP.
- Set smtpserver to the IP of the server on which you installed James.
- Save your changes
You can now test Bugzilla. Because the James mail server is totally Java based, you can use this method for both Linux and Windows systems.
Akhilesh Singh
If you have a hot tip and we publish it, we'll pay you. However, due to accounting overhead we no longer pay $10 for a single tip submission. You must accumulate 10 acceptable tips to receive payment. Be sure to include a clear explanation of what the technique does and why it's useful. If it includes code, limit it to 20 lines if possible. Submit your tip here.
|