Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 392529

Summary: cannot confgure mail server without TLS
Product: [ECD] Orion Reporter: Rafael Chaves <eclipse>
Component: ServerAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: simon_kaegi
Version: 1.0   
Target Milestone: 2.0 M1   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Rafael Chaves CLA 2012-10-21 13:37:01 EDT
I configured a postfix server that is only accessible from localhost. 

I configured Orion not to authenticate when sending email. 

Yet, I get an exception when the server attempts to send messages:

sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

I believe that is because TLS is enabled in UserEmailUtil:

properties.put("mail.smtp.starttls.enable", "true");

Ideally that setting should come from orion.conf.
Comment 1 Simon Kaegi CLA 2012-10-22 11:43:25 EDT
Seems pretty darn reasonable.
Comment 2 Malgorzata Janczarska CLA 2012-11-06 07:12:01 EST
Done, new property: mail.smtp.starttls.enable