| Summary: | [server] SMTP gateway settings in orion.conf do not allow STARTTLS | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Anthony Hunter <ahunter.eclipse> | ||||
| Component: | Server | Assignee: | Anthony Hunter <ahunter.eclipse> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | john.arthorne, ken_walker | ||||
| Version: | 5.0 | Flags: | ken_walker:
pmc_approved+
ahunter.eclipse: review? (john.arthorne) |
||||
| Target Milestone: | 6.0 M1 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Anthony Hunter
Created attachment 240090 [details]
Patch to fix the issue
Attached the code that adds these two settings if the exist in your orion.conf:
mail.smtp.starttls.enable=true
mail.debug=true
I looked at the code again and in fact the property is there at the top of the method:
properties.put("mail.smtp.starttls.enable", PreferenceHelper.getString(ServerConstants.CONFIG_MAIL_SMTP_STARTTLS, "true"));
I did not figure out I had to specify mail.smtp.starttls.enable until I figured out how to turn on debugging with mail.debug.
So the real bug here is that you cannot debug rather than you cannot specify STARTTLS.
This is not unnecessarily a must fix for 5.0, although this fix is minor and a lifesaver if trying to debug using the orion binary.
I have updated the reference web-ide.conf with the settings that were missing: http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=ea4315e4844f81b82cc9d3d6bb449b41e5c0e4d4 I also added the missing setting to the server: http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=c14e2e60a6611dd274e9c87dd4fca0b4a47d99a2 I also updated the server administration guide and added the two settings to the email configuration documentation: https://wiki.eclipse.org/Orion/Server_admin_guide#Email_configuration |