[jira] [Commented] (KYLIN-4515) could not send mail on ssl port

2020-10-18 Thread Xiaoxiang Yu (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17216249#comment-17216249
 ] 

Xiaoxiang Yu commented on KYLIN-4515:
-

Resolved in release 3.1.1 (2020-10-18)

> could not send mail on ssl port
> ---
>
> Key: KYLIN-4515
> URL: https://issues.apache.org/jira/browse/KYLIN-4515
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine
>Affects Versions: v3.0.1
>Reporter: CHEN Qing
>Assignee: CHEN Qing
>Priority: Minor
>  Labels: pull-request-available
> Fix For: v3.1.1
>
>
> Here is context of this 
> problem:[https://www.mail-archive.com/user@kylin.apache.org/msg04009.html]
> When I set {{starttlsEnabled}} to true, and specify a ssl port as 465, the 
> email could not be sent by this ssl port. It still use 25 default port.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4515) could not send mail on ssl port

2020-08-21 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17182214#comment-17182214
 ] 

ASF subversion and git services commented on KYLIN-4515:


Commit d8060b658e7835fa3281ab1094bb5b14e622e133 in kylin's branch 
refs/heads/master from Chen Qing
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=d8060b6 ]

KYLIN-4515 fix error with sending mail on ssl (#1214)

Here is context of this 
problem:https://www.mail-archive.com/user@kylin.apache.org/msg04009.html

When we set `starttlsEnabled` to true, specify a ssl port as 465,  emails could 
not be sent by this ssl port, It still use 25 default port. 

The root cause is, with such config above, HTMLEmail client doesn't enable ssl 
connection, so we need to enable ssl connection by `setSSLOnConnect` as well 
when using ssl port.

> could not send mail on ssl port
> ---
>
> Key: KYLIN-4515
> URL: https://issues.apache.org/jira/browse/KYLIN-4515
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine
>Affects Versions: v3.0.1
>Reporter: CHEN Qing
>Priority: Minor
>  Labels: pull-request-available
> Fix For: v3.1.1
>
>
> Here is context of this 
> problem:[https://www.mail-archive.com/user@kylin.apache.org/msg04009.html]
> When I set {{starttlsEnabled}} to true, and specify a ssl port as 465, the 
> email could not be sent by this ssl port. It still use 25 default port.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4515) could not send mail on ssl port

2020-08-21 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17182213#comment-17182213
 ] 

ASF GitHub Bot commented on KYLIN-4515:
---

shaofengshi merged pull request #1214:
URL: https://github.com/apache/kylin/pull/1214


   



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> could not send mail on ssl port
> ---
>
> Key: KYLIN-4515
> URL: https://issues.apache.org/jira/browse/KYLIN-4515
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine
>Affects Versions: v3.0.1
>Reporter: CHEN Qing
>Priority: Minor
>  Labels: pull-request-available
> Fix For: v3.1.1
>
>
> Here is context of this 
> problem:[https://www.mail-archive.com/user@kylin.apache.org/msg04009.html]
> When I set {{starttlsEnabled}} to true, and specify a ssl port as 465, the 
> email could not be sent by this ssl port. It still use 25 default port.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4515) could not send mail on ssl port

2020-08-21 Thread Shao Feng Shi (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17182212#comment-17182212
 ] 

Shao Feng Shi commented on KYLIN-4515:
--

In Email.java, I see:

 
{code:java}
// code placeholder
if (this.isSSLOnConnect()) {
properties.setProperty("mail.smtp.port", this.sslSmtpPort);
properties.setProperty("mail.smtp.socketFactory.port", this.sslSmtpPort);
properties.setProperty("mail.smtp.socketFactory.class", 
"javax.net.ssl.SSLSocketFactory");
properties.setProperty("mail.smtp.socketFactory.fallback", "false");
}
{code}
So I think you're correct, we need to set SSLOnConnect as well.

> could not send mail on ssl port
> ---
>
> Key: KYLIN-4515
> URL: https://issues.apache.org/jira/browse/KYLIN-4515
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine
>Affects Versions: v3.0.1
>Reporter: CHEN Qing
>Priority: Minor
>  Labels: pull-request-available
> Fix For: v3.0.1
>
>
> Here is context of this 
> problem:[https://www.mail-archive.com/user@kylin.apache.org/msg04009.html]
> When I set {{starttlsEnabled}} to true, and specify a ssl port as 465, the 
> email could not be sent by this ssl port. It still use 25 default port.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4515) could not send mail on ssl port

2020-05-24 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17115671#comment-17115671
 ] 

ASF GitHub Bot commented on KYLIN-4515:
---

chenqingspring edited a comment on pull request #1214:
URL: https://github.com/apache/kylin/pull/1214#issuecomment-632772676


   @shaofengshi Hi shaofeng, what do you mean by associating github commit? I'm 
trying to rename this issue start with KYLIN-4515, but it seems not editable. 



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> could not send mail on ssl port
> ---
>
> Key: KYLIN-4515
> URL: https://issues.apache.org/jira/browse/KYLIN-4515
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine
>Affects Versions: v3.0.1
>Reporter: CHEN Qing
>Priority: Minor
>  Labels: pull-request-available
> Fix For: v3.0.1
>
>
> Here is context of this 
> problem:[https://www.mail-archive.com/user@kylin.apache.org/msg04009.html]
> When I set {{starttlsEnabled}} to true, and specify a ssl port as 465, the 
> email could not be sent by this ssl port. It still use 25 default port.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4515) could not send mail on ssl port

2020-05-24 Thread ASF GitHub Bot (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17115623#comment-17115623
 ] 

ASF GitHub Bot commented on KYLIN-4515:
---

chenqingspring commented on pull request #1214:
URL: https://github.com/apache/kylin/pull/1214#issuecomment-633341324


   @shaofengshi somehow ... this issue name could be changed. Tell me if I 
should do anything else?



This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> could not send mail on ssl port
> ---
>
> Key: KYLIN-4515
> URL: https://issues.apache.org/jira/browse/KYLIN-4515
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine
>Affects Versions: v3.0.1
>Reporter: CHEN Qing
>Priority: Minor
>  Labels: pull-request-available
> Fix For: v3.0.1
>
>
> Here is context of this 
> problem:[https://www.mail-archive.com/user@kylin.apache.org/msg04009.html]
> When I set {{starttlsEnabled}} to true, and specify a ssl port as 465, the 
> email could not be sent by this ssl port. It still use 25 default port.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KYLIN-4515) could not send mail on ssl port

2020-05-22 Thread CHEN Qing (Jira)


[ 
https://issues.apache.org/jira/browse/KYLIN-4515?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17113899#comment-17113899
 ] 

CHEN Qing commented on KYLIN-4515:
--

The root cause is, with such config above, HTMLEmail client doesn't enable ssl 
connection, so we need to enable ssl connection by {{setSSLOnConnect}} as well 
when using ssl port.

PR: [https://github.com/apache/kylin/pull/1214]

> could not send mail on ssl port
> ---
>
> Key: KYLIN-4515
> URL: https://issues.apache.org/jira/browse/KYLIN-4515
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine
>Affects Versions: v3.0.1
>Reporter: CHEN Qing
>Priority: Minor
> Fix For: v3.0.1
>
>
> Here is context of this 
> problem:[https://www.mail-archive.com/user@kylin.apache.org/msg04009.html]
> When I set {{starttlsEnabled}} to true, and specify a ssl port as 465, the 
> email could not be sent by this ssl port. It still use 25 default port.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)