You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2019/10/01 02:11:00 UTC
[jira] [Commented] (JAMES-2902) Integration tests for SMTP
extention mechanisms.
[ https://issues.apache.org/jira/browse/JAMES-2902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16941463#comment-16941463 ]
Benoit Tellier commented on JAMES-2902:
---------------------------------------
https://github.com/linagora/james-project/pull/2717 is merged
> Integration tests for SMTP extention mechanisms.
> ------------------------------------------------
>
> Key: JAMES-2902
> URL: https://issues.apache.org/jira/browse/JAMES-2902
> Project: James Server
> Issue Type: Improvement
> Components: SMTPServer, tests
> Affects Versions: 3.4.0
> Reporter: Benoit Tellier
> Priority: Major
>
> Jannik Junk reported on GitHub issues supplying JamesMessageHook:
> {code:java}
> 2019-09-25 11:44:10.060 INFO 30588 --- [w I/O worker #1] o.a.j.p.n.BasicChannelUpstreamHandler : Connection established from 127.0.0.1
> 2019-09-25 11:44:19.726 INFO 30588 --- [w I/O worker #1] d.o.b.s.s.MessageHook : JAMES Sender: sender@email.com
> WARNING: An illegal reflective access operation has occurred
> WARNING: Illegal reflective access by org.jboss.netty.util.internal.ByteBufferUtil (file:/C:/Users/jjung/.gradle/caches/modules-2/files-2.1/io.netty/netty/3.10.6.Final/18ed04a0e502896552854926e908509db2987a00/netty-3.10.6.Final.jar) to method java.nio.DirectByteBuffer.cleaner()
> WARNING: Please consider reporting this to the maintainers of org.jboss.netty.util.internal.ByteBufferUtil
> WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
> WARNING: All illegal access operations will be denied in a future release
> 2019-09-25 11:44:20.256 INFO 30588 --- [w I/O worker #1] o.a.j.p.n.BasicChannelUpstreamHandler : Connection closed for 127.0.0.1
> {code}
> We miss tests on the registration of such components.
> Write integration tests on top of guice-memory demonstrating one can register SMTP extensions.
> This includes the following APIs:
> - MessageHook / JamesMessageHook
> - MailHook / MailParametersHook
> - RcptHook / DeliverToRecipientHook
> - QuitHook
> - HeloHook
> - AuthHook
> - UnknownHook
> - ConnectHandler
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org