Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 04:32

    asfgit on master

    [Build] Fasten JMAP Draft memor… [Performance] Avoid loading mai… JAMES-2632 Lazy loading for bac… and 12 more (compare)

  • Apr 01 16:11
    rouazana commented #143
  • Apr 01 13:09
    Daniel-Dos commented #143
  • Apr 01 12:22
    rouazana commented #143
  • Apr 01 03:32

    asfgit on master

    [Performance] Enhance AppendPro… [Performance] Enhance SelectPro… [Performance] Use MailboxId rat… and 11 more (compare)

  • Apr 01 03:13
    Daniel-Dos closed #142
  • Apr 01 03:11
    Daniel-Dos commented #143
  • Apr 01 03:09
    Daniel-Dos synchronize #143
  • Mar 27 02:04

    asfgit on master

    JAMES-2889 Implement jmap proto… JAMES-2890 Setup new JMAP RFC m… JAMES-2890 JMAP ID data type and 52 more (compare)

  • Mar 26 02:41

    asfgit on master

    JAMES-3088 remove mockito ReadO… JAMES-3088 MemoryUsersRepositor… JAMES-3088 Migrating UserReposi… and 13 more (compare)

  • Mar 25 01:41

    asfgit on master

    JAMES-3087 Fix QueryParameterAc… JAMES-3124 Test and recommend u… (compare)

  • Mar 24 02:03

    asfgit on master

    JAMES-3078 Migrate mock SMTP to… JAMES-3078 Remove Jetty utiliti… [Build time] Speedup ComputeMes… and 2 more (compare)

  • Mar 23 02:29

    asfgit on master

    JAMES-3122 Upgrade to log4J2 in… JAMES-3122 Remove LogEnabled de… JAMES-3121 Use TimeWindowCompat… and 5 more (compare)

  • Mar 20 12:15

    asfgit on master

    Upgrade play-json to 2.8 JAMES-3119 Strong type Protocol… JAMES-3113 LocalResources: cosm… and 5 more (compare)

  • Mar 20 04:17

    asfgit on master

    Update downloads links to use d… JAMES-3120 add test to demonstr… JAMES-3120 don't save mail if n… and 7 more (compare)

  • Mar 18 03:03

    asfgit on master

    JAMES-3111 Use a retry policy t… JAMES-3111 Log statements using… [Refactoring] Delete unused cla… and 12 more (compare)

  • Mar 17 10:51

    asfgit on master

    JAMES-3115 Fail when typo in ma… JAMES-3115 Do not catch then re… JAMES-3112 distinguish Domain A… and 14 more (compare)

  • Mar 17 09:35

    asfgit on master

    JAMES-3070 Don't use cache for … JAMES-3070 listCreatedMailQueue… JAMES-3070 strong type MailQueu… and 1 more (compare)

  • Mar 17 04:52

    asfgit on master

    JAMES-3118 Be more explicit whe… JAMES-3118 Minor fixes in manag… [Refactoring] unnecessary expli… and 5 more (compare)

  • Mar 16 09:37

    asfgit on master

    [Refactoring] integrate filePre… JAMES-3072: MailboxesBackup Exp… (compare)

Aaron Regan
@AaronRegan

Hi,
On Mail Server start up we get the following warnings and error:

[main] WARN o.a.a.b.BrokerService [BrokerService.java:2141] Store limit is 102400 mb (current store usage is 0 mb). The data directory: /root/var/store/activemq/brokers/KahaDB only has 22333 mb of usable space. - resetting to maximum available disk space: 22333 mb

[main] WARN o.a.a.b.BrokerService [BrokerService.java:2141] Temporary Store limit is 51200 mb (current store usage is 0 mb). The data directory: /root/var/store/activemq/brokers only has 22333 mb of usable space. - resetting to maximum available disk space: 22333 mb

[main] ERROR c.l.e.m.ElasticsearchReporter [ElasticsearchReporter.java:507] Error adding metrics template to elasticsearch: 400/Bad Request

For the Warnings we cant seem to find where we can adjust the settings to match our available resources. Is it something we should worry about ?

Has anyone came across these when working with James ? Someone had the same issues with the activeMQ warnings in the Gitter chat but there wasn't any response to them.

Any help would be much appreciated.

We are running Apache James Cassandra Guice 3.4.0 using docker

Cheers

John Bester
@johnbester
@raumoithe_gitlab Thanks for the feedback. Would you mind having a look at my mailetcontainer.xml and give me a few pointers?
Tobias
@wolftobias
I'd like to ask how a james/cassandra cluster setup over two datacenters has to be configured?
Trần Tiến Đức
@trantienduchn

Hi @wolftobias, I guess you can specify your contact nodes in side the cassandra.properties configuration file.

cassandra.nodes=node1.ip:9042,node2.ip:9042,node3.ip:9042,...

For more information of configuring James with Cassandra, please take a look at https://james.apache.org/server/config-cassandra.html

Trần Tiến Đức
@trantienduchn
Hi @AaronRegan I never faced with this issue before, seems like the ActiveMQ is using default configuration, I guess you can override that by your custom configuration file
Trần Tiến Đức
@trantienduchn
If you can't, how about trying to allocate more space for the docker container? The configuration file overriding way looks not so promising IMO - I just checked James code and guess that.
Aaron Regan
@AaronRegan

@trantienduchn We had a look to find it in the configuration but doesn't seem to be as you've mentioned

And have you ever came across the Elastic search error ?

jaehong
@jaehong_jeon_gitlab
hello. i try to use james with subdomain. main domain is my.domain.com and subdomain ( mail.my.domain.com ) is registered as mx record in our dns .
after that, do i need to configure anything within james' config file?
SvenMarquardt5772
@SvenMarquardt5772
Does somebody know if james can validate DMARC? Is there an implementation for it?
SvenMarquardt5772
@SvenMarquardt5772
Also is jDKIM compliant to the update of the rfc regarding https://tools.ietf.org/html/rfc8463 signing and verfication using ed25519?
SvenMarquardt5772
@SvenMarquardt5772
Also the javadoc is offline is there a plan to fix this? http://james.apache.org/server/apidocs/index.html
ozzy81
@ozzy81
Hello, is there any reason why POP3 does a STAT soon after login? This behaviour is in the doAuth method of AbstractPassCommandHandler. The stat stores the UIDs for all the messages into the POP3 session. POP3 login takes a long time to succeed when the mailbox has a large number of mails, we tested around 10 seconds for a mailbox containing ~50000 emails.
Trần Tiến Đức
@trantienduchn

Hi @AaronRegan I found this site where it mentions there're space configuration inactivemq.xml. The point is: James doesn't have a configuration item allowing you to load a custom activemq.xml

And have you ever came across the Elastic search error ?

Which kind of error? can you be more specific?

Hello @jaehong_jeon_gitlab I think that's enough for letting your mail server can be found by mail agents.
Trần Tiến Đức
@trantienduchn

Does somebody know if james can validate DMARC? Is there an implementation for it?

Hi @SvenMarquardt5772, I couldn't find any DMARC implementation in James code base.

Also the javadoc is offline is there a plan to fix this? http://james.apache.org/server/apidocs/index.html

I'm sorry, recently we cannot build our API doc website dues to some problems in the build process. It had been reported in https://issues.apache.org/jira/browse/JAMES-2755

Also is jDKIM compliant to the update of the rfc regarding https://tools.ietf.org/html/rfc8463 signing and verfication using ed25519?

Oh, this is new, I'm not sure jDKIM had updated according this, this should be an issue

SvenMarquardt5772
@SvenMarquardt5772
i've made a unit test but i dont know if i used the api correctly
@trantienduchn
@Test
    public void testEd25519() throws PermFailException {
        PublicKeyRecord publicKeyRecord = new PublicKeyRecordImpl(
                "k=ed25519; t=y; p=11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHURo=");
        publicKeyRecord.validate();
        DKIMVerifier.apply(publicKeyRecord, new SignatureRecordImpl("v=1; a=ed25519-sha256; c=relaxed/relaxed;" +
                "d=football.example.com; i=@football.example.com;" +
                "q=dns/txt; s=brisbane; t=1528637909; h=from : to :" +
                "subject : date : message-id : from : subject : date;" +
                "bh=2jUSOH9NhtVGCQWNr9BrIAPreKQjO6Sn7XIkfJVOzv8=;" +
                "b=/gCrinpcQOoIfuHNQIbq4pgh9kyIK3AQUdt9OdqQehSwhEIug4D11Bus" +
                "Fa3bT3FY5OsU7ZbnKELq+eXdp1Q1Dw=="));


    }
the keys are directly from the rfc
SvenMarquardt5772
@SvenMarquardt5772

Does somebody know if james can validate DMARC? Is there an implementation for it?

Hi @SvenMarquardt5772, I couldn't find any DMARC implementation in James code base.

Also the javadoc is offline is there a plan to fix this? http://james.apache.org/server/apidocs/index.html

I'm sorry, recently we cannot build our API doc website dues to some problems in the build process. It had been reported in https://issues.apache.org/jira/browse/JAMES-2755

Also is jDKIM compliant to the update of the rfc regarding https://tools.ietf.org/html/rfc8463 signing and verfication using ed25519?

Oh, this is new, I'm not sure jDKIM had updated according this, this should be an issue

Ok but there was one in planning for google summer of code there is some Documentation. Is there any code left from this event?

SvenMarquardt5772
@SvenMarquardt5772
Aaron Regan
@AaronRegan

@trantienduchn apologises , it was the third one below the activeMQ errors and quite hard too see,

[main] ERROR c.l.e.m.ElasticsearchReporter [ElasticsearchReporter.java:507] Error adding metrics template to elasticsearch: 400/Bad Request

We get this on start up also. however it doesn't seem to lead to any issues when running (the metrics in Grafana seem to be working okay)

Rene Cordier
@Arsnael
@AaronRegan : I forgot exactly what is the cause of this log but pretty sure it's harmless though, no need to worry about :)
jaehong
@jaehong_jeon_gitlab

hello, i try to send email with e-mail client program.

  1. client send request (send mail to example@gmail.com ) to james
  2. james receives request properly, but IOException occurred . logs are below

INFO 13:15:57,136 | org.apache.james.protocols.netty.BasicChannelUpstreamHandler | getChannel
INFO 13:15:57,136 | org.apache.james.protocols.netty.BasicChannelUpstreamHandler | e.getcause = Connection reset by peer
INFO 13:15:57,136 | org.apache.james.protocols.netty.BasicChannelUpstreamHandler | e.getcause = java.io.IOException: Connection reset by peer
INFO 13:15:57,136 | org.apache.james.protocols.netty.BasicChannelUpstreamHandler | channel is connected = false
INFO 13:15:57,136 | org.apache.james.protocols.netty.BasicChannelUpstreamHandler | channel is connected = [id: 0xe05e84d3, 222.122.50.60/222.122.50.60:36052 :> /192.168.158.15:25]
ERROR 13:15:57,137 | org.apache.james.protocols.netty.BasicChannelUpstreamHandler | Unable to process request
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method)
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39)
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223)
at sun.nio.ch.IOUtil.read(IOUtil.java:192)
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:377)
at org.jboss.netty.channel.socket.nio.NioWorker.read(NioWorker.java:64)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.process(AbstractNioWorker.java:108)
at org.jboss.netty.channel.socket.nio.AbstractNioSelector.run(AbstractNioSelector.java:337)
at org.jboss.netty.channel.socket.nio.AbstractNioWorker.run(AbstractNioWorker.java:89)
at org.jboss.netty.channel.socket.nio.NioWorker.run(NioWorker.java:178)

how can i fix it??
at org.jboss.netty.util.ThreadRenamingRunnable.run(ThreadRenamingRunnable.java:108)
at org.jboss.netty.util.internal.DeadLockProofWorker$1.run(DeadLockProofWorker.java:42)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)

SvenMarquardt5772
@SvenMarquardt5772
also how are PR handled? There are many open PRs but in many of them the discussion seem to say that everything is fine and the PR will be merged
Aaron Regan
@AaronRegan
@Arsnael okay thanks! was it something that had appeared in James before ?
digital-pages
@digital-pages

Hi, I am new user to james project
I installed james 3.4.0 I made all configurations, now I am able to send emails from Thunderbird but nothing come to my gmail , I checked the log

INFO 09:43:41,169 | org.apache.james.smtpserver.SendMailHandler | Successfully spooled mail Mail1584611021053-c3492cc3-d4ec-4d06-a8ee-30b9fd1a489

Also I'm trying to send from gmail to james but receive nothing.
I checked MySQL nothing there too.
Any advice?

SvenMarquardt5772
@SvenMarquardt5772
Iam trying to use the JDkim library for verification. But if i use DkimVerify.verifiy(Inputstream) i tries to use an api that is not public
Daniel Dias
@DanielDiasJava_twitter
Hello,

I was looking at the project repository, there are some old PRs from 2019, some that were approved and were not merged.

Is it still there that we send the PR or is it by patch for the jira?

Raphaël Ouazana
@rouazana
@DanielDiasJava_twitter Yes, you can still open PR and they we be reviewed. PR that are not merged are generally because they are pending comments on them, or that the CI failed on them. If it's not one the these 2 cases, don't hesitate to ask on the PR, it's possible we missed one.
Daniel Dias
@DanielDiasJava_twitter
Hi @rouazana , great : ) thanks .
SvenMarquardt5772
@SvenMarquardt5772
hi i tried to compile the spring-server but i run into an issue. After i ran the step docker build -t james_run dockerfiles/run/spring/ i tried to run docker run --hostname HOSTNAME -p "25:25" -p "110:110" -p "143:143" -p "465:465" -p "587:587" -p "993:993" --name james_run -t james_run but i get following exception
```
jvm 1 | WrapperSimpleApp: Encountered an error running main: org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.apache.james.task.Hostname] for bean with name 'hostname' defined in class path resource [META-INF/org/apache/james/spring-server.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: scala/Serializable
jvm 1 | org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.apache.james.task.Hostname] for bean with name 'hostname' defined in class path resource [META-INF/org/apache/james/spring-server.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: scala/Serializable
jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1281)
jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.getTypeForFactoryMethod(AbstractAutowireCapableBeanFactory.java:626)
jvm 1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:573)
jvm 1 | at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1347)
jvm 1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.doGetBeanNamesForType(DefaultListableBeanFactory.java:358)
jvm 1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:327)
jvm 1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:322)
jvm 1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:260)
jvm 1 | at org.apache.james.container.spring.bean.factorypostprocessor.ConfigurationBeanFactoryPostProcessor.postProcessBeanFactory(ConfigurationBeanFactoryPostProcessor.java:61)
jvm 1 | at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:703)
jvm 1 | at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:693)
jvm 1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)
jvm 1 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)
jvm 1 | at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)
jvm 1 | at org.apache.james.container.spring.context.JamesServerApplicationContext.<init>(JamesServerApplicationContext.java:40)
jvm 1 | at org.apache.james.app.spring.JamesAppSpringMain.init(JamesAppSpringMain.java:56)
jvm 1 | at org.apache.james.app.spring.JamesAppSpringMain.main(JamesAppSpringMain.java:42)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
jvm 1 | at java.lang.reflect.Method.invoke(Method.java:498)
jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
jvm 1 | at java.lang.Thread.run(Thread.java:748)
jvm 1 | Caused by: java.lang.NoClassDefFoundError: scala/Serializable
jvm 1 | at java.lang.ClassLoader.defineClass1(Native Method)
jvm 1
is there something wrong with how i build the project?
i tried to build from master
Nightloewe
@Nightloewe
public HookResult doAuth(SMTPSession session, String username, String password) {
        InetAddress addr = session.getRemoteAddress().getAddress();

        try {
            //Only allow local ip address to login
            if(addr.isAnyLocalAddress() || addr.isLoopbackAddress() || NetworkInterface.getByInetAddress(addr) != null) {
                return HookResult.OK;
            }
        } catch (SocketException e) {
        }

        return HookResult.DENY;
}
Does this work in order to deny all smtp request without the ones from my local server?
I don't know which HookResult is right for an AuthHook, sorry
John Wullert
@316212
Discovered james will looking for an SMTP transfer server. Question: does it support RFC 6710 - Message Transfer Priorities? If not, any plans to support priority in the future?
Daniel Dias
@DanielDiasJava_twitter
Hi guys, I was thinking about translating the README to en-br, do you find it interesting? Does it make sense? -> https://github.com/apache/james-project/blob/master/README.adoc
Chaitanya Munukutla
@c16a
Noob question - can my Apache James server be plugged in with a mailet which can send emails to a Gmail inbox?
Raphaël Ouazana
@rouazana
@c16a yes probably, in fact you just need to configure RRT (rewrite tables) for this
Gurpreet Singh Bharj
@Gurpree26130959_twitter
Hi All, please clarify. Does James server supports integration with Mongo DB ?
Raphaël Ouazana
@rouazana
@Gurpree26130959_twitter no
Gurpreet Singh Bharj
@Gurpree26130959_twitter
thanks, do you have any reference for it which says it does not support.
Gurpreet Singh Bharj
@Gurpree26130959_twitter
thanks @rouazana Do we have a plan to support Mongo DB in future, if Yes when we can accept it
Raphaël Ouazana
@rouazana
@Gurpree26130959_twitter for now we are focus on refining the Cassandra implementation. So not in a near feature. Contributions are welcomed on this anyway
Gurpreet Singh Bharj
@Gurpree26130959_twitter
thanks a lot
Aaron Regan
@AaronRegan

Hi,

I'm wondering whether James supports concurrent access of the same mailbox using POP3 or if the first access sets an exclusive-access lock such that the second access is blocked ?

Thanks

noxsener
@noxsener
Hi,
I was read many times of Apache James installation, (win10 64x) i set localhost in hosts file, but why i'm getting;
"java.lang.IllegalStateException: Lookup of localhost A isn't done"
Am i need a DNS service?
noxsener
@noxsener

Can someone help me?
I'm trying to build, i had error,
I'm trying to install, i had error,

Mostly transaction, JPA errors for application, Task classes (scala) for building.

noxsener
@noxsener
I had finished to start server with version of 3.0.0.
No error, no problem