Yes, I added a domain and users. When I start James by using "run" command, I can receive email from both the added domain's users and outside(etc, hotmail).
When I start James by using "james start", I can not receive email from outside (hotmail). No exception found in log files. If I send an email from the added domain's one user to another user, I saw errors in imapserver.log: INFO 18:40:43,499 | james.imapserver | ID=149461997 Unable to append message to mailbox #private:yare.j...@mydomain.com:Sent org.apache.james.mailbox.exception.MailboxException: Unable to parse message at org.apache.james.mailbox.store.StoreMessageManager.appendMessage(StoreMessageManager.java:383) at org.apache.james.imap.processor.AppendProcessor.appendToMailbox(AppendProcessor.java:135) at org.apache.james.imap.processor.AppendProcessor.doProcess(AppendProcessor.java:72) at org.apache.james.imap.processor.AppendProcessor.doProcess(AppendProcessor.java:48) at org.apache.james.imap.processor.AbstractMailboxProcessor.doProcess(AbstractMailboxProcessor.java:100) at org.apache.james.imap.processor.AbstractMailboxProcessor.process(AbstractMailboxProcessor.java:89) at org.apache.james.imap.processor.AbstractMailboxProcessor.doProcess(AbstractMailboxProcessor.java:83) at org.apache.james.imap.processor.AbstractMailboxProcessor.doProcess(AbstractMailboxProcessor.java:66) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:52) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imap.processor.base.AbstractChainedProcessor.process(AbstractChainedProcessor.java:54) at org.apache.james.imapserver.netty.ImapChannelUpstreamHandler.messageReceived(ImapChannelUpstreamHandler.java:181) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:777) at org.jboss.netty.channel.Channels.fireMessageReceived(Channels.java:296) at org.jboss.netty.handler.codec.frame.FrameDecoder.unfoldAndFireMessageReceived(FrameDecoder.java:327) at org.jboss.netty.handler.codec.frame.FrameDecoder.callDecode(FrameDecoder.java:305) at org.jboss.netty.handler.codec.frame.FrameDecoder.messageReceived(FrameDecoder.java:218) at org.jboss.netty.channel.SimpleChannelUpstreamHandler.handleUpstream(SimpleChannelUpstreamHandler.java:75) at org.jboss.netty.channel.DefaultChannelPipeline.sendUpstream(DefaultChannelPipeline.java:558) at org.jboss.netty.channel.DefaultChannelPipeline$DefaultChannelHandlerContext.sendUpstream(DefaultChannelPipeline.java:777) at org.jboss.netty.handler.execution.ChannelUpstreamEventRunnable.run(ChannelUpstreamEventRunnable.java:44) at org.jboss.netty.handler.execution.OrderedMemoryAwareThreadPoolExecutor$ChildExecutor.run(OrderedMemoryAwareThreadPoolExecutor.java:312) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) Caused by: java.io.IOException: The system cannot find the path specified at java.io.WinNTFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1705) at java.io.File.createTempFile0(File.java:1726) at java.io.File.createTempFile(File.java:1838) at org.apache.james.mailbox.store.StoreMessageManager.appendMessage(StoreMessageManager.java:260) ... 45 more I use mysql database to store mails. The URL, user and password are configured in james-database.property file. On Sun, Jan 13, 2013 at 1:15 AM, Eleonore Charles <eleon...@echarles.net>wrote: > Hi, > > For the mysql jar, yes, we had a bug in beta4 (now fixed in trunk). > To debug them mail receive: > - Did you addd domain and user? > - What does the log say > > > Thx, Eric > > On 13/01/2013 00:52, youth men wrote: > >> Hold on, changed from "wrapper.java.classpath.2=../**conf" to >> "wrapper.java.classpath.2=../**conf/lib" in conf/wrapper.conf file was >> wrong. >> The James server doesn't point to mysql database. >> >> Copied mysql-connector-java-5.1.15-**bin.jar file into lib folder, added >> "wrapper.java.classpath.120=%**REPO_DIR%/mysql-connector-** >> java-5.1.15-bin.jar" >> in conf/wrapper.conf file. The James server starts. And emails can be >> read. >> But the server doesn't receive email. Still something does not config >> correctly. >> >> >> On Sat, Jan 12, 2013 at 7:15 PM, youth men <youthmen...@gmail.com> wrote: >> >> Hi Eric >>> >>> I noticed there is a wrapper.log file in bin folder, That file logs error >>> message. >>> >>> I use mysql database and put mysql-connector-java-5.1.15-**bin.jar file >>> in >>> conf/lib folder. But the wrapper cannot load JDBC driver class >>> 'com.mysql.jdbc.Driver'. >>> >>> I changed "wrapper.java.classpath.2=../**conf" to >>> "wrapper.java.classpath.2=../**conf/lib" in conf/wrapper.conf file. Now >>> I can >>> start the James server by using ./james start >>> >>> Thanks Eric. >>> >>> -James >>> >>> >>> >>> >>> On Sat, Jan 12, 2013 at 5:59 PM, youth men <youthmen...@gmail.com> >>> wrote: >>> >>> I used default settings. what should my dns settings be? >>>> >>>> >>>> On Sat, Jan 12, 2013 at 2:31 PM, Eric Charles <e...@apache.org> wrote: >>>> >>>> (snipped) >>>>> >>>>> INFO 07:36:10,306 | james.dnsservice | Registered cache, resolver >>>>> and >>>>> >>>>>> search paths as DNSJava defaults >>>>>> INFO 07:36:10,680 | james.domainlist | Set autodetect to: true >>>>>> INFO 07:36:10,680 | james.domainlist | Set autodetectIP to: true >>>>>> >>>>>> It looks fine till here. See next below: >>>>>> >>>>>> >>>>>> No more log after? >>>>> If no, can you check you dns settings? >>>>> >>>>> The rest (below) confirms that the server is not started. >>>>> The strange things is that there is no exception in the log (it should >>>>> continue after "Set autodetectIP to: true"). >>>>> >>>>> Thx, Eric >>>>> >>>>> E:\Programs\James\apache-****james-3.0-beta4\bin>james-cli -h >>>>> localhost >>>>> >>>>>> -p 9999 >>>>>> listusers >>>>>> Error connecting to remote JMX agent! >>>>>> java.io.IOException: Failed to retrieve RMIServer stub: >>>>>> javax.naming.****ServiceUnavailableException [Root exception is >>>>>> >>>>>> java.rmi.ConnectException: Connection refused to host: localhost; >>>>>> nested >>>>>> exception is: >>>>>> java.net.ConnectException: Connection refused: connect] >>>>>> at javax.management.remote.rmi.**** >>>>>> RMIConnector.connect(Unknown >>>>>> Source) >>>>>> at javax.management.remote.**** >>>>>> JMXConnectorFactory.connect(** >>>>>> Unknown >>>>>> Source) >>>>>> at >>>>>> org.apache.james.cli.probe.****impl.JmxServerProbe.connect(** >>>>>> JmxServerProbe.java:93) >>>>>> at >>>>>> org.apache.james.cli.probe.****impl.JmxServerProbe.<init>(** >>>>>> JmxServerProbe.java:68) >>>>>> at org.apache.james.cli.****ServerCmd.main(ServerCmd.java:* >>>>>> ***104) >>>>>> Caused by: javax.naming.****ServiceUnavailableException [Root >>>>>> exception >>>>>> >>>>>> is >>>>>> java.rmi.ConnectException: Connection refused to host: localhost; >>>>>> nested >>>>>> exception is: >>>>>> java.net.ConnectException: Connection refused: connect] >>>>>> at com.sun.jndi.rmi.registry.**** >>>>>> RegistryContext.lookup(Unknown >>>>>> Source) >>>>>> at com.sun.jndi.toolkit.url.****GenericURLContext.lookup(** >>>>>> **Unknown >>>>>> Source) >>>>>> at javax.naming.InitialContext.****lookup(Unknown Source) >>>>>> at >>>>>> javax.management.remote.rmi.****RMIConnector.**** >>>>>> findRMIServerJNDI(Unknown >>>>>> Source) >>>>>> at javax.management.remote.rmi.**** >>>>>> RMIConnector.findRMIServer(** >>>>>> Unknown >>>>>> Source) >>>>>> ... 5 more >>>>>> Caused by: java.rmi.ConnectException: Connection refused to host: >>>>>> localhost; nested exception is: >>>>>> java.net.ConnectException: Connection refused: connect >>>>>> at sun.rmi.transport.tcp.****TCPEndpoint.newSocket(Unknown >>>>>> Source) >>>>>> at sun.rmi.transport.tcp.****TCPChannel.createConnection(** >>>>>> **Unknown >>>>>> Source) >>>>>> at sun.rmi.transport.tcp.****TCPChannel.newConnection(**** >>>>>> Unknown >>>>>> Source) >>>>>> at sun.rmi.server.UnicastRef.****newCall(Unknown Source) >>>>>> at sun.rmi.registry.RegistryImpl_****Stub.lookup(Unknown >>>>>> Source) >>>>>> >>>>>> ... 10 more >>>>>> Caused by: java.net.ConnectException: Connection refused: connect >>>>>> at java.net.PlainSocketImpl.****socketConnect(Native >>>>>> Method) >>>>>> at java.net.PlainSocketImpl.****doConnect(Unknown Source) >>>>>> at java.net.PlainSocketImpl.****connectToAddress(Unknown >>>>>> Source) >>>>>> at java.net.PlainSocketImpl.****connect(Unknown Source) >>>>>> at java.net.SocksSocketImpl.****connect(Unknown Source) >>>>>> at java.net.Socket.connect(****Unknown Source) >>>>>> at java.net.Socket.connect(****Unknown Source) >>>>>> >>>>>> at java.net.Socket.<init>(Unknown Source) >>>>>> at java.net.Socket.<init>(Unknown Source) >>>>>> at >>>>>> sun.rmi.transport.proxy.****RMIDirectSocketFactory.**** >>>>>> createSocket(Unknown >>>>>> Source) >>>>>> at >>>>>> sun.rmi.transport.proxy.****RMIMasterSocketFactory.**** >>>>>> createSocket(Unknown >>>>>> Source) >>>>>> ... 15 more >>>>>> >>>>>> E:\Programs\James\apache-****james-3.0-beta4\bin>telnet localhost 25 >>>>>> >>>>>> Connecting To localhost...Could not open connection to the host, on >>>>>> port >>>>>> 25: Connect failed >>>>>> >>>>>> E:\Programs\James\apache-****james-3.0-beta4\bin>telnet 127.0.0.1 25 >>>>>> >>>>>> Connecting To 127.0.0.1...Could not open connection to the host, on >>>>>> port >>>>>> 25: Connect failed >>>>>> >>>>>> >>>>>> On Sat, Jan 12, 2013 at 4:51 AM, Eric Charles <e...@apache.org> >>>>>> wrote: >>>>>> >>>>>> Hi, >>>>>> >>>>>>> What does the log say (log/james-server.log) >>>>>>> What exact cli command do you issue? >>>>>>> What "telnet localhost 25" says? >>>>>>> >>>>>>> Thx, Eric >>>>>>> >>>>>>> >>>>>>> On 11/01/2013 16:30, youth men wrote: >>>>>>> >>>>>>> I can not start Apache James Server 3.0 beta4 by using the ./james >>>>>>> >>>>>>>> start >>>>>>>> in >>>>>>>> Quick Start step 5 in Window 7 and Ubuntu 11. But I can start it >>>>>>>> both >>>>>>>> in >>>>>>>> Window 7 and Ubuntu 11 by using run.bat/run.sh command. >>>>>>>> >>>>>>>> I run the james install command, then james start. I got a message >>>>>>>> says >>>>>>>> james service started, but I still can not connect to the server >>>>>>>> using >>>>>>>> james-cli in Quick Start step 6 either. >>>>>>>> >>>>>>>> What's wrong? Thanks >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------******--------------------------** >>>>>>>> --** >>>>>>>> >>>>>>> --**--------- >>>>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.****** >>>>>>> apache.org< >>>>>>> server-user-**unsubscribe@**james.apache.org<unsubscr...@james.apache.org> >>>>>>> <server-user-**unsubscr...@james.apache.org<server-user-unsubscr...@james.apache.org> >>>>>>> > >>>>>>> >>>>>>>> >>>>>>>> For additional commands, e-mail: server-user-help@james.apache.** >>>>>>> ** >>>>>>> **org<server-user-help@james.****apache.org<server-user-help@** >>>>>>> james.apache.org <server-user-h...@james.apache.org>> >>>>>>> >>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> ------------------------------****----------------------------**--** >>>>> --------- >>>>> >>>>> To unsubscribe, e-mail: server-user-unsubscribe@james.****apache.org< >>>>> server-user-**unsubscr...@james.apache.org<server-user-unsubscr...@james.apache.org> >>>>> > >>>>> For additional commands, e-mail: server-user-help@james.apache.** >>>>> **org<server-user-help@james.**apache.org<server-user-h...@james.apache.org> >>>>> > >>>>> >>>>> >>>>> >>>> >>> >> > ------------------------------**------------------------------**--------- > To unsubscribe, e-mail: > server-user-unsubscribe@james.**apache.org<server-user-unsubscr...@james.apache.org> > For additional commands, e-mail: > server-user-help@james.apache.**org<server-user-h...@james.apache.org> > >