Thanks for the support :) 
The JIRA is https://issues.apache.org/jira/browse/GERONIMO-6792, which
includes a patch proposal as SVN diff.
Will also send a follow-up on the CCed mail on the GERONIMO dev list.
Best,Richard

Am Mittwoch, den 02.12.2020, 11:33 +0000 schrieb Jonathan Gallimore:
> > As an alternative, I could create a SVN patch file and send it to
> > the
> Geronimo dev list?
> I'd suggest creating a JIRA, and attaching the patch to that. If you
> canalso follow up here with the JIRA, that would be fantastic.
> Thanks Richard!
> Jon
> On Wed, Dec 2, 2020 at 11:21 AM Zowalla, Richard <
> [email protected]> wrote:
> > Hi,
> > as an update:
> > I was able to locate the SVN repository [1] and did my testing with
> > arelated patch.
> > @Jean-Louis: Can you point me to documentation on how to provide a
> > PRfor Geronimo Java Mail 1.6 ? As an alternative, I could create a
> > SVNpatch file and send it to the Geronimo dev list?
> > Thanks,Richard
> > 
> > 
> > 
> > [1] https://svn.apache.org/repos/asf/geronimo/javamail/trunk
> > 
> > Am Mittwoch, den 02.12.2020, 10:44 +0000 schrieb Zowalla, Richard:
> > > Hi,
> > > thanks for the fast feedback.
> > > I did some debugging and found that the only allowed protocol
> > > is"TLSv1" which is hardcoded
> > > inMailConnection.java#getConnectedTLSSocket().
> > > Can you point me to the source code of the geronomo-
> > > javamail_1.6_mailpackage in v1.0.0 ?
> > > I would like to test, if adding other protocols would solve
> > > theissue.
> > > I only found [1], which is an outdated GitHub Repo. [2] does
> > > notcontain Geronimo Java Mail 1.6
> > > Best,Richard
> > > [1]https://github.com/apache/geronimo-javamail
> > > 
> > > [2]https://github.com/apache/geronimo-specs
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > Am Dienstag, den 01.12.2020, 12:16 +0100 schrieb Jean-Louis
> > > Monteiro:
> > > > Hey Richard,
> > > > Thanks for the detailed email.I have contributed recently to
> > > > Geronimo Mail 1.6 but to be honest Ican'tanswer out of my head.
> > > > Cesar also worked on it, so he might be able to help.Other than
> > > > that, I'm CC'ing Geronimo mailing list. Maybe Romain
> > > > andotherscan help there.
> > > > Jean-Louis
> > > > --Jean-Louis Monteirohttp://twitter.com/jlouismonteiro
> > > > 
> > > > 
> > > > http://www.tomitribe.com
> > > > 
> > > > 
> > > > 
> > > > 
> > > > On Tue, Dec 1, 2020 at 10:55 AM Zowalla, Richard <
> > > > [email protected]
> > > > 
> > > > > wrote:Hi all,
> > > > > I have updated our TomEE instances to 8.0.5 as (Geronimo)
> > > > > JavaMail1.6replaced the rather outdated (Geronimo) Java Mail
> > > > > 1.4 in thisrelease.
> > > > > Up to now, we were using
> > > > >         <dependency>            <groupId>com.sun.mail</groupI
> > > > > d>            <artifactId>jakarta.mail</artifactId>          
> > > > >   <version>1.6.5</version>            <scope>provided</scope>
> > > > >         </dependency>
> > > > > as our mail server is configured to only support TLS 1.2 or
> > > > > TLS1.3.These protocols were not supported by Java Mail 1.4.
> > > > > I recently tried to migrate to the provided Geronimo Java
> > > > > Mail1.6hoping for better protocol support, but I
> > > > > getjava.net.SocketExceptiondue to a
> > > > > javax.net.ssl.SSLHandshakeException with "Received
> > > > > fatalalert: protocol_version".
> > > > > The full stack trace and related debug output can be found
> > > > > here:
> > > > > https://gist.github.com/rzo1/64c23a1d9be752eadf36cf3e1c719ffa
> > > > > 
> > > > > )
> > > > > The mail session is configured as follows:
> > > > > <?xml version="1.0" encoding="utf-
> > > > > 8"?><resources>    <Resource id="tomee/mail/demoSMTP"
> > > > > type="javax.mail.Session">        mail.debug=true        mail
> > > > > .transport.protocol=smtp        mail.smtp.starttls.enable=tru
> > > > > e        mail.smtp.starttls.required=true        mail.smtp.ss
> > > > > l.enable=false        mail.smtp.host=mail.mail-
> > > > > server.com        mail.smtp.port=587        mail.smtp.auth=tr
> > > > > ue
> > > > > [email protected]
> > > > > 
> > > > > 
> > > > >         <!-- your password, and not 'mail.smtp.password' --
> > > > > >        password=fancyPassword    </Resource></resources>
> > > > > Question:
> > > > > - Does anybody have an idea how to get Geronimo Java Mail
> > > > > 1.6talkingvia TLS 1.2 or TLS 1.3 to our mail server?
> > > > > - Is TLS 1.2 / TLS 1.3 supported in Geronimo Java Mail 1.6?
> > > > > If this is the wrong list, please give me an advice which
> > > > > listwould bea better fit.
> > > > > Thanks in advance,Richard Z
> > > > > 
> > > > > 
> > > > > 
> > --Richard Zowalla, M.Sc.Research Associate, PhD Student | Medical
> > Informatics
> > Hochschule Heilbronn – University of Applied SciencesMax-Planck-
> > Str. 39D-74081 Heilbronnphone: +49 7131 504 6791mail: 
> > [email protected]
> > web: https://www.mi.hs-heilbronn.de/
> > 
-- 
Richard Zowalla, M.Sc.Research Associate, PhD Student | Medical Informatics
Hochschule Heilbronn – University of Applied SciencesMax-Planck-Str. 39 D-74081 
Heilbronn phone: +49 7131 504 6791mail: [email protected]: 
https://www.mi.hs-heilbronn.de/ 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to