manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Markus Schuch (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CONNECTORS-1296) Email notification connector doesn't work properly for SMTP
Date Fri, 15 Apr 2016 23:36:25 GMT

    [ https://issues.apache.org/jira/browse/CONNECTORS-1296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15243844#comment-15243844
] 

Markus Schuch edited comment on CONNECTORS-1296 at 4/15/16 11:35 PM:
---------------------------------------------------------------------

Tested the patch-2 and modified it slightly -> added patch 3

- removed some unrelated changes in Jobs.java and JobManager.java
- removed setting of {{mail.smtp.ssl.trust=true}}. Setting to true is not right (see below)
and using this property is only needed when the mailserver's ssl cert is not trusted. The
statement in my last comment was not clear about that.

The property {{mail.smtp.ssl.trust}} is a String property: {quote}If set, and a socket factory
hasn't been specified, enables use of a MailSSLSocketFactory. If set to "*", all hosts are
trusted. If set to a whitespace separated list of hosts, those hosts are trusted. Otherwise,
trust depends on the certificate the server presents. {quote}
(https://javamail.java.net/nonav/docs/api/com/sun/mail/smtp/package-summary.html)

Looks good to me now.


was (Author: schuchm):
Tested the patch-2 and modified it slightly -> added patch 3

- removed some unrelated changes in Jobs.java and JobManager.java
- removed setting of {{mail.smtp.ssl.trust=true}}. Setting to true is not right (see below)
and using this property is only needed when the mailserver's ssl cert is not trusted. The
statement in my last comment was not clear about that.

The property {{mail.smtp.ssl.trust}} is a String property: {quote}If set, and a socket factory
hasn't been specified, enables use of a MailSSLSocketFactory. If set to "*", all hosts are
trusted. If set to a whitespace separated list of hosts, those hosts are trusted. Otherwise,
trust depends on the certificate the server presents. {quote}

Looks good to me now.

> Email notification connector doesn't work properly for SMTP
> -----------------------------------------------------------
>
>                 Key: CONNECTORS-1296
>                 URL: https://issues.apache.org/jira/browse/CONNECTORS-1296
>             Project: ManifoldCF
>          Issue Type: Improvement
>          Components: Email connector
>    Affects Versions: ManifoldCF 2.3
>            Reporter: Karl Wright
>            Assignee: Karl Wright
>             Fix For: ManifoldCF 2.4
>
>         Attachments: CONNECTORS-1296-2.patch, CONNECTORS-1296-3.patch, CONNECTORS-1296.patch
>
>
> You can't configure the email connector to work with SMTP; it fails trying to establish
an IMAP or POP connection.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message