Re: mailbox over HDFS/HBase
See my comments inline. Tks, - Eric On 24/05/2011 07:44, Norman wrote: snip First, about email : - emails are essentially immutable. Once created they do not modify. - meta information is read/write (like the status - read/unread). maybe other stuff, I still have to get up to date. The only read-write you need to care about are the FLAGS. Nothing else is allowed to get changed once the mail is stored. So you have: - Append message + metadata - Delete message + metadata - Change FLAGS which is stored as metadata Very good summary :) I would also add the mailbox to the message metadata. Maybe implicit when you say message, but depending on the choices, the way we'll implement may vary completely. The mailbox of the message is r/w because user can move a message from a mailbox to another. snip - you can delete an email, but other than that you can't modify it. - users usually access the last 50-100 emails (my observation) Kind of.. you often see an IMAP client todo some big FETCH on the first connect to see if there are changes in the mailbox. Like a FETCH 1:* (FLAGS) Yes, I regulary see that when I debug with wireshark some imap traffic. The full fetch can take some time for large mailboxes... This will hopefully get improved when Apache James IMAP supports the CONDSTORE[a] and QRESYNC[b] extensions. But thats on my todo list ;) Unfortunally this will need to change the API of the current mailbox release (0.2), but thats not something you should care about atm. Just use the 0.2 release for your development yes, let's stick to 0.2 release to not be impacted by upcoming changes in trunk. About HDFS: - is designed to work well with large data with the order of magnitude of GB and beyond. It has a block size 64 MB. This enables less disk seeks when reading a file, because the file is less fragmented. It uses bulk reads and writes enables to HDFS to perform better: all the data is in one place, and you have a small number of open file handlers, which means less over-heed. - does not provide random file alteration. HDFS only supports APPEND information at the end of an existing file. If you need to modify a file, the only way to do it is to create a new file with the modifications. I thought we could do something similar to maildir which use the filename as meta-data container. See [c] and [d]. Not sure about the small file problem here ;) Yes, no experience either with many small files in hadoop, but let's trust what the hadoop community says and writes :) HBase: - is a NoSQL implementation over Hadoop. - provides the user a way to store information and access it very easily based on some keys. - provides a way to modify the files by keeping a log, similar to the way journal file systems work: it appends all the modifications to a log file. When certain conditions are met the log file is merged back into the „database”. HBase sounds like a good fit ... +1 HBase is not difficult to install, well documented and the client API is very well done. Facebook's mailing system is built upon it. My conclusions: Because emails are small and require that a part of them needs to be changed, storing them in a filesystem that was designed for large files, which does not provide a way to modify these files is not a sensible thing to do. I see a couple of choices: 1. we use HBase 2. we keep the meta information in a separate database, outside Hadoop, but things will not scale very well. 3. we design it on top of HDFS, but essentially we (I) will end up solving the same problems that HBase solved Using a seperate database for meta-information will only work if we can store it in a distributed fashion. Otherwise it just kills all the benefits of hadoop. Maybe storing the meta-data in a distributed SOLR index could do the trick, not sure. The most easy and straight forward solution is to use HBase, There is a paper [3] that shows some results with an email store based on Cassandra, so it is proven to work. I wrote a prototype which use cassandra for Apache James Mailbox, which is not Open-Source (yet?). It works quite well but suffer from any locking, so you need some distributed locking service like hazelcast [e]. So using NoSQL should work without probs, you just need to keep in mind how the data is accessed. I am thinking of using Gora and avoiding to use HBase API directly. This will ensure that James could use any NoSQL storage that Gora can access. What keeps me back is that Gora does not seem to be very active and it's also incubating so I may run into things not easy to get out of. Maybe its just me but I still think a ORM mapper can just not work well in the NoSQL world. As you need to design your storage in the way you access the data. I would prolly just use the HBase API. What do you think? [1] http://comments.gmane.org/gmane.comp.jakarta.lucene.hadoop.user/26022 [2] http://vimeo.com/search/videos/search:cloudera/st/48b36a32 [3]
Re: mailbox over HDFS/HBase
On 24/05/2011 07:44, Norman wrote: I wrote a prototype which use cassandra for Apache James Mailbox, which is not Open-Source (yet?). It works quite well but suffer from any locking, so you need some distributed locking service like hazelcast [e]. So using NoSQL should work without probs, you just need to keep in mind how the data is accessed. mailbox-cassandra, interesting ;) I am thinking of using Gora and avoiding to use HBase API directly. This will ensure that James could use any NoSQL storage that Gora can access. What keeps me back is that Gora does not seem to be very active and it's also incubating so I may run into things not easy to get out of. Maybe its just me but I still think a ORM mapper can just not work well in the NoSQL world. As you need to design your storage in the way you access the data. I would prolly just use the HBase API. +1 What do you think? [1] http://comments.gmane.org/gmane.comp.jakarta.lucene.hadoop.user/26022 [2] http://vimeo.com/search/videos/search:cloudera/st/48b36a32 [3] http://ewh.ieee.org/r6/scv/computer/nfic/2009/IBM-Jun-Rao.pdf Hope it helps, Norman [a] http://tools.ietf.org/html/rfc4551 [b] http://tools.ietf.org/search/rfc5162 [c] http://cr.yp.to/proto/maildir.html [d] http://www.courier-mta.org/imap/README.maildirquota.html [e] http://www.hazelcast.com/ - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: mailbox over HDFS/HBase
Yes, let's go this way (I will put some links in the initial GSoC JIRA). Your exams first! You will have plenty of time when they will be finished :) In first instance, I think you have to correctly have in hand the james mailbox implementations and the hbase api. mailbox-hbase implementation can happen just after the samples/tests you would do. Tks, - Eric On 24/05/2011 21:21, Ioan Eugen Stan wrote: To summarize the whole discussion above: - We will use HBase, with HBase API - we will use [1] to centralize the information about how the emails are handled (what is immutable, the flags, etc.) - I will try to define a data model/ schema designed for HBase / NoSQL storage and submit it to discussion on the Hadoop/HBase mailing list - start writing some code. [1] https://issues.apache.org/jira/browse/MAILBOX-72 Note: I am also during my exam session so I will not be dedicating all of my time to the project. This session will end on june 10, but I plan to have some things working by then. - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: ActiveMQ and memory problems
Sorry, I was meaning remove the prefetch policy. For mails blocked in queues, you can read more on http://markmail.org/message/v4zxfkbkjjllwrbb and try get more information from the jmx console for those messages and on the activemq mbeans. Tks, - Eric On 25/05/2011 16:09, Eric Charles wrote: OK, so you're using a snapshot of 23/5, just after the commit [1] of 20/5. If you still encounter the OOM, you can further analyse with eclipse mat [2] for example and ask for suspects. It will show you the objects that eat memory (launch james with standard Mx 512M, otherwise you will need more time to laod dump). Optionally, you can try to re-add the prefetchPolicy in james-server-context.xml (see changes from [1]). Tks, - Eric [1] http://s.apache.org/30x [2] http://www.eclipse.org/mat/ On 25/05/2011 15:56, Nicola Salvemini wrote: Hi Eric, I'm using snapshot james-server-container-spring-3.0-M3-20110523.043027-400 now I'll try to install snapshot james-server-container-spring-3.0-M3-20110525.115759-407 and I'll add the complete debugging path in the startup script to further analyse the dump. Many thanks for your help, Nicola. On Wed, 2011-05-25 at 15:17 +0200, Eric Charles wrote: Tks for your answer. So you've got more or less the same configuration as I have: - maildir - low smtp traffic (I've got a bit more with the spam, but it's rejected via smtp hook) - not many users My config here is really stable after weeks (no oom, low memory consumption when i monitor via JMX, blob-transfer folders empty). Yes, it sounds like some mails remains blocked, giving the issue. Would it come from recent https://issues.apache.org/jira/browse/JAMES-1253 ? btw, which version are you using ? The complete debugging path would be to add -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/your_path in the startup script and to further analyse the dump: it will give for sure the cause of oom. - Eric On 25/05/2011 15:02, Nicola Salvemini wrote: On Wed, 2011-05-25 at 12:16 +0200, Eric Charles wrote: Hi, Hi, Can you give us a rough estimate of the traffic you have? Mainly SMTP? How many incoming mails/requests per second? at this time we don't have very high mail traffic, more or less 500/600 mail per day. James is configured as smtp and imap servers and I think that most of the traffic is IMAP (currently there are about ten active clients at the same time making requests to the James IMAP server). This will allow us to better define the place to look at. Also, is the CPU always remain 100% when you have that issue? Yes, it is in most cases. Is the log still showing messages after the OOM? Yes, please consider following log sequence: DEBUG 04:51:13,425 | james.smtpserver | Unable to process request java.lang.OutOfMemoryError: PermGen space DEBUG 04:51:16,731 | james.imapserver | ID=2085331846 Gottag: 1125 DEBUG 04:51:16,731 | james.imapserver | ID=2085331846 Gotcommand: noop DEBUG 04:51:16,731 | james.smtpserver | ID=1200023601 executing hook org.apache.james.protocols.smtp.core.log.HookResultLogger@5ae99cbb DEBUG 04:51:16,731 | james.smtpserver | Unable to process request java.lang.OutOfMemoryError: PermGen space DEBUG 04:51:16,731 | james.smtpserver | Unable to process request java.lang.OutOfMemoryError: PermGen space DEBUG 04:51:13,425 | james.smtpserver | Unable to process request java.lang.OutOfMemoryError: PermGen space DEBUG 04:51:13,425 | james.imapserver | ID=2140019352 Gottag: A05974 I noticed that sometimes the problem occurs for a blockage of ActiveMQ. For some reason it happens that not all spooled mail will be processed and they remain in store/activemq/blob-transfer/ folder. If the number of mail rises too high then the problem occurs. Last thing: James is installed on a server machine whit following characteristics: OS: Opensuse 11.4 64bit Linux kernel 2.6.37.6-0.5 java version: 1.6.0_25 RAM: 8Gb Architecture: x86_64 CPU(s): 6 On-line CPU(s) list: 0-5 Thread(s) per core: 1 Core(s) per socket: 6 CPU socket(s): 1 Vendor ID: AuthenticAMD CPU family: 16 Model: 8 Stepping: 1 CPU MHz: 2599.966 BogoMIPS: 5200.12 Virtualization: AMD-V Thanks for your help, Nicola. Tks, - Eric On 25/05/2011 11:54, Nicola Salvemini wrote: Hello, I'm using James 3.0-M3 with maildir. Everything works fine for one or two days until I start having memory problems and I need to restart James. The problems begin with a long series of messages such as WARN 04:46:27,928 | org.apache.activemq.broker.jmx.ManagedRegionBroker | Failed to register MBean: org.apache.activemq:BrokerName=james,Type=Subscription,persistentMode=Non-Durable,destinationType=Queue,destinationName=spool,clientId=ID_alice-58445-1306246275420-4_1,consumerId=ID_alice-58445-1306246275420-3_1_22_4524 WARN 04:46:27,928 | org.apache.activemq.broker.jmx.ManagedRegionBroker | Failed to register MBean: org.apache.activemq:BrokerName=james,Type=Subscription,persistentMode=Non-Durable,destinationType=Queue,destinationName=spool
Re: mailbox over HDFS/HBase
Yes, data transfer on the network is for now the main latency cause. However, there are still some optimization to implement regarding large queries. For now, it is batched (batch of 100 I think), but solution like you propose would be better (depending on mailbox implementation to support streaming). Tks, - Eric On 25/05/2011 16:53, Robert Burrell Donkin wrote: On Tue, May 24, 2011 at 12:24 PM, Eric Charlese...@apache.org wrote: snip On 24/05/2011 07:44, Norman wrote: snip - users usually access the last 50-100 emails (my observation) Kind of.. you often see an IMAP client todo some big FETCH on the first connect to see if there are changes in the mailbox. Like a FETCH 1:* (FLAGS) Yes, I regulary see that when I debug with wireshark some imap traffic. The full fetch can take some time for large mailboxes... even pushing the data over the wire for these FETCHes takes a while. i had it in mind to use streaming paged retrieval with asynchronous writing to solve this... Robert - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [SERVER] Remove Jackrabbit from the bundled distribution (for now)
+1 Lucene benefit is too important (especially for maildir) to not ship it, and users won't probably not test JCR mailbox in first instance. Tks, - Eric On 09/06/11 18:48, Norman Maurer wrote: Hi there, I think we should not ship Jackrabbit with the bundled distribution for now. Mainly because it still use Lucene 2.4.x and we need 3.x for our MessageSearchIndex which will be included in the next mailbox release. If someone really wants to use JCR with an embedded Jackrabbit instance he can still copy over the jars and configure it. Jackrabbit 3.x will use Lucene 3.x, but it will take some time till it gets released... WDYT ? Bye, Norman - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Imap status
Hi, This weekend, I will test server-beta1 (ok so far), imap-2.0.1 and will update documentation for the releases. Is the following correct (Norman was so fast I could even not follow him :) IMAP4rev1 2.0 LITERAL+ 2.0 CHILDREN ? I18NLEVEL=1 2.0.1 WITHIN 2.0.1 ESEARCH 2.0.1 SEARCHRES 2.0.1 IDLE 2.0 NAMESPACE 2.0 UIDPLUS 2.0 UNSELECT 2.0.1 AUTH=PLAIN 2.0.1 SASL-IR 2.0.1 ENABLE 2.0.1 Also, are there specific tests for all these imap extensions (what is the test coverage ?). Tks, - Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Imap status
0.2.x, of course :) I will add a table on the imap web site with the supported extension per version. Sure, we can rely for now on dovecot testsuite. For the how to test, we can simply link for now to http://www.imapwiki.org/ImapTest In the long run, mailbox-integration-tests could be enhanced. Tks, - Eric On 11/06/11 12:53, Norman Maurer wrote: Hi there, first of its 0.2 and 0.2.1 ;) For the rest see inside Am Samstag, 11. Juni 2011 schrieb Eric Charlese...@apache.org: Hi, This weekend, I will test server-beta1 (ok so far), imap-2.0.1 and will update documentation for the releases. Is the following correct (Norman was so fast I could even not follow him :) IMAP4rev1 2.0 0.2 LITERAL+ 2.0 0.2 CHILDREN 0.2 I18NLEVEL=1 2.0.1 0.2.1 WITHIN 2.0.1 0.2 ESEARCH 2.0.1 0.2.1 SEARCHRES 2.0.1 0.2.1 IDLE 2.0 0.2 NAMESPACE 2.0 0.2 UIDPLUS 2.0 0.2 UNSELECT 2.0.1 0.2 AUTH=PLAIN 2.0.1 0.2.1 SASL-IR 2.0.1 0.2.1 ENABLE 2.0.1 0.2.1 Also, are there specific tests for all these imap extensions (what is the test coverage ?). You can most of them test with dovecot's imaptest. I will write an email later and explain how Tks, - Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org bye norman - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: let the coding start
Hi Ioan, Even if James can be considered as a replacement for existing de-facto mailservers (simply for example by taking the maildir folder), the adoption will probably occur for some special use cases: - Mail integration in existing JAVA applications/environment - Mail processing during the spool, for some functions such as transformation, ai (artificial intelligence)... - Deployment in the cloud (amazon...) with the addition of some components such as a distributed mailbox... - IMAP extensions that wouldn't be implemented by others - ... For standard usage correctly served by today servers, the chance is high that we won't find today much echo in the classical segment. This may change as more and more James installations arise. About the HBase samples, you can look at [1]. HBase needs Hadoop behind, so [2] could be interesting, even if the Hadoop API should normally not be called directly. I will also ping the hbase mailing list that we launch a GSOC with their component (don't forget to register to their mailing list if this is not already the case). Tks, - Eric [1] https://github.com/echarles/t4f-hbase [2] https://github.com/echarles/t4f-hadoop On 10/06/11 00:02, Ioan Eugen Stan wrote: Well, the presentation went smooth, you can read more about it on my blog. The slides and the video will be available on slideshare and blip.tv soon. James was new to them. I don't think I convinced the one/two sys-admins to switch from postfix, but they have some different needs and a well background with postfix. I hope I will be able to make a workshop later and install James and run some tests (hopefully around HBase). That's another story. If there's anyone out there who wants to learn how to code protocols in Java, this is a good opportunity to jump in :-) Unfortunately it's not that kind of a crowd. More like general type opensource enthusiasts and sys-admins. I managed to talk to someone and he will put me in contact with the programmers who will probably find this kind of activity more appealing. This will happen at some next events. Regards, - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: let the coding start
There's also Lars' git with code that will be used for the O'Reilly book HBase Definitive Guide (in pre-order). It seems that you need a real cluster running the code. I will also ping on that. https://github.com/larsgeorge/hbase-book http://oreilly.com/catalog/0636920014348 Tks, - Eric On 11/06/11 16:42, Eric Charles wrote: Hi Ioan, Even if James can be considered as a replacement for existing de-facto mailservers (simply for example by taking the maildir folder), the adoption will probably occur for some special use cases: - Mail integration in existing JAVA applications/environment - Mail processing during the spool, for some functions such as transformation, ai (artificial intelligence)... - Deployment in the cloud (amazon...) with the addition of some components such as a distributed mailbox... - IMAP extensions that wouldn't be implemented by others - ... For standard usage correctly served by today servers, the chance is high that we won't find today much echo in the classical segment. This may change as more and more James installations arise. About the HBase samples, you can look at [1]. HBase needs Hadoop behind, so [2] could be interesting, even if the Hadoop API should normally not be called directly. I will also ping the hbase mailing list that we launch a GSOC with their component (don't forget to register to their mailing list if this is not already the case). Tks, - Eric [1] https://github.com/echarles/t4f-hbase [2] https://github.com/echarles/t4f-hadoop On 10/06/11 00:02, Ioan Eugen Stan wrote: Well, the presentation went smooth, you can read more about it on my blog. The slides and the video will be available on slideshare and blip.tv soon. James was new to them. I don't think I convinced the one/two sys-admins to switch from postfix, but they have some different needs and a well background with postfix. I hope I will be able to make a workshop later and install James and run some tests (hopefully around HBase). That's another story. If there's anyone out there who wants to learn how to code protocols in Java, this is a good opportunity to jump in :-) Unfortunately it's not that kind of a crowd. More like general type opensource enthusiasts and sys-admins. I managed to talk to someone and he will put me in contact with the programmers who will probably find this kind of activity more appealing. This will happen at some next events. Regards, - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Why does SMTP sending mail w/o authentication?
Hi Barry, Yes, you're right. The documentation we will put online with the release of sever beta1 will state for authorizedAddresses in smtpserver.xml If you use SMTP AUTH, addresses that match those specified here will be permitted to relay without SMTP AUTH. If you do not use SMTP AUTH, and you specify addreses here, then only addresses that match those specified will be permitted to relay. Addresses may be specified as a an IP address or domain name, with an optional netmask, e.g. 127.*, 127.0.0.0/8, 127.0.0.0/255.0.0.0, and localhost/8 are all the same See also the RemoteAddrNotInNetwork matcher in the transport processor. You would generally use one OR the other approach. Tks, - Eric On 12/06/11 03:57, Barry wrote: Hi maybe I made a mistake here. authorizedAddresses127.0.0.0/8/authorizedAddresses does this line mean the localhost will automatically be authorized? is it correct? Thanks, Barry 2011/6/12 Barryyi@bitrustar.com Hi I am using the James-M3-Snapshot-06012011, I am being confused by smtp authentication issue. The smtpserver.xml content as below: smtpserver enabled=true bind0.0.0.0:25/bind connectionBacklog200/connectionBacklog tls socketTLS=false startTLS=false /tls connectiontimeout360/connectiontimeout connectionLimit 0/connectionLimit connectionLimitPerIP 0/connectionLimitPerIP authorizedAddresses127.0.0.0/8/authorizedAddresses authRequiredtrue/authRequired verifyIdentitytrue/verifyIdentity maxmessagesize0/maxmessagesize addressBracketsEnforcementtrue/addressBracketsEnforcement handlerchain enableJmx=true handler class=org.apache.james.smtpserver.fastfail.ValidRcptHandler/ handler class=org.apache.james.smtpserver.CoreCmdHandlerLoader/ /handlerchain /smtpserver But the smtp server can't do authentication, just saying it allows any user to send mail. could you please tell me what is wrong here? Thanks a lot Barry - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Imap status
Hi, I'm a bit lost... The vote for imap-0.2.1 is open wich is coherent with [1] (only 0.2 is release) However, the beta1 proposal (I'm running fine now btw) refers and contains a imap-0.2.1 which is not yet released. I must miss something... Tks, - Eric [1] https://repository.apache.org/content/repositories/releases/org/apache/james/apache-james-imap-api/ On 11/06/11 13:01, Eric Charles wrote: 0.2.x, of course :) I will add a table on the imap web site with the supported extension per version. Sure, we can rely for now on dovecot testsuite. For the how to test, we can simply link for now to http://www.imapwiki.org/ImapTest In the long run, mailbox-integration-tests could be enhanced. Tks, - Eric On 11/06/11 12:53, Norman Maurer wrote: Hi there, first of its 0.2 and 0.2.1 ;) For the rest see inside Am Samstag, 11. Juni 2011 schrieb Eric Charlese...@apache.org: Hi, This weekend, I will test server-beta1 (ok so far), imap-2.0.1 and will update documentation for the releases. Is the following correct (Norman was so fast I could even not follow him :) IMAP4rev1 2.0 0.2 LITERAL+ 2.0 0.2 CHILDREN 0.2 I18NLEVEL=1 2.0.1 0.2.1 WITHIN 2.0.1 0.2 ESEARCH 2.0.1 0.2.1 SEARCHRES 2.0.1 0.2.1 IDLE 2.0 0.2 NAMESPACE 2.0 0.2 UIDPLUS 2.0 0.2 UNSELECT 2.0.1 0.2 AUTH=PLAIN 2.0.1 0.2.1 SASL-IR 2.0.1 0.2.1 ENABLE 2.0.1 0.2.1 Also, are there specific tests for all these imap extensions (what is the test coverage ?). You can most of them test with dovecot's imaptest. I will write an email later and explain how Tks, - Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org bye norman - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Apache James IMAP 0.2.1
[x] +1 Go ahead - Eric On 09/06/11 18:44, Norman Maurer wrote: Hi there, its time again for the next IMAP release before we move forward and need the new mailbox api changes. This release does not need any api changes from the 0.2 release. Changes: https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truemode=hidejqlQuery=project+%3D+IMAP+AND+fixVersion+%3D+%220.3%22+AND+resolution+in+%28Fixed%2C+%22Won%27t+Fix%22%2C+Duplicate%2C+Invalid%2C+Incomplete%2C+%22Cannot+Reproduce%22%2C+Later%2C+%22Not+A+Problem%22%29 Please review and cast your vote: https://repository.apache.org/content/repositories/orgapachejames-062/ [ ] +1 Go ahead [ ] +0 No time to review [ ] -1 Something wrong with it - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Why does SMTP sending mail w/o authentication?
On 12/06/11 10:04, Barry wrote: Hi Eric, I think we need to customize code and the mapping. We need the most important feature that quota every mailbox, maybe we need to implement a new mailet, I see there is a quota-matcher in the current version, but it is too simple for me. and also need to do some I18N work. could you please send me the doc in advance? I need to be familiar with James configuration and mailet/matcher api. Thank you very much. 2011/6/12 Eric Charles e...@apache.org mailto:e...@apache.org Hi Barry, It's a matter of days for BETA1 (maybe 2 weeks, the time to have vote, uploads in maven, site, doc update...) - code and doc are available, so just a matter of doing the release. You can already customize with with additional mapping... files. We have example for this in [1]. Are you thinking to other type of customization which would need more than configuration, I mean some API,... change in the code? Tks, - Eric [1] https://svn.apache.org/repos/asf/james/server/trunk/container-spring/src/main/config/examples/META-INF/ On 12/06/11 07:42, Barry wrote: Hi Eric, when will you plan to release the James BETA1? the JPA-mailbox v0.2 will be still used in BETA1? because we have some specified requirement, we have to do some customization on JPA-mailbox, Thanks, Barry 2011/6/12 Eric Charles e...@apache.org mailto:e...@apache.org mailto:e...@apache.org mailto:e...@apache.org Hi Barry, Yes, you're right. The documentation we will put online with the release of sever beta1 will state for authorizedAddresses in smtpserver.xml If you use SMTP AUTH, addresses that match those specified here will be permitted to relay without SMTP AUTH. If you do not use SMTP AUTH, and you specify addreses here, then only addresses that match those specified will be permitted to relay. Addresses may be specified as a an IP address or domain name, with an optional netmask, e.g. 127.*, 127.0.0.0/8 http://127.0.0.0/8 http://127.0.0.0/8, 127.0.0.0/255.0.0.0 http://127.0.0.0/255.0.0.0 http://127.0.0.0/255.0.0.0, and localhost/8 are all the same See also the RemoteAddrNotInNetwork matcher in the transport processor. You would generally use one OR the other approach. Tks, - Eric On 12/06/11 03:57, Barry wrote: Hi maybe I made a mistake here. authorizedAddresses127.0.0.0/8 http://127.0.0.0/8 http://127.0.0.0/8/authorizedAddresses does this line mean the localhost will automatically be authorized? is it correct? Thanks, Barry 2011/6/12 Barryyi@bitrustar.com mailto:yi@bitrustar.com mailto:yi@bitrustar.com mailto:yi@bitrustar.com Hi I am using the James-M3-Snapshot-06012011, I am being confused by smtp authentication issue. The smtpserver.xml content as below: smtpserver enabled=true bind0.0.0.0:25 http://0.0.0.0:25 http://0.0.0.0:25/bind connectionBacklog200/connectionBacklog tls socketTLS=false startTLS=false /tls connectiontimeout360/connectiontimeout connectionLimit 0/connectionLimit connectionLimitPerIP 0/connectionLimitPerIP authorizedAddresses127.0.0.0/8 http://127.0.0.0/8 http://127.0.0.0/8/authorizedAddresses authRequiredtrue/authRequired verifyIdentitytrue/verifyIdentity maxmessagesize0/maxmessagesize addressBracketsEnforcementtrue/addressBracketsEnforcement handlerchain enableJmx=true handler class=org.apache.james.smtpserver.fastfail.ValidRcptHandler/ handler class=org.apache.james.smtpserver.CoreCmdHandlerLoader/ /handlerchain /smtpserver But the smtp server can't do authentication, just saying it allows any user to send mail. could you please tell me what is wrong here? Thanks a lot Barry - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org mailto:server-dev-unsubscr...@james.apache.org mailto:server-dev-unsubscr...@james.apache.org mailto:server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org mailto:server-dev-h...@james.apache.org mailto:server-dev-h
Re: svn commit: r1134971 - /james/server/trunk/container-spring/src/assemble/bin.xml
Also builds for me, but produces beta2 (pom probably defined for next iteration) Tks, - Eric On 12/06/11 22:10, Norman Maurer wrote: Huh ? Why it can't be build ? It worked for me ... Bye, Norman 2011/6/12rdon...@apache.org: Author: rdonkin Date: Sun Jun 12 19:56:04 2011 New Revision: 1134971 URL: http://svn.apache.org/viewvc?rev=1134971view=rev Log: JAMES-1263 The binary cannot be built, so less confusing not to include the build instructions. Modified: james/server/trunk/container-spring/src/assemble/bin.xml Modified: james/server/trunk/container-spring/src/assemble/bin.xml URL: http://svn.apache.org/viewvc/james/server/trunk/container-spring/src/assemble/bin.xml?rev=1134971r1=1134970r2=1134971view=diff == --- james/server/trunk/container-spring/src/assemble/bin.xml (original) +++ james/server/trunk/container-spring/src/assemble/bin.xml Sun Jun 12 19:56:04 2011 @@ -30,7 +30,6 @@ directory../directory outputDirectory//outputDirectory includes -includeBUILD*/include includeLICENSE*/include includeNOTICE*/include includeREADME*/include - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: what mailbox artifacts should I use
Hi Ioan, Now you really feel on moving sand :) Welcome to the club. I've updated your mercurial repo, and it builds fine. About the mailbox version: Go for 0.2 for now. Trunk is moving fast and you have to concentrate on other challenges for now. Simply declare in your pom version 0.2 for mailboxes. The sources are here https://svn.apache.org/repos/asf/james/mailbox/tags/apache-james-mailbox-0.2/ From your IDE (or command line with -DdownloadSources=true and -DdownloadJavadocs=true), you can ask maven to download the sources and javadoc so you can easily see how it is implemented. About the HBase transactions: HBase is know as row-level atomic [1] and has only a subset of the classical ACID properties of a relational database [2]. In HBase 0.2x versions, a contrib was present in Apache HBase repository for Transactions and Indexes. The contrib was removed for Apache repository (I guess to let the main trunk concentrate on the core) and was hosted on Github [3]. It was working for 0.2x only, and was updated for 0.9x on [4]. So if you need transactions spanning multiple put/get/scan, you will have to use [4]. For the record, Maildir mailbox works with files on disk, and has no transaction mechanisms spanning multiple file operations. I would say HBase could be in between JPA and Maildir for transactions. To keep things simple to begin, don't bother with transactions for now. We can add them after, same thing for indexes (we can add after). Have fun :) Tks, - Eric [1] http://search-hadoop.com/?q=row-level+atomicfc_project=HBase [2] http://hbase.apache.org/acid-semantics.html [3] https://github.com/clintam/hbase-transactional-tableindexed [4] https://github.com/hbase-trx/hbase-transactional-tableindexed` On 13/06/11 00:10, Ioan Eugen Stan wrote: Hello everybody, I made some progress with the mailbox. I began by implementing mailbox-hbase by following mailbox-jpa. I started my implementation by relaying heavily on the JPA implementation which in turn uses mailbox-store. JPA (and the store??) has transactions which, from my knowledge, are not supported in HBase. Not in the traditional RDBMS way anyhow. I'm thinking of going duplicating the way JPA is implemented as much as possible and do mock-ups when necessary. The other option is to implement the Mailbox API interfaces directly. What do you think? By the way, following trunk is very tricky. Things get changed a lot and rather fast. I implemented a class by extending an existing class in store this morning and now it was changed. What's the best way to you keep up with it? Code is available here: http://code.google.com/a/apache-extras.org/p/mailbox-hdfs/source/browse/ You can get a copy by running: hg clone https://stan.ieu...@hg.codespot.com/a/apache-extras.org/mailbox-hdfs/ mailbox-hdfs Regards, - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1134885 - /james/server/trunk/container-spring/pom.xml
Sad :/ I was fan of the wrapper. I will document with something like use 'nohup run.sh ' to let know users how to launch in the background. Tks, - Eric On 12/06/11 21:28, Norman Maurer wrote: Hi there, the normal scripts work without a problem. And the wrapper is not included anymore: noname:bin norman$ ls -lta total 112 drwxr-xr-x 8 norman wheel 272 12 Jun 21:27 . drwxr-xr-x 11 norman wheel 374 12 Jun 21:26 .. -rwxr-xr-x 1 norman wheel 8448 12 Jun 21:25 james-cli.bat -rwxr-xr-x 1 norman wheel 8618 12 Jun 21:25 james-cli.sh -rwxr-xr-x 1 norman wheel 8450 12 Jun 21:25 run.bat -rwxr-xr-x 1 norman wheel 8620 12 Jun 21:25 run.sh -rwxr-xr-x 1 norman wheel 892 12 Jun 21:25 setenv.bat -rwxr-xr-x 1 norman wheel 850 12 Jun 21:25 setenv.sh noname:bin norman$ Bye, Norman 2011/6/12 Robert Burrell Donkinrobertburrelldon...@gmail.com: On Sun, Jun 12, 2011 at 6:57 PM, Robert Burrell Donkin robertburrelldon...@gmail.com wrote: On Sun, Jun 12, 2011 at 4:15 PM, Norman Maurer norman.mau...@googlemail.com wrote: Hi Robert, Hi Norman I still don't get your point and I really disagree about commenting out. I was worry that anyone here in England building James has a chance of ending up in goal... I believe that permissive public licenses for JSW were available in the past but I find that can't obtain one now. This means I'm breaking the copyright law here in the UK. If you are really only worried about the jsw thing then you could just coment out the jsw-daemon generation, at least this would give use normal startup scripts which are usable. With the comment plugin its impossible for us to cut a new release... My limited computer time means I unfortunately have to leave some stuff half done :-( I ran out of time to add back stuff. I'm on it now. Hopefully the normal scripts are usable now. I'm going to head on and try to get JAMES-1263 finished today or tomorrow. Help verifying that the scripts are still okay would be appreciated. Robert - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: James support for MS Exchange
Hi Ioan, Linking to MS Exchange is an example area where James could have more traction that other classical servers. But for now, it is not supported. To have this, we would need: - Enhance our LDAP user repository (to use the MS Active Directory) - Implement a new Mailbox that links to the MS Exchange API: via WebDav, or via JAVA/DCOM bridge or why not via IMAP. Tks, - Eric On 13/06/11 13:07, Ioan Eugen Stan wrote: Hello, One of the question received during the presentation I held was if there are plans for James to support MS Exchange protocol. Regards, - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1134885 - /james/server/trunk/container-spring/pom.xml
On 13/06/11 15:49, Stefano Bagnara wrote: Anyone who has a public license could republish the artifact under that public license. There would be no problems then using that instance. So at least we have a way out as I can redistribute it, but I hope we don't even need this (I don't want to fight with maven central managers in order to have a second identical copy of the artifact published in their tree and I don't know where to publish it as apache doesn't want to publish third party software). As temporary workaround (if other options don't find concretization), we can setup a public folder on a developer home folder on people.apache.org and put the redistributed artificat there (and add that link in the repository tag of our pom). Tks, - Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: what mailbox artifacts should I use
Hi Ioan, I'm also more eclipse. Patch for last section (Build James Source from other IDEs) of http://james.apache.org/server/3/dev-build.html is welcome :) Tks, - Eric On 13/06/11 12:22, Norman Maurer wrote: ah ok. I never used netbeans, I'm more the eclipse user ;) Bye, Norman 2011/6/13 Ioan Eugen Stanstan.ieu...@gmail.com: 2011/6/13 Norman Maurernorman.mau...@googlemail.com: Huh ? All the tests work for me. Are you sure you use jdk 1.6 ? It seems NetBeans is playing tricks with me. There where some missing dependencies, regarding the test packages, that it refused to see. I reopened the project and some files and it found them. I had to instruct the IDE to download the missing dependencies. Strange that it did not do this auto-magicaly as I would expect. Maybe there are some caching issues with NetBeans. -- Ioan Eugen Stan http://ieugen.blogspot.com/ - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1134885 - /james/server/trunk/container-spring/pom.xml
We don't reference the tar.gz in the container-spring pom. We simply ask appassembler-maven-plugin to generate daemons. Do you mean the appassembler-maven-plugin will fetch the tar.gz ? But I don't see mention of that in http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/dependency-convergence.html Tks, - Eric On 13/06/11 16:53, Stefano Bagnara wrote: 2011/6/13 Eric Charlese...@apache.org: On 13/06/11 15:49, Stefano Bagnara wrote: Anyone who has a public license could republish the artifact under that public license. There would be no problems then using that instance. So at least we have a way out as I can redistribute it, but I hope we don't even need this (I don't want to fight with maven central managers in order to have a second identical copy of the artifact published in their tree and I don't know where to publish it as apache doesn't want to publish third party software). As temporary workaround (if other options don't find concretization), we can setup a public folder on a developer home folder on people.apache.org and put the redistributed artificat there (and add that link in therepository tag of our pom). I don't still agree with Robert point (IMO he misunderstood what artifacts we use and how), anyway I just published my MIT licensed copy of 3.2.3 wrapper here: http://people.apache.org/~bago/third-party/ I checked it is bit-per-bit identical to the one in the maven central and also identical to the one that can be obtained on the official sourceforge repository: http://sourceforge.net/projects/wrapper/files/wrapper/Wrapper_3.2.3_20061016/ In order to use it we'd have to include people.apache.org as a repository (and to publish it in a maven repository layout structure, not legacy as maven 3 doesn't support legacy anymore, AFAIK). This will also prevent publishing james artifacts in central as central doesn't allow pom's with external repositories. So I think we should simply use the tar.gz from central as it contains a valid and compatible license and Robert concerns are invalid in our real use-case (Robert said he reviewed the jar and the pom, and not the artifact we use: the tar.gz). Stefano - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1134885 - /james/server/trunk/container-spring/pom.xml
OK, got it :) The tar.gz mention is here groupIdtanukisoft/groupIdartifactIdwrapper-delta-pack/artifactIdversion3.2.3/versiontypetar.gz/type in http://repo1.maven.org/maven2/org/codehaus/mojo/appassembler-maven-plugin/1.1.1/appassembler-maven-plugin-1.1.1.pom So maven central shouts it depends on wrapper-delta-pack 3.2.3 which has been republished by Stefano because of the right in the licence to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, To my understanding, we don't rely on any current Tanuki license, but simply on the one we have modified without limitation. Tks, - Eric On 13/06/11 17:11, Eric Charles wrote: We don't reference the tar.gz in the container-spring pom. We simply ask appassembler-maven-plugin to generate daemons. Do you mean the appassembler-maven-plugin will fetch the tar.gz ? But I don't see mention of that in http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/dependency-convergence.html Tks, - Eric On 13/06/11 16:53, Stefano Bagnara wrote: 2011/6/13 Eric Charlese...@apache.org: On 13/06/11 15:49, Stefano Bagnara wrote: Anyone who has a public license could republish the artifact under that public license. There would be no problems then using that instance. So at least we have a way out as I can redistribute it, but I hope we don't even need this (I don't want to fight with maven central managers in order to have a second identical copy of the artifact published in their tree and I don't know where to publish it as apache doesn't want to publish third party software). As temporary workaround (if other options don't find concretization), we can setup a public folder on a developer home folder on people.apache.org and put the redistributed artificat there (and add that link in therepository tag of our pom). I don't still agree with Robert point (IMO he misunderstood what artifacts we use and how), anyway I just published my MIT licensed copy of 3.2.3 wrapper here: http://people.apache.org/~bago/third-party/ I checked it is bit-per-bit identical to the one in the maven central and also identical to the one that can be obtained on the official sourceforge repository: http://sourceforge.net/projects/wrapper/files/wrapper/Wrapper_3.2.3_20061016/ In order to use it we'd have to include people.apache.org as a repository (and to publish it in a maven repository layout structure, not legacy as maven 3 doesn't support legacy anymore, AFAIK). This will also prevent publishing james artifacts in central as central doesn't allow pom's with external repositories. So I think we should simply use the tar.gz from central as it contains a valid and compatible license and Robert concerns are invalid in our real use-case (Robert said he reviewed the jar and the pom, and not the artifact we use: the tar.gz). Stefano - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1134885 - /james/server/trunk/container-spring/pom.xml
Same here. Now that Stefano has republished to wrapper, I think we can add re-enable it for the beta1 release. Tks, - Eric On 13/06/11 18:15, Norman Maurer wrote: I agree with stefano. I really cant understand what all the trouble is about :( bye norman Am Montag, 13. Juni 2011 schrieb Stefano Bagnaraapa...@bago.org: 2011/6/13 Robert Burrell Donkinrobertburrelldon...@gmail.com: On Mon, Jun 13, 2011 at 11:30 AM, Stefano Bagnaraapa...@bago.org wrote: 2011/6/12 Robert Burrell Donkinrobertburrelldon...@gmail.com: On Sun, Jun 12, 2011 at 6:57 PM, Robert Burrell Donkin robertburrelldon...@gmail.com wrote: On Sun, Jun 12, 2011 at 4:15 PM, Norman Maurer norman.mau...@googlemail.com wrote: Hi Robert, Hi Norman I still don't get your point and I really disagree about commenting out. I was worry that anyone here in England building James has a chance of ending up in goal... I believe that permissive public licenses for JSW were available in the past but I find that can't obtain one now. This means I'm breaking the copyright law here in the UK. What does this means? I obtained the package from them some year ago. It was under the MIT license and I can now redistribute it under the same licensing. Yes, you can :-) :-) Anyone can do this. No - only people who were issued with the old public license can And in fact also maven.org is redistributing it under the same MIT license: http://search.maven.org/remotecontent?filepath=tanukisoft/wrapper-delta-pack/3.2.3/wrapper-delta-pack-3.2.3.tar.gz I reviewed the jar and pom. Maven central were never issued with the software under a public license, only under a promise that public license could be obtained. It's a systematic flaw... IMO you simply reviewed the wrong artifacts. The jar and the pom are not downloaded by our build process. Our build process downloads the tar.gz artifact I linked previously. Did you download and review it? The tar.gz is a self contained package and INCLUDES the license (doc/license.txt file in the package). That very package is the only package from which we extract the contents we then bundle in our binary. We don't bundle the pom, nor the jar and AFAIK they are not even touched/downloaded/looked-up during our build process. So, why should we care about the licensing of files we don't use? Is the english law so weird that doesn't allow the license to be included in the package but require a pom file in the same folder to say what the license is? Anyone who has a public license could republish the artifact under that public license. There would be no problems then using that instance. So at least we have a way out as I can redistribute it, but I hope we don't even need this (I don't want to fight with maven central managers in order to have a second identical copy of the artifact published in their tree and I don't know where to publish it as apache doesn't want to publish third party software). Stefano - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1135380 - /james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java
Btw, MaildirFolder gives compile errors: Exception in thread pool-1-thread-160 java.lang.Error: Unresolved compilation problem: The method execute(MailboxSession, MailboxPath) of type new MailboxPathLocker.LockAwareExecution(){} must override a superclass method Tks, - Eric On 14/06/11 06:42, e...@apache.org wrote: Author: eric Date: Tue Jun 14 04:42:40 2011 New Revision: 1135380 URL: http://svn.apache.org/viewvc?rev=1135380view=rev Log: Remove logging I committed by error some time ago. Modified: james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java Modified: james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java URL: http://svn.apache.org/viewvc/james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java?rev=1135380r1=1135379r2=1135380view=diff == --- james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java (original) +++ james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java Tue Jun 14 04:42:40 2011 @@ -79,7 +79,6 @@ public class MaildirFolder { * @param absPath The absolute path of the mailbox folder */ public MaildirFolder(String absPath, MailboxPath path, MailboxPathLocker locker) { -log.debug(= absPath= + absPath + - + this.hashCode()); this.rootFolder = new File(absPath); this.curFolder = new File(rootFolder, CUR); this.newFolder = new File(rootFolder, NEW); - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1134885 - /james/server/trunk/container-spring/pom.xml
Hi Robert, Glad we found a solution :) I've tested, and the wrapper is back again. Tks, - Eric On 13/06/11 21:44, Robert Burrell Donkin wrote: On Mon, Jun 13, 2011 at 5:52 PM, Eric Charlese...@apache.org wrote: OK, got it :) The tar.gz mention is here groupIdtanukisoft/groupIdartifactIdwrapper-delta-pack/artifactIdversion3.2.3/versiontypetar.gz/type in http://repo1.maven.org/maven2/org/codehaus/mojo/appassembler-maven-plugin/1.1.1/appassembler-maven-plugin-1.1.1.pom So maven central shouts it depends on wrapper-delta-pack 3.2.3 which has been republished by Stefano because of the right in the licence to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sub-license, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, To my understanding, we don't rely on any current Tanuki license, but simply on the one we have modified without limitation. Now Stefano has published a license, I've published this license within the pom ensuring that it's distributed to anyone who tries to build James. Now I have a license and have uncommented the sections. Thanks everyone for your patience and help :-) Please take a look and test that I've restored the old code correctly. Robert - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1135380 - /james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java
I even use 1.7 :) java -version openjdk version 1.7.0-internal OpenJDK Runtime Environment (build 1.7.0-internal-henri_2011_05_21_10_20-b00) OpenJDK 64-Bit Server VM (build 21.0-b13, mixed mode) The mailbox-maildir states: plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-compiler-plugin/artifactId version2.1/version configuration source1.6/source target1.6/target /configuration /plugin /plugins If I change it to 1.5, it builds fine in eclipse source1.6/source target1.6/target The other mailbox projects are define with 1.6. OK to remove this definition in mailbox-maildir? Tks, - Eric On 14/06/11 08:56, Norman Maurer wrote: works here... Are you sure you use jdk 1.6 ? bye norman Am Dienstag, 14. Juni 2011 schrieb Eric Charlese...@apache.org: Btw, MaildirFolder gives compile errors: Exception in thread pool-1-thread-160 java.lang.Error: Unresolved compilation problem: The method execute(MailboxSession, MailboxPath) of type new MailboxPathLocker.LockAwareExecution(){} must override a superclass method Tks, - Eric On 14/06/11 06:42, e...@apache.org wrote: Author: eric Date: Tue Jun 14 04:42:40 2011 New Revision: 1135380 URL: http://svn.apache.org/viewvc?rev=1135380view=rev Log: Remove logging I committed by error some time ago. Modified: james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java Modified: james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java URL: http://svn.apache.org/viewvc/james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java?rev=1135380r1=1135379r2=1135380view=diff == --- james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java (original) +++ james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java Tue Jun 14 04:42:40 2011 @@ -79,7 +79,6 @@ public class MaildirFolder { * @param absPath The absolute path of the mailbox folder */ public MaildirFolder(String absPath, MailboxPath path, MailboxPathLocker locker) { -log.debug(=absPath= + absPath + - + this.hashCode()); this.rootFolder = new File(absPath); this.curFolder = new File(rootFolder, CUR); this.newFolder = new File(rootFolder, NEW); - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1134885 - /james/server/trunk/container-spring/pom.xml
Get your point Stefano. Tks for explanation. - Eric On 14/06/11 09:34, Stefano Bagnara wrote: 2011/6/13 Eric Charlese...@apache.org: We don't reference the tar.gz in the container-spring pom. We simply ask appassembler-maven-plugin to generate daemons. Do you mean the appassembler-maven-plugin will fetch the tar.gz ? Appassembler plugin jar directly includes files copied from that (tar.gz) artifact. BUT, appassembler jar doesn't have a LICENSE or NOTICE file saying this (it doesn't have LICENSE/NOTICE at all), so appassembler is not good wrt licensing. The files have been copied from the tar.gz to the appassembler jar when the appassembler jar binary was built. But I don't see mention of that in http://mojo.codehaus.org/appassembler/appassembler-maven-plugin/dependency-convergence.html The jar we're talking about is org.codehaus.mojo/appassembler-maven-plugin-1.0.jar and the code is in the org\codehaus\mojo\appassembler\daemon\jsw folder inside the jar. While I was looking at the LICENSE.txt we bundle in the binary I saw we have many issues there (most license references points to bad locations and probably they are licenses for the old phoenix based deployment and need a review and update) so I opened https://issues.apache.org/jira/browse/JAMES-1269 to track this larger issue. Stefano - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [jira] [Commented] (JAMES-1272) Roadmap for Apache James Server 3.1
Hi, We are now busy with license/naming questions for the beta1 release. This may takes some days, but I can't tell you the exact number of weeks it still needs... If you need something stable regarding features/functions, you an download the nightly snapshots from [1] or the previous attempt for beta1 from [2]. I can understand you are excepting an official release, but you won't get anything better than the current downloads if you wait. So don't hesitate, go ahead :) and send us your feedbacks. Tks, - Eric [1] http://people.apache.org/builds/james/nightly/ [2] https://repository.apache.org/content/repositories/orgapachejames-064/ On 16/06/11 11:09, SuoNayi Wang (JIRA) wrote: [ https://issues.apache.org/jira/browse/JAMES-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13050304#comment-13050304 ] SuoNayi Wang commented on JAMES-1272: - Eric, what's time to release candidate of james 3.0? I'm waiting for its release to use it in the product environment. Roadmap for Apache James Server 3.1 --- Key: JAMES-1272 URL: https://issues.apache.org/jira/browse/JAMES-1272 Project: JAMES Server Issue Type: Wish Reporter: Eric Charles This JIRA collects the ideas, wishes for the next Apache James Server iteration (3.1) -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: artifactIds
Proposed artifact renaming makes sense to me, even if I prefer a 3-part name max. We can simply target this for beta2. TKs, - Eric On 16/06/11 09:33, Robert Burrell Donkin wrote: On Thu, Jun 16, 2011 at 8:30 AM, Norman Maurernor...@apache.org wrote: Hi Robert, I don't have big preferences here. I just would like to get beta1 released soon. And every change will block us more, so I'm more concerned about JAMES-1269 a lot more then about name changes etc. I'm working on that now but I'm concerned that until we have an automated integrated system, maintenance is going to be a major issue Robert - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Conf problem...?
So you explicitly changed the virtualHosting in domainlist.xml from true to false ? To run cli with project loaded in eclipse, simply create a class that invokes the ServerCmd.main with the correct args array. I also made that this weekend but didn't committed the classe because it's not really a 'main' nor a 'test'. Maybe we should forsee a 'maven exec:java ' so that we don't develop the same things. I will open a jira for that. Tks, - Eric On 20/06/11 12:51, math math wrote: No i m not using virtualHosting. actually developping with eclipse and will run those commands using the james-cli project. Thanks for your help ;) Bye, Mat. 2011/6/20 Norman Maurernorman.mau...@googlemail.com ./james-cli --host localhost --adddomain localhost ./james-cli --host localhost--adddomain 127.0.0.1 Bye, Norman Ps: Do you use virtualhosting ? 2011/6/20 math mathmathieu.att...@gmail.com: I guess no, how to do that?? Tks, Mat. 2011/6/20 Norman Maurernorman.mau...@googlemail.com Do you have localhost added to your DomainList (via jmx or james-cli)? Bye, Norman 2011/6/20 math mathmathieu.att...@gmail.com: sure : domainlist.xml: domainlist class=org.apache.james.domainlist.jpa.JPADomainList autodetecttrue/autodetect autodetectIPtrue/autodetectIP defaultDomainlocalhost/defaultDomain /domainlist --- mailetcontainer.xml: mailetcontainer enableJmx=true context postmasterPostmaster@localhost/postmaster /context spooler threads 20/threads /spooler processors processor state=root enableJmx=true mailet match=All class=PostmasterAlias/ mailet match=RelayLimit=30 class=Null/ mailet match=SMTPAuthSuccessful class=ToProcessor processortransport/processor /mailet mailet match=InSpammerBlacklist=dnsbl.njabl.org. class=ToProcessor processorspam/processor notice550 Requested action not taken: rejected - see http://njabl.org//notice /mailet mailet match=All class=ToProcessor processortransport/processor /mailet /processor processor state=transport enableJmx=true mailet match=SMTPAuthSuccessful class=SetMimeHeader nameX-UserIsAuth/name valuetrue/value /mailet mailet match=All class=RecipientRewriteTable recipientrewritetableDefaultRecipientRewriteTable/recipientrewritetable /mailet !-- Disable this if you want to have case-sensitive local-parts of the recipients -- mailet match=RecipientIsLocal class=RecipientToLowerCase/ mailet match=RecipientIsLocal class=LocalDelivery/ mailet match=HostIsLocal class=ToProcessor processorlocal-address-error/processor notice550 - Requested action not taken: no such user here/notice /mailet mailet match=All class=RemoteDelivery outgoingQueueoutgoing/outgoingQueue delayTime5 minutes/delayTime delayTime10 minutes/delayTime delayTime45 minutes/delayTime delayTime2 hours/delayTime delayTime3 hours/delayTime delayTime6 hours/delayTime maxRetries25/maxRetries maxDnsProblemRetries0/maxDnsProblemRetries deliveryThreads10/deliveryThreads sendpartialtrue/sendpartial bounceProcessorbounces/bounceProcessor /mailet /processor processor state=error enableJmx=true mailet match=All class=ToRepository repositoryPathfile://var/mail/error//repositoryPath /mailet /processor processor state=spam enableJmx=true mailet match=All class=ToRepository repositoryPathfile://var/mail/spam//repositoryPath /mailet /processor processor state=local-address-error enableJmx=true mailet match=All class=ToRepository repositoryPathfile://var/mail/address-error//repositoryPath /mailet /processor processor state=relay-denied enableJmx=true mailet match=All class=ToRepository repositoryPathfile://var/mail/relay-denied//repositoryPath /mailet /processor processor state=bounces enableJmx=true mailet match=All class=DSNBounce passThroughfalse/passThrough /mailet /processor /processors /mailetcontainer 2011/6/20 Norman Maurernorman.mau...@googlemail.com Hi there, can you show use your domainlist.xml and your mailetcontainer.xml. Thanks, Norman 2011/6/20 math mathmathieu.att...@gmail.com: Hi there, after few month using successfully james 3M2 in dev mode, i m trying now to use James 3beta 1. New James launching is quite fine in Eclipse ans mysql database... But when i m trying to send mail from localhost to localhost, it does nt work, i don 't see new message in mailbox here is what i got after trying multiple configurations : i m sending from mat@127.0.0.1 to mat@127.0.0.1 INFO 11:44:05,311 |
Re: vacation from 25 jun to 10 jul
followed by a journey on the riviera for me :) Eric On 25/06/11 08:29, Robert Burrell Donkin wrote: On Thu, Jun 23, 2011 at 11:08 AM, Eric Charlese...@apache.org wrote: Enjoy :) +1 Maybe one year we could do a James meetup in the Alps :-) Robert - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1139535 [1/2] - in /james/mailbox/trunk: jcr/src/main/java/org/apache/james/mailbox/jcr/ jcr/src/main/java/org/apache/james/mailbox/jcr/mail/ jcr/src/main/java/org/apache/james/mailbo
Cool! So Ioan's HBase Mailbox can now rely on trunk/3.0 rather than on 0.2. Tks On 25/06/11 14:29, nor...@apache.org wrote: URL:http://svn.apache.org/viewvc?rev=1139535view=rev Log: Add back UidProvider and also add ModSeqProvider. I think I'm now done for refactoring and we are ready for 0.3. The locking of the Mailbox now happens via MailboxPathLocker which make it easy to wrie a clustered version of it. -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [CANCEL] [VOTE] Release Apache James Mailbox 0.3
Before casting my votes, I will check mailbox-integration-test and server are happy with imap-0.2.1, mailbox-0.3 and protocols-1.5. (so waiting on new mailbox-0.3 artifacts if I'm in line). Tks On 26/06/11 09:21, Norman Maurer wrote: hi there, let me cancel this VOTE and re-roll later. I just noticed that this release is not compatible with Apache James Imap 0.2.1. I will fix this... bye norman Am Sonntag, 26. Juni 2011 schrieb Norman Maurernorman.mau...@googlemail.com: +1 norman Am Samstag, 25. Juni 2011 schrieb Norman Maurernorman.mau...@googlemail.com: Hi there, I think we are ready to release a new version of the Apache James Mailbox project. This includes many fixed and makes it easier to write own mailbox implementations. It also include a Lucene based search index. List of changes: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311221version=12316446 Please review: https://repository.apache.org/content/repositories/orgapachejames-052/ [ ] +1 Yes, go ahead [ ] +0 No time to review [ ] -1 Something wrong with the release Ps: If the vote pass, this will get included in the next Apache James Server release - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Apache James Protocols 1.5
+1 Eric On 23/06/11 18:17, Norman Maurer wrote: Hi there, its time again for a new Apache James Protocols release. Changes can be found here: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311060version=12316655 Please review: https://repository.apache.org/content/repositories/orgapachejames-045/ Thanks, Norman Ps: This release will be used in Apache James Server 3.0-beta1 - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: MS Outlook Error - UID does not comply with standard - Beta 1
Hi Patrick, From previous thread, you were planning to copy/restore your mailbox. If you did that, then client uid/uidvalidity are no more in line. In thunderbird, it simply resynch the whole folder. Could it be oulook throws that message when uid/uidvalidy are no more in line? (that's what occurs when you copy/restore). Tks On 29/06/11 08:10, Norman Maurer wrote: Hi Pat, did you saw this?: http://social.technet.microsoft.com/Forums/en-US/exchangesvrclients/thread/4f2a9f05-365b-48a4-8557-63a8248fd108 Bye, Norman Am 28.06.2011 18:04, schrieb Patrick Pyette: Hi, We've just upgraded one of our servers to the Beta 1 version of James and are seeing the following error when connecting with MS Outlook via IMAP. This account is also accessed without issue via IMAP using Mac Mail. If the image doesn't come through, it says Your server has reported a UID which does not comply with the IMAP standard. MsgSeqNum 7, New UID 1, Prev UID: 7, Next UID: 0. * Has this issue been identified as such and fixed? If not, it looks like a James issue, based on the message content, but perhaps is an MS implementation problem? Should I create a JIRA issue for it? Thanks, Pat * -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1141003 - /james/project/trunk/project/src/site/xdoc/newsarchive.xml
Hi Felix, Tks for the tip. I just committed the change. Btw, any idea on https://issues.apache.org/jira/browse/JAMES-1260 ? As temp workaround, I manually remove the failed javascript line, which is not good as it makes false stats. Thx On 29/06/11 11:18, Felix Knecht wrote: Hi Eric It's an xml parsing problem. Why not using 'amp;' instead of '' in the jira url? It would also do the job and we are not forced maintain the shortend url. Regards Felix On 06/29/2011 10:42 AM, e...@apache.org wrote: Author: eric Date: Wed Jun 29 08:42:10 2011 New Revision: 1141003 URL: http://svn.apache.org/viewvc?rev=1141003view=rev Log: mvn site is not happy with jira url. shorten it Modified: james/project/trunk/project/src/site/xdoc/newsarchive.xml Modified: james/project/trunk/project/src/site/xdoc/newsarchive.xml URL: http://svn.apache.org/viewvc/james/project/trunk/project/src/site/xdoc/newsarchive.xml?rev=1141003r1=1141002r2=1141003view=diff == --- james/project/trunk/project/src/site/xdoc/newsarchive.xml (original) +++ james/project/trunk/project/src/site/xdoc/newsarchive.xml Wed Jun 29 08:42:10 2011 @@ -21,7 +21,7 @@ a name=29062011h4Apache James Protocols 1.5/h4/a pThe Apache James Project is happy to announce the release of version 1.5 of the Apache James Protocols/p -pa href=https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311060version=12316655;Read the release notes/a./p +pa href=http://s.apache.org/gp;Read the release notes/a./p a name=15052011h4Apache James IMAP 0.2 and Mailbox 0.2/h4/a pThe Apache James Project is happy to announce - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Factor Out James Application Assembly ...?
Hi, If I understand well, we would ship some jars, but not an archive with the needed startup scripts? I don't expect much users for it... Also, we are in the process of releasing a beta2, not the final release. Could we be a bit more relax on the NOTICE and plan the maintainable solution based on a tool for the next release? Thx. On 30/06/11 10:19, Norman Maurer wrote: Hi Robert, I don't get why this should improve things. IMHO its just another thing which needs care, we already have to many projects for our current devs .. Maybe you can give some more background.. Bye, Norman Am 30.06.2011 09:21, schrieb Robert Burrell Donkin: We're really close now to being able to ship a James 3 release. It's frustrating that work's still needed on the final assembly (of the application from the built server components). It looks likely that we're going to face ongoing maintenance issues (in this area) until improved tooling is developed. ATM the assembly is included with the server modules, and released with them. Logically, though, assembly is a downstream process. Why not factor out assembly into a separate product (apache-james, say ;-) which is a downstream consumer of the server components? I think that this would allow us to start cutting 3.0.x releases of the server components immediately. The assembled application would be released when it's ready without the need to freeze server trunk. I think this this change would save me a lot of time in the short term, and (by moving towards continuous delivery) improve quality in the long term. Opinions? Objections? Robert - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Factor Out James Application Assembly ...?
On 30/06/11 12:46, Robert Burrell Donkin wrote: On Thu, Jun 30, 2011 at 9:57 AM, Eric Charlese...@apache.org wrote: Hi, If I understand well, we would ship some jars, but not an archive with the needed startup scripts? I don't expect much users for it... This change is about separating concerns and reducing conflicts. The libraries composing the james server application would be independently released to the Maven repository. The actual james application would be composed and released independently. Also, we are in the process of releasing a beta2, not the final release. Could we be a bit more relax on the NOTICE and plan the maintainable solution based on a tool for the next release? The James PMC would be knowingly break policy. Legal stuff like this is part of oversight. It needs to be right. Sure. I was just wondering, especially when I see how the other Apache projects create there releases, if we could rely for beta2 on a manual check, and report the automated track for next release. Let's see you could split and distributed the remaining jars to be reviewed in 3 or 4 parts, each parts being taken by a committer responsible to add the needed mention in the NOTICE. Robert - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Apache Mailbox 0.3 (fourth try)
[x] +1 Yes, go ahead Integration test are ok with imap-0.2.1 Thx for pushing this :) Eric On 30/06/11 20:41, Norman Maurer wrote: Hi there, this is the fourth try to release a new version of the Apache James Mailbox project a.k.a 0.3. Hopefully its the last try ;) This includes many fixed and makes it easier to write own mailbox implementations. It also include a Lucene based search index and works with Apache James IMAP 0.2.1 List of changes: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12311221version=12316446 Please review: https://repository.apache.org/content/repositories/orgapachejames-002/ [ ] +1 Yes, go ahead [ ] +0 No time to review [ ] -1 Something wrong with the release - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: James App Assembly [WAS Re: Factor Out James Application Assembly ...?]
On 02/07/11 09:14, Robert Burrell Donkin wrote: On Thu, Jun 30, 2011 at 9:07 PM, Robert Burrell Donkin robertburrelldon...@gmail.com wrote: On Thu, Jun 30, 2011 at 7:28 PM, Norman Maurer norman.mau...@googlemail.com wrote: Ok then go ahead I just want to get the beta out soon enough So do I :-) I'm started work on the assembly but I'm out of time for tonight. Feel free to disable the assembly stuff in server trunk. As soon as that's done, you should be able to cut a release for the server components. I've completed the move. I'm going to start working on the licensing next. Nice :) I hope to find some time to re-integrate (or at least run) the mpt smoke tests but if anyone could build and test the application built by the assembly in app, that would be great :-) I've added a svn:externals property on current https://svn.apache.org/viewvc/james/current/ 'mvn install' in app gives me the zip/tar.gz. 'sudo ./run.sh' starts fine. So we are up and running with app The idea is that trunk for the server components is now free to cut 3.0.x releases of these components. We won't have a James beta application to ship until we release the app based on these components but should be able to test and work on the app with fixed dependencies. Best is we have green light on app NOTICE to start a vote on server components. Robert - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: James App Assembly [WAS Re: Factor Out James Application Assembly ...?]
On 02/07/11 09:14, Robert Burrell Donkin wrote: On Thu, Jun 30, 2011 at 9:07 PM, Robert Burrell Donkin I hope to find some time to re-integrate (or at least run) the mpt smoke tests Do you mean the mailbox-integration-tests, or other mpt tests? but if anyone could build and test the application built by the assembly in app, that would be great :-) The idea is that trunk for the server components is now free to cut 3.0.x releases of these components. We won't have a James beta application to ship until we release the app based on these components but should be able to test and work on the app with fixed dependencies. Robert - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: James App Assembly [WAS Re: Factor Out James Application Assembly ...?]
Hi Robert, In the meantime, I've added app to the 'current' pom. If I understand well, you prefer some fixed/official released artifacts to apply you audit? If this is the case, I better understand the motivation behind the app module. Thx. On 02/07/11 10:30, Robert Burrell Donkin wrote: On Sat, Jul 2, 2011 at 9:12 AM, Eric Charlese...@apache.org wrote: On 02/07/11 09:14, Robert Burrell Donkin wrote: I've added a svn:externals property on current https://svn.apache.org/viewvc/james/current/ Great 'mvn install' in app gives me the zip/tar.gz. 'sudo ./run.sh' starts fine. So we are up and running with app :-) The idea is that trunk for the server components is now free to cut 3.0.x releases of these components. We won't have a James beta application to ship until we release the app based on these components but should be able to test and work on the app with fixed dependencies. Best is we have green light on app NOTICE to start a vote on server components. AFACT the james server components should be fine now that the problematic assembly has been factored out (but I'll check again this weekend). One of my primary motivation for separating out the assembly is that we can work on the legal stuff after all the components have been released. This will allow a single legal audit of the final application against a fixed set of components. There's no need to wait on app being ready to cut releases of the components but IMHO it would be best to hold announcements to users until the app is released. Robert - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: hbase mailbox following 0.3 API
Hi Ioan, On 03/07/11 00:16, Ioan Eugen Stan wrote: Hello, I am just writing to inform you that I am now following 0.3 API. I posted this also on my blog , but maybe some of you are not following it yet. I'm planning to integrate with the HBase API this week so I will be able to concentrate on the rest of the mailbox implementation. This is my immediate goal. Thx to keep us updated :) I have some problems regarding an exception in HBaseStoreTest, about java.lang.NoClassDefFoundError: org/apache/hadoop/security/UnixUserGroupInformation at org.apache.hadoop.hbase.HBaseTestingUtility.startMiniDFSCluster(HBaseTestingUtility.java:223) I did not have time to research it. I will get on it soon. I you can't get out of it, just commit to apache-extras and ping me. I will pull and look if I can help. I am confident that I will have something usable (in unit testing maybe) by the end of the first evaluation. Cool! Regards, -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: MS Outlook Error - UID does not comply with standard - Beta 1
Upon wireshark dump, did it ever work on your side with outlook 2010? We had issues in the past, and I have in mind that it was resolved (not sure...). Thx. On 05/07/11 20:25, Norman Maurer wrote: Can you take a wireshark dump of such an account ? Bye, Norman 2011/7/5 Patrick Pyetteppye...@inpriva.com: Hi Eric Norman, I did do the copy/restore using jpa - maildir and back again. After the restore, I also created a brand new account and was able to reproduce the issue using it as well, so that appears to rule out any issues with the mailboxcopier. I haven't narrowed this down to the smallest number of steps, but I was able to recreate the issue by: 1) Sending 4 messages, one after the other. 2) Receive a new message. As soon as the new message was received, Outlook 2010 started complaining. I deleted the account from Outlook and redefined and the issue appeared immediately, so Microsoft's suggested workaround didn't work. None of Thunderbird, Roundcube, or Mac Mail have a problem, only Outlook. Unfortunately Outlook is the primary client for the majority of our customers. Thanks, Pat On 2011-06-29, at 2:31 AM, Eric Charles wrote: Hi Patrick, From previous thread, you were planning to copy/restore your mailbox. If you did that, then client uid/uidvalidity are no more in line. In thunderbird, it simply resynch the whole folder. Could it be oulook throws that message when uid/uidvalidy are no more in line? (that's what occurs when you copy/restore). Tks On 29/06/11 08:10, Norman Maurer wrote: Hi Pat, did you saw this?: http://social.technet.microsoft.com/Forums/en-US/exchangesvrclients/thread/4f2a9f05-365b-48a4-8557-63a8248fd108 Bye, Norman Am 28.06.2011 18:04, schrieb Patrick Pyette: Hi, We've just upgraded one of our servers to the Beta 1 version of James and are seeing the following error when connecting with MS Outlook via IMAP. This account is also accessed without issue via IMAP using Mac Mail. If the image doesn't come through, it says Your server has reported a UID which does not comply with the IMAP standard. MsgSeqNum 7, New UID 1, Prev UID: 7, Next UID: 0. * Has this issue been identified as such and fixed? If not, it looks like a James issue, based on the message content, but perhaps is an MS implementation problem? Should I create a JIRA issue for it? Thanks, Pat * -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Apache James jSPF 0.9.9
Hi Norman, Can't find antything on https://repository.apache.org/content/repositories/orgapachejames-017/ Did you already start nexus release? Thx. On 05/07/11 19:10, Norman Maurer wrote: Hi there, its time again to cut a new release of Apache James jSPF. This release just includes fixed related to OSGI. The fixes are here: https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truejqlQuery=project+%3D+JSPF+AND+fixVersion+%3D+%220.9.9%22+AND+status+%3D+Resolved+ORDER+BY+priority+DESCmode=hide Here are the artifacts for review: https://repository.apache.org/content/repositories/orgapachejames-017/ So please cast your VOTE: [ ] +1 Yes please release [ ] +0 No time to review [ ] -1 Something wrong with the release Bye Norman - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: James App Assembly [WAS Re: Factor Out James Application Assembly ...?]
Hi Robert, Just for information (don't know if it's relevant to us), the following thread where Edward seems to have fun :) Read Dan's points 1 and 2. Thx. On 03/07/11 21:32, Norman Maurer wrote: I think we should release them as 3.0.0 beta also, as I really would like to 'fix' the osgi stuff before call it 'final' bye norman Am Sonntag, 3. Juli 2011 schrieb Robert Burrell Donkin robertburrelldon...@gmail.com: gt; On Sun, Jul 3, 2011 at 6:17 PM, Norman Maurer gt;lt;norman.mau...@googlemail.comgt; wrote: gt;gt; hi there, gt;gt; gt;gt; I will update the source to work with mailbox 0.3 and start a VOTE for gt;gt; the artifacts. So stay tuned... gt; gt; IMO it's best to release the server components as 3.0.0 and then gt; apache-james as a beta gt; gt; Robert gt; gt; - gt; To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org gt; For additional commands, e-mail: server-dev-h...@james.apache.org gt; gt; - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: James App Assembly [WAS Re: Factor Out James Application Assembly ...?]
Oops, Sounds like I forgot the link: http://markmail.org/message/ufppyyaf66b345jq @ On 06/07/11 10:43, Norman Maurer wrote: Hi Eric, what are you refering to ? Bye, Norman Am 06.07.2011 10:25, schrieb Eric Charles: Hi Robert, Just for information (don't know if it's relevant to us), the following thread where Edward seems to have fun :) Read Dan's points 1 and 2. Thx. On 03/07/11 21:32, Norman Maurer wrote: I think we should release them as 3.0.0 beta also, as I really would like to 'fix' the osgi stuff before call it 'final' bye norman Am Sonntag, 3. Juli 2011 schrieb Robert Burrell Donkin robertburrelldon...@gmail.com: gt; On Sun, Jul 3, 2011 at 6:17 PM, Norman Maurer gt;lt;norman.mau...@googlemail.comgt; wrote: gt;gt; hi there, gt;gt; gt;gt; I will update the source to work with mailbox 0.3 and start a VOTE for gt;gt; the artifacts. So stay tuned... gt; gt; IMO it's best to release the server components as 3.0.0 and then gt; apache-james as a beta gt; gt; Robert gt; gt; - gt; To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org gt; For additional commands, e-mail: server-dev-h...@james.apache.org gt; gt; - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: James 3 JPA question
Hi, This does not seem to be supported via JPA. You could extend the class, rewrite the accessor to encrypt/decrypt and update persistence.xml to define your class. You could also read http://www.jroller.com/DhavalDalal/entry/database_field_level_encryption_using. Hopes this help. Thx. On 06/07/11 23:02, Saibabu Vallurupalli wrote: Hi, I am new to Apache James we are using Apache James with MySQL database. I have a requirement to encrypt and decrypt the email message. I have spent some time to understand how the persistence mechanism works in James. Found persistence.xml file and also sqlResources.xml file. After running some tests, I found sqlResources.xml file is not used anymore in my configuration. Now, My question is how the james_mail table is getting updated? Is there any possibility to Encrypt/Decrypt message? I thought it is easy if sqlResources.xml file is used. I can simple add AES_Encrypt and AES_Decrypt functions to column. Please help me with this. Thanks, Sai -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: James 3 JPA question
Hi, Just use https://issues.apache.org/jira/secure/Signup!default.jspa to get an account on JIRA. Thx. On 07/07/11 14:00, Saibabu Vallurupalli wrote: Hi Norman, I don't have apache login just created and voted for this issue. It will be really helpful if we can get this fixed. Thanks, Sai On Thu, Jul 7, 2011 at 2:37 AM, Norman Maurernor...@apache.org wrote: Hi there, maybe its also good to VOTE for this: https://issues.apache.org/**jira/browse/OPENJPA-763https://issues.apache.org/jira/browse/OPENJPA-763 Bye, Norman Am 07.07.2011 06:45, schrieb Eric Charles: Hi, This does not seem to be supported via JPA. You could extend the class, rewrite the accessor to encrypt/decrypt and update persistence.xml to define your class. You could also read http://www.jroller.com/**DhavalDalal/entry/database_* *field_level_encryption_usinghttp://www.jroller.com/DhavalDalal/entry/database_field_level_encryption_using . Hopes this help. Thx. On 06/07/11 23:02, Saibabu Vallurupalli wrote: Hi, I am new to Apache James we are using Apache James with MySQL database. I have a requirement to encrypt and decrypt the email message. I have spent some time to understand how the persistence mechanism works in James. Found persistence.xml file and also sqlResources.xml file. After running some tests, I found sqlResources.xml file is not used anymore in my configuration. Now, My question is how the james_mail table is getting updated? Is there any possibility to Encrypt/Decrypt message? I thought it is easy if sqlResources.xml file is used. I can simple add AES_Encrypt and AES_Decrypt functions to column. Please help me with this. Thanks, Sai --**--**- To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.orgserver-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.**orgserver-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: James 3 JPA question
Hi Sai, James is a user of OpenJPA, so it not in our hands, but in OpenJPA project hand. OPENJPA-763 is open since 06/Nov08 and has no assignee, nor activity. I wouldn't count on it soon, and certainly not for September. Thx. On 07/07/11 14:46, Saibabu Vallurupalli wrote: Hi Eric, Yes, I created an account for me and voted for the issue. Does your team has any idea on when this fix can be available? We are having a meeting internally and planning for our release in September. If this fix can be available before that we would like to wait and use the new release of James having this Encryption and Decryption logic. Please advise. Thanks, Sai On Thu, Jul 7, 2011 at 8:40 AM, Eric Charleseric.char...@u-mangate.comwrote: Hi, Just use https://issues.apache.org/**jira/secure/Signup!default.**jspahttps://issues.apache.org/jira/secure/Signup%21default.jspato get an account on JIRA. Thx. On 07/07/11 14:00, Saibabu Vallurupalli wrote: Hi Norman, I don't have apache login just created and voted for this issue. It will be really helpful if we can get this fixed. Thanks, Sai On Thu, Jul 7, 2011 at 2:37 AM, Norman Maurernor...@apache.org wrote: Hi there, maybe its also good to VOTE for this: https://issues.apache.org/jira/browse/OPENJPA-763https://issues.apache.org/**jira/browse/OPENJPA-763 https:**//issues.apache.org/jira/**browse/OPENJPA-763https://issues.apache.org/jira/browse/OPENJPA-763 Bye, Norman Am 07.07.2011 06:45, schrieb Eric Charles: Hi, This does not seem to be supported via JPA. You could extend the class, rewrite the accessor to encrypt/decrypt and update persistence.xml to define your class. You could also read http://www.jroller.com/ DhavalDalal/entry/database_*http://www.jroller.com/**DhavalDalal/entry/database_* *field_level_encryption_using**http://www.jroller.com/** DhavalDalal/entry/database_**field_level_encryption_usinghttp://www.jroller.com/DhavalDalal/entry/database_field_level_encryption_using . Hopes this help. Thx. On 06/07/11 23:02, Saibabu Vallurupalli wrote: Hi, I am new to Apache James we are using Apache James with MySQL database. I have a requirement to encrypt and decrypt the email message. I have spent some time to understand how the persistence mechanism works in James. Found persistence.xml file and also sqlResources.xml file. After running some tests, I found sqlResources.xml file is not used anymore in my configuration. Now, My question is how the james_mail table is getting updated? Is there any possibility to Encrypt/Decrypt message? I thought it is easy if sqlResources.xml file is used. I can simple add AES_Encrypt and AES_Decrypt functions to column. Please help me with this. Thanks, Sai --** --**- To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org server-dev-**unsubscr...@james.apache.orgserver-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.org server-dev-help@james.**apache.orgserver-dev-h...@james.apache.org -- Eric --**--**- To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.orgserver-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.**orgserver-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Apache James jSPF 0.9.9
[x] +1 Yes please release jSPF 0.9.9. jSPF generated artifacts compile fine PS: Strange, there's also a james-server artifact https://repository.apache.org/content/repositories/orgapachejames-001/org/apache/james/james-server/ On 06/07/11 18:33, Norman Maurer wrote: Hi there, please use this url to review: https://repository.apache.org/content/repositories/orgapachejames-001/ Thanks, Norman 2011/7/6 Norman Maurernor...@apache.org: Am 06.07.2011 12:23, schrieb Robert Burrell Donkin: I ran a script which (seemed to) pull down everything jSPF okay at 08:41:23 (GMT) but now I get a 404 Robert No idea what went wrong. I will push them to nexus again later today.. Bye, Norman - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Apache James Server 3.0-beta2 artifacts
[x] +1 Yes, please release On 06/07/11 18:35, Norman Maurer wrote: Hi there, I prepared the Apache James Server 3.0-beta2 artifacts for release. So please review and cast your vote. This artifacts will get used to bundle the distribution. https://repository.apache.org/content/repositories/orgapachejames-002/ [ ] +1 Yes, please release [ ] +0 No time to review [ ] -1 Something wrong Thanks, Norman - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Apache James Server 3.0-beta2 artifacts
) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitializatio n(InitDestroyAnnotationBeanPostProcessor.java:130) ... 55 more Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an app let parameter, or in an application resource file: java.naming.factory.initial at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645) at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288) at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325) at javax.naming.InitialContext.lookup(InitialContext.java:392) at org.apache.openjpa.ee.RegistryManagedRuntime.getTransactionManager(RegistryManagedRuntime.java:61) at org.apache.openjpa.ee.AutomaticManagedRuntime.getTransactionManager(AutomaticManagedRuntime.java:171) ... 79 more Please be free to contact with me for any question or suggestion. Thanks Best Regards . Young Gu | Software Engineer | http://www.infor.com On 7/8/2011 12:45 PM, Eric Charles wrote: [x] +1 Yes, please release On 06/07/11 18:35, Norman Maurer wrote: Hi there, I prepared the Apache James Server 3.0-beta2 artifacts for release. So please review and cast your vote. This artifacts will get used to bundle the distribution. https://repository.apache.org/content/repositories/orgapachejames-002/ [ ] +1 Yes, please release [ ] +0 No time to review [ ] -1 Something wrong Thanks, Norman - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [RESULT] [VOTE] Release Apache James jSPF 0.9.9
Hi, Website is updated and deployed. I will check in 1 hour if download.cgi is now happy with maven-skin (tks Felix). At this occasion, I was willing to create the links to the mirrors for mailbox, imap... but it seems that all the artifacts are not present in mirrors (e.g. http://apache.belnet.be/james/) Thx. On 09/07/11 18:42, Norman Maurer wrote: Ok the artifacts are now on maven central and I also uploaded it to people.apache.org, so they should show up on the mirrors soon. After that we just need to update the website.. any takers ? Bye, Norman 2011/7/9 Norman Maurernor...@apache.org: Hi there, the VOTE passed. Results: +1 Eric, Robert, Norman I will upload the artifacts soon. Thanks for voting, Norman 2011/7/9 Norman Maurernor...@apache.org: +1 Norman 2011/7/6, Norman Maurernor...@apache.org: Hi there, please use this url to review: https://repository.apache.org/content/repositories/orgapachejames-001/ Thanks, Norman 2011/7/6 Norman Maurernor...@apache.org: Am 06.07.2011 12:23, schrieb Robert Burrell Donkin: I ran a script which (seemed to) pull down everything jSPF okay at 08:41:23 (GMT) but now I get a 404 Robert No idea what went wrong. I will push them to nexus again later today.. Bye, Norman - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [RESULT] [VOTE] Release Apache James jSPF 0.9.9
Only imap sources, but not the whole artifacts. http://apache.belnet.be/james/apache-james-imap/ Thx. On 10/07/11 09:55, Norman Maurer wrote: hmm.. imap is there. I will hae a look for mailbox. Thanks, Norman 2011/7/10 Eric Charlese...@apache.org: Hi, Website is updated and deployed. I will check in 1 hour if download.cgi is now happy with maven-skin (tks Felix). At this occasion, I was willing to create the links to the mirrors for mailbox, imap... but it seems that all the artifacts are not present in mirrors (e.g. http://apache.belnet.be/james/) Thx. On 09/07/11 18:42, Norman Maurer wrote: Ok the artifacts are now on maven central and I also uploaded it to people.apache.org, so they should show up on the mirrors soon. After that we just need to update the website.. any takers ? Bye, Norman 2011/7/9 Norman Maurernor...@apache.org: Hi there, the VOTE passed. Results: +1 Eric, Robert, Norman I will upload the artifacts soon. Thanks for voting, Norman 2011/7/9 Norman Maurernor...@apache.org: +1 Norman 2011/7/6, Norman Maurernor...@apache.org: Hi there, please use this url to review: https://repository.apache.org/content/repositories/orgapachejames-001/ Thanks, Norman 2011/7/6 Norman Maurernor...@apache.org: Am 06.07.2011 12:23, schrieb Robert Burrell Donkin: I ran a script which (seemed to) pull down everything jSPF okay at 08:41:23 (GMT) but now I get a 404 Robert No idea what went wrong. I will push them to nexus again later today.. Bye, Norman - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [RESULT] [VOTE] Release Apache James jSPF 0.9.9
src are good to me, but other projects have the binaries. Does this mean that from now, the politic is to upload the src only and let the binaries been downloaded from maven? Thx. On 10/07/11 10:01, Norman Maurer wrote: Hi there, the sources are enough. Everything else can be downloaded from maven central or build for the source ;) I uploaded the mailbox sources too. So they should be visible within the next 24 hours. Bye, Norman 2011/7/10 Eric Charlese...@apache.org: Only imap sources, but not the whole artifacts. http://apache.belnet.be/james/apache-james-imap/ Thx. On 10/07/11 09:55, Norman Maurer wrote: hmm.. imap is there. I will hae a look for mailbox. Thanks, Norman 2011/7/10 Eric Charlese...@apache.org: Hi, Website is updated and deployed. I will check in 1 hour if download.cgi is now happy with maven-skin (tks Felix). At this occasion, I was willing to create the links to the mirrors for mailbox, imap... but it seems that all the artifacts are not present in mirrors (e.g. http://apache.belnet.be/james/) Thx. On 09/07/11 18:42, Norman Maurer wrote: Ok the artifacts are now on maven central and I also uploaded it to people.apache.org, so they should show up on the mirrors soon. After that we just need to update the website.. any takers ? Bye, Norman 2011/7/9 Norman Maurernor...@apache.org: Hi there, the VOTE passed. Results: +1 Eric, Robert, Norman I will upload the artifacts soon. Thanks for voting, Norman 2011/7/9 Norman Maurernor...@apache.org: +1 Norman 2011/7/6, Norman Maurernor...@apache.org: Hi there, please use this url to review: https://repository.apache.org/content/repositories/orgapachejames-001/ Thanks, Norman 2011/7/6 Norman Maurernor...@apache.org: Am 06.07.2011 12:23, schrieb Robert Burrell Donkin: I ran a script which (seemed to) pull down everything jSPF okay at 08:41:23 (GMT) but now I get a 404 Robert No idea what went wrong. I will push them to nexus again later today.. Bye, Norman - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [RESULT] [VOTE] Release Apache James jSPF 0.9.9
On 10/07/11 09:15, Eric Charles wrote: Hi, Website is updated and deployed. I will check in 1 hour if download.cgi is now happy with maven-skin (tks Felix). It's ok now http://james.apache.org/download.cgi#Apache_jSPF I've closed related JIRA At this occasion, I was willing to create the links to the mirrors for mailbox, imap... but it seems that all the artifacts are not present in mirrors (e.g. http://apache.belnet.be/james/) Thx. On 09/07/11 18:42, Norman Maurer wrote: Ok the artifacts are now on maven central and I also uploaded it to people.apache.org, so they should show up on the mirrors soon. After that we just need to update the website.. any takers ? Bye, Norman 2011/7/9 Norman Maurernor...@apache.org: Hi there, the VOTE passed. Results: +1 Eric, Robert, Norman I will upload the artifacts soon. Thanks for voting, Norman 2011/7/9 Norman Maurernor...@apache.org: +1 Norman 2011/7/6, Norman Maurernor...@apache.org: Hi there, please use this url to review: https://repository.apache.org/content/repositories/orgapachejames-001/ Thanks, Norman 2011/7/6 Norman Maurernor...@apache.org: Am 06.07.2011 12:23, schrieb Robert Burrell Donkin: I ran a script which (seemed to) pull down everything jSPF okay at 08:41:23 (GMT) but now I get a 404 Robert No idea what went wrong. I will push them to nexus again later today.. Bye, Norman - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: HBase rowkey choice for MailboxMapper interface implementation
Hi, I'm finally also +1 for UUID. There's always a price to pay for any option, but the challenges we will have to solve in the message (especially for search) will be a few level higher. So for now, I would simply to worry on scanning the whole mailbox table. There will be also the possibility to add secondary indexes (just put it aside for now, indexes with HBase is not ready for primet ime). So there is room for improvement, just go on with UUID. Thx. On 11/07/11 20:05, Norman Maurer wrote: Hi Ioan, I think it would be the best to use an UUID as key. This way you would not need to update every message metadata if someone renamed the mailbox. You will need to make 2 queries in this case but I think its worth it. Bye, Norman 2011/7/11 Ioan Eugen Stanstan.ieu...@gmail.com: Hello, Development on the mailbox is going well, I am nearly done with implementing MailboxManager. After this, the route will be SubscriptionManager and MessageManager. We are facing some issues regarding the key choice that will determine the way to access mailboxes. The MAILBOXES HBase table stores information about individual mailboxes. The current values stored are: Name, Namespace, User (who is probably owner of the mailbox ???), uid validity field, last uid, highest mod seq, for which I don't know the purpose, and mailbox ID. After discussing with Eric, I have switched from using the mailbox ID as a row key to using one like „user:namespace:name”. Eric pointed out that mailboxes can be renamed and we should switch back using the UID as a rowkey. We agreed that it's best to have an open discussion about this. The mailbox search API provides access only to a MailboxPath, that we have to use in order to find information about the mailbox. If we use a rowkey like user:namespace:name, finding the mailbox and getting the information is a simple Get operation. Also, finding mailboxes that contain that mailbox name is a scan with a partial key, so again pretty fast. If we are using the mailbox ID as a row key, finding a mailbox by it's path is more difficult. We have to either scan the entire table, or store additional information in the users account (like what mailboxes does he have, and what are their ID's, and get them by ID). My thoughts: The IMAP RFC states that a user can not send commands that affect messages unless he is in „Selected State”, that is he has successfully selected a mailbox (SELECT or EXAMINE). To get into selected state he must be first authenticated. The user must also have a primary mailbox called „INBOX”. I think we can use this to form a key, and store some valuable information that we can use for other cases. What do you think? Regards, -- Ioan Eugen Stan http://ieugen.blogspot.com/ - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Unable to fine svn link
Hi, This should be the one https://svn.apache.org/repos/asf/james/server/trunk/ Sounds like you found some help on openjpa mailing list :) Thx. On 11/07/11 20:41, Saibabu Vallurupalli wrote: Hi, We have got Apache Jame software downloaded from: https://repository.apache.org/content/groups/snapshots/org/apache/james/james-server-container-spring/3.0-M3-SNAPSHOT/ Now, I am adding a fix to this build for Encryption/Decryption and looks for SVN to check-out the source. Can someone point me to the correct svn repository URL. Thanks, Sai -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Unable to fine svn link
Oops, For mailbox: https://svn.apache.org/repos/asf/james/mailbox/trunk/ On 11/07/11 20:45, Eric Charles wrote: Hi, This should be the one https://svn.apache.org/repos/asf/james/server/trunk/ Sounds like you found some help on openjpa mailing list :) Thx. On 11/07/11 20:41, Saibabu Vallurupalli wrote: Hi, We have got Apache Jame software downloaded from: https://repository.apache.org/content/groups/snapshots/org/apache/james/james-server-container-spring/3.0-M3-SNAPSHOT/ Now, I am adding a fix to this build for Encryption/Decryption and looks for SVN to check-out the source. Can someone point me to the correct svn repository URL. Thanks, Sai -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Unable to fine svn link
Hi, If you're looking for M3, it does not really exist. The easiest is to use trunk, or if you want something tagged: https://svn.apache.org/repos/asf/james/mailbox/tags/apache-james-mailbox-0.3/ https://svn.apache.org/repos/asf/james/server/tags/james-server-3.0-beta2/ Thx. On 11/07/11 21:08, Saibabu Vallurupalli wrote: Hi Eric, I got the same link and applied the fix. Ran into issues. I compared the source and it is not same. I will review one more time. Yes, I got some alternate suggestions from OpenJPA asking me to use @Externalizer and @Factory. I am done with modifications and doing build. During build time there are some unit tests which you run all the tests passed. I went a head modified and deployed this one JAR apache-james-mailbox-jpa-0.2-M2-20110401.040755-51.jar. It is giving me errors. Now, I am trying to get the svn path. Once this works, I will send you the source files for patch. Thank you, Sai On Mon, Jul 11, 2011 at 2:45 PM, Eric Charlese...@apache.org wrote: Hi, This should be the one https://svn.apache.org/repos/**asf/james/server/trunk/https://svn.apache.org/repos/asf/james/server/trunk/ Sounds like you found some help on openjpa mailing list :) Thx. On 11/07/11 20:41, Saibabu Vallurupalli wrote: Hi, We have got Apache Jame software downloaded from: https://repository.apache.org/**content/groups/snapshots/org/** apache/james/james-server-**container-spring/3.0-M3-**SNAPSHOT/https://repository.apache.org/content/groups/snapshots/org/apache/james/james-server-container-spring/3.0-M3-SNAPSHOT/ Now, I am adding a fix to this build for Encryption/Decryption and looks for SVN to check-out the source. Can someone point me to the correct svn repository URL. Thanks, Sai -- Eric --**--**- To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.orgserver-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.**orgserver-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Need help with build / deployment
On 11/07/11 23:09, Saibabu Vallurupalli wrote: Hi All, I am kind of stuck with build and deployment please help me with this. To achieve Encryption/Decryption functionality I have to modify JPAMessage.java file and add another file CustomJPAMessage.java. The fix I made uses JASYPT Library as well. The steps I followed are below: In Eclipse I have checked-out the JPA project: http://svn.apache.org/repos/asf/james/mailbox/trunk/jpa Opened JPA project in Eclipse as a JAVA project Completed the modifications. Opened command-prompt and ran the package command mvn clean package Artifacts got generated with name: apache-james-mailbox-jpa-0.4-SNAPSHOT.jar apache-james-mailbox-jpa-0.4-SNAPSHOT-tests.jar I took the back-up of existing apache-james-mailbox-jpa-0.2-M2-20110401.040755-51.jar file and place the apache-james-mailbox-jpa-0.4-SNAPSHOT.jar in my Apache James server library path. The safer is to copy apache-james-mailbox-jpa-0.4-SNAPSHOT.jar to apache-james-mailbox-jpa-0.2-M2-20110401.040755-51.jar. If you do such, you don't have to change scripts. What I would in for your case: 1. Test my env without the path with fresh trunk 1.1- svn co https://svn.apache.org/repos/asf/james/current/ 1.2- mvn clean install from the root of mailbox 1.3- mvn clean install from the root of protocols (optional) 1.4- mvn clean install from the root of imap (optional) 1.5- mvn clean install from the root of server (optional) 1.6- mvn clean install from the root of app 1.7- test the generated artifact in target folder 2. Test my test 2.1- apply patch in mailbox 2.2- mvn clean install from the root of mailbox 2.3- mvn clean install from the root of app 2.4- test the generated artifact in target folder If you begin to change by hand things, there are chances that you miss things, especially if you are not yet used with all james conf, jars... When i am trying to start James server it complains about missing classes. Caused by: java.lang.ClassNotFoundException: org.apache.james.mailbox.jpa.mail.JPACachingUidProvider. I compared the JAR file size and found the new one (67KB) is less than the original one (74KB). Any suggestions on making build and deployments? I have attached the modified java files and pom.xml including JASYPT library to this email. Thanks, Sai - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Need help with build / deployment
On 12/07/11 03:50, hyysguy...@gmail.com wrote: How do you start your james server? 1. You need to update the classpath of run.sh if you start it with run.sh script. 2. You need to update the wrapper.conf/wrapper.conf if you start it with james script. However, the simplest solution is just put the jar to directory conf/lib, but this maybe not make sense if you change some james-related java source files . jar in conf/lib can work because conf/lib is first on the classpath, but you would still have the same/old classes/package in /lib (can be error-prone/confusing?). Please be free to contact with me for any question or suggestion. Thanks Best Regards . Young Gu | Software Engineer | http://www.infor.com On 7/12/2011 5:09 AM, Saibabu Vallurupalli wrote: Hi All, I am kind of stuck with build and deployment please help me with this. To achieve Encryption/Decryption functionality I have to modify JPAMessage.java file and add another file CustomJPAMessage.java. The fix I made uses JASYPT Library as well. The steps I followed are below: In Eclipse I have checked-out the JPA project: http://svn.apache.org/repos/asf/james/mailbox/trunk/jpa Opened JPA project in Eclipse as a JAVA project Completed the modifications. Opened command-prompt and ran the package command mvn clean package Artifacts got generated with name: apache-james-mailbox-jpa-0.4-SNAPSHOT.jar apache-james-mailbox-jpa-0.4-SNAPSHOT-tests.jar I took the back-up of existing apache-james-mailbox-jpa-0.2-M2-20110401.040755-51.jar file and place the apache-james-mailbox-jpa-0.4-SNAPSHOT.jar in my Apache James server library path. When i am trying to start James server it complains about missing classes. Caused by: java.lang.ClassNotFoundException: org.apache.james.mailbox.jpa.mail.JPACachingUidProvider. I compared the JAR file size and found the new one (67KB) is less than the original one (74KB). Any suggestions on making build and deployments? I have attached the modified java files and pom.xml including JASYPT library to this email. Thanks, Sai - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Mailbox source compatibility issue
Hi, I you replace the mailbox 0.2 with 0.3, you still have to update the spring files. I read imap was compliant with 0.2 and 0.3, but I remember I had some issues (some method signature change). This is why to avoid any compatibility issue, I usually take a trunk or a release src, and rebuild all (mvn install). if you do -DskipTests=true, it's quick. Thx. On 12/07/11 19:41, Norman Maurer wrote: Just ping us if you need some help.. Bye, Norman 2011/7/12 Saibabu Vallurupallisaibabu.vallurupa...@gmail.com: Okay I will upgrade now :-( My colleague scared me saying upgrade is not very easy after replacing mailbox 0.3 libraries looks like I have to do some configuration changes. I will check with Vanessa. Thank you, Sai On Tue, Jul 12, 2011 at 1:37 PM, Norman Maurernorman.mau...@googlemail.com wrote: JPAMailboxMembership was removed in 0.3 release. Thats why I said it would be better to move to 0.3 api. Bye, Norman 2011/7/12 Saibabu Vallurupallisaibabu.vallurupa...@gmail.com: I took a closure look into the issue I am getting after fixing the Excryption logic. I have found a new class in the deployed version of James i.e., JPAMailBoxMessageMember.java file and this is making call to JPAMessage.java class with the construct using different parameters. The exception says that I am trying to create a JPAMessage with the following signature (Ljava/io/InputStream;JILjava/ util/List;Lorg/apache/james/mailbox/store/mail/model/PropertyBuilder), but it doesn't look like that constructor exists? This is happening in JPAMailboxMembership.java line#59. I did intensive search to see where I can find JPAMailboxMembership.java file and I failed. Can some one point me to the correct svn path that contain JPAMailboxMembership.java file? Thank you, Sai - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1145691 - in /james/mailbox/trunk: ./ jpa/ jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/openjpa/ jpa/src/main/java/org/apache/james/mailbox/jpa/openjpa/
On 13/07/11 07:28, Norman Maurer wrote: Hi there, you need to use this two files content: snip conf/james-mailbox-jpa-context.xml: beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation= http://www.springframework.org/schema/beans classpath:org/springframework/beans/factory/xml/spring-beans-3.0.xsd !-- Mailbox JPA -- bean id=jpa-locker class=org.apache.james.mailbox.store.JVMMailboxPathLocker/ bean id=jpa-mailboxmanager class=org.apache.james.mailbox.jpa.openjpa.OpenJPAMailboxManager init-method=init constructor-arg index=0 ref=jpa-sessionMapperFactory/ constructor-arg index=1 ref=authenticator/ constructor-arg index=2 ref=jpa-locker/ constructor-arg index=3 value=YOURPASSWORD/ /bean I like the AdvanceFeature enum in OpenJPAMessageManager. I didn't known how to pass null value to trigger if (encryptPass != null) , but it seems to be: constructor-arg index=3null//constructor-arg -- Eric - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1145691 - in /james/mailbox/trunk: ./ jpa/ jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/openjpa/ jpa/src/main/java/org/apache/james/mailbox/jpa/openjpa/
On 13/07/11 16:50, Saibabu Vallurupalli wrote: This sounds like I have upgrade entire MailBox NOT just Mailbox-JPA library. Please correct me if there is anything I am missing. Thanks, Sai Hi, Did you build from src or used a snapshot from maven? Also, before any change, can you start james? Thx. -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: configuration files
On 13/07/11 17:05, Saibabu Vallurupalli wrote: Hi, I am looking into the source path in SVN to get access to configuration files like james-server-context.xml etc., where can I find them? These files are not under regular source tree for that modules i.e., for example If I am working on Mailbox-JPA module the configuration file related to this module is james-mailbox-jpa-context.xml and this is not under the same project. Please point me to the correct path. Thanks, Sai Yes, quite confusing isn't it :) The spring files is only available in the app project https://svn.apache.org/repos/asf/james/app/trunk/src/main/config/james/context/ I personally find that the spring files related to mailbox should be in mailbox, and not in server, or app, or... So there is https://svn.apache.org/repos/asf/james/mailbox/trunk/spring/src/main/resources/META-INF/james/ This last one is not used and still needs to be updated to take into account the last implementation changes. Btw, - it's not updated, because it is not used. - it's not used, not because it's not updated. :) -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1145691 - in /james/mailbox/trunk: ./ jpa/ jpa/src/main/java/org/apache/james/mailbox/jpa/mail/model/openjpa/ jpa/src/main/java/org/apache/james/mailbox/jpa/openjpa/
I you use a tar.gz snapshot from maven, take care to build mailbox trunk (not a tag). Maybe you're falling in race condition, where trunk/snapshot is not yet published in maven repo (it's not instantaneous, can take a few hours...). You could try to build mailbox from src without any change, put the new jars (take care to not simply copy, but really replace the old ones with the new ones), and see if it still works. I suppose you want to test the new feature committed by norman on the encryption? Thx. On 13/07/11 17:52, Saibabu Vallurupalli wrote: Hi Eric, Yes, it is from Snapshot 0.4-SNAPSHOT. I was able to start James and send email properly before upgrade. I started upgrading entire Mailbox instead of just JPA and got another issue will send it in a separate thread. Thanks, Sai On Wed, Jul 13, 2011 at 11:40 AM, Eric Charlese...@apache.org wrote: On 13/07/11 16:50, Saibabu Vallurupalli wrote: This sounds like I have upgrade entire MailBox NOT just Mailbox-JPA library. Please correct me if there is anything I am missing. Thanks, Sai Hi, Did you build from src or used a snapshot from maven? Also, before any change, can you start james? Thx. -- Eric Charles http://about.echarles.net --**--**- To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.orgserver-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.**orgserver-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Unable to start James after Mailbox upgrade
Hi, Do you use the spring files from app or fro mailbox/spring ? You should normally rely on app ones, the mailbox/spring ones are not up-to-date. Thx. On 13/07/11 18:33, Saibabu Vallurupalli wrote: Hi Eric, I just did the upgrade part for Mailbox got the files from: https://repository.apache.org/content/groups/snapshots/org/apache/james/ apache-james-mailbox-api-0.4-20110713.042145-27.jar apache-james-mailbox-jcr-0.4-20110713.042325-27.jar apache-james-mailbox-jpa-0.4-20110713.042245-27.jar apache-james-mailbox-maildir-0.4-20110713.042343-27.jar apache-james-mailbox-memory-0.4-20110713.042223-27.jar apache-james-mailbox-store-0.4-20110713.042202-27.jar apache-james-mailbox-tool-0.4-20110713.042357-27.jar Also, updated Spring config file except for james-server-context.xml rest all I update from the site you have just sent to me. After modification I am trying to start Apache James server and it crashes. The exception in the log file shows like below: Error creating bean with name 'imapCndLoader' defined in class path resource [context/james-mailbox-jcr-context.xml]: Cannot resolve reference to bean 'jcrRepository' while setting bean property 'arguments' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'jcrRepository' defined in class path resource [context/james-mailbox-jcr-context.xml]: Cannot resolve reference to bean 'config' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'config' defined in class path resource [context/james-mailbox-jcr-context.xml]: No matching factory method found: factory method 'create(InputStream,String)'. Check that a method with the specified name and arguments exists and that it is static. Please advise. Thanks, Sai -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Unable to start James after Mailbox upgrade
Hi, I have to leave and can not give you a valid answer to solve this (time is too short). As temp workaround, you could comment all references in the main spring file to the mailbox-jrc-context.xml (spring will not load that part). Thx. On 13/07/11 20:47, Saibabu Vallurupalli wrote: Hi Eric, This error is coming from Jackrabbit on two argument constructor using public static RepositoryConfig create(String file, String home) I am not familiar with the relation between the configuration inside the file James/conf/context/james-mailbox-jcr-context.xml and Jackrabbit. But same configuration works great with 0.2-M2 files this error occurs only when I replace the these files with 0.4-SNAPSHOT. Is there anything I am missing? Please advise. Thanks, Sai On Wed, Jul 13, 2011 at 2:16 PM, Eric Charleseric.char...@u-mangate.comwrote: Hi, Do you use the spring files from app or fro mailbox/spring ? You should normally rely on app ones, the mailbox/spring ones are not up-to-date. Thx. On 13/07/11 18:33, Saibabu Vallurupalli wrote: Hi Eric, I just did the upgrade part for Mailbox got the files from: https://repository.apache.org/**content/groups/snapshots/org/** apache/james/https://repository.apache.org/content/groups/snapshots/org/apache/james/ apache-james-mailbox-api-0.4-**20110713.042145-27.jar apache-james-mailbox-jcr-0.4-**20110713.042325-27.jar apache-james-mailbox-jpa-0.4-**20110713.042245-27.jar apache-james-mailbox-maildir-**0.4-20110713.042343-27.jar apache-james-mailbox-memory-0.**4-20110713.042223-27.jar apache-james-mailbox-store-0.**4-20110713.042202-27.jar apache-james-mailbox-tool-0.4-**20110713.042357-27.jar Also, updated Spring config file except for james-server-context.xml rest all I update from the site you have just sent to me. After modification I am trying to start Apache James server and it crashes. The exception in the log file shows like below: Error creating bean with name 'imapCndLoader' defined in class path resource [context/james-mailbox-jcr-**context.xml]: Cannot resolve reference to bean 'jcrRepository' while setting bean property 'arguments' with key [0]; nested exception is org.springframework.beans.**factory.BeanCreationException: Error creating bean with name 'jcrRepository' defined in class path resource [context/james-mailbox-jcr-**context.xml]: Cannot resolve reference to bean 'config' while setting constructor argument; nested exception is org.springframework.beans.**factory.BeanCreationException: Error creating bean with name 'config' defined in class path resource [context/james-mailbox-jcr-**context.xml]: No matching factory method found: factory method 'create(InputStream,String)'. Check that a method with the specified name and arguments exists and that it is static. Please advise. Thanks, Sai -- Eric Charles http://about.echarles.net --**--**- To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.orgserver-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.**orgserver-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Apache James Server 3.0-beta2 artifacts
On 13/07/11 13:29, Norman Maurer wrote: Am 12.07.2011 21:03, schrieb Robert Burrell Donkin: On Tue, Jul 12, 2011 at 5:57 PM, Norman Maurer norman.mau...@googlemail.com wrote: Yes the files was committed by me and it seems like I forgot them :( I'll add them into trunk, and then maybe take a look at seeing why rat isn't part of the build... Robert so what todo next ? I really lost track of what todo to get the release out :( Bye, Norman Also lost... Is there a blocker, or is it more like not easy to review, but good? Thx. - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Apache James Server 3.0-beta3
[x] +1 Yes, please release because of: wget https://repository.apache.org/content/repositories/orgapachejames-026/org/apache/james/james-server/3.0-beta3/james-server-3.0-beta3-source-release.tar.gz tar xvfz james-server-3.0-beta3-source-release.tar.gz cd james-sever-3.0-beta3 mvn install -- OK (tests...) upgrade app pom with parent=3.0-beta3 'cd app' and 'mvn install' test the generated assembly tar.gz. Server starts and basic end user tests (smtp/imap/pop3 are OK). On 14/07/11 19:40, Norman Maurer wrote: Hi there, I think we are now finaly ok after a few problems with the last snapshots which was uploaded for release. So please review the artifacts and cast your vote: https://repository.apache.org/content/repositories/orgapachejames-026/ [ ] +1 Yes, please release [ ] +0 No time to review [ ] -1 Something wrong Ps: The parent pom and the source seems to be there now - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1147372 - /james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java
The question is what do we do when we delete a mailbox with sub mailboxes ? For now, we allow this (I didn't check in RFC if this is allowed). With the merge of mailboxmanager tests, it succeeds with jpa/jcr, but fails with maildir (logical!). Any hint? On 16/07/11 09:37, e...@apache.org wrote: Author: eric Date: Sat Jul 16 07:37:48 2011 New Revision: 1147372 URL: http://svn.apache.org/viewvc?rev=1147372view=rev Log: Temporary comment to avoid maildir test failure (MAILBOX-73) Modified: james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java Modified: james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java URL: http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java?rev=1147372r1=1147371r2=1147372view=diff == --- james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java (original) +++ james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java Sat Jul 16 07:37:48 2011 @@ -76,10 +76,13 @@ public abstract class AbstractMailboxMan getMailboxManager().deleteMailbox(inbox, session); Assert.assertFalse(getMailboxManager().mailboxExists(inbox, session)); -Assert.assertTrue(getMailboxManager().mailboxExists(inboxSubMailbox, session)); -getMailboxManager().deleteMailbox(inboxSubMailbox, session); -Assert.assertFalse(getMailboxManager().mailboxExists(inboxSubMailbox, session)); +// TODO Temporary commented to avoid maildir test failure + +//Assert.assertTrue(getMailboxManager().mailboxExists(inboxSubMailbox, session)); + +//getMailboxManager().deleteMailbox(inboxSubMailbox, session); +// Assert.assertFalse(getMailboxManager().mailboxExists(inboxSubMailbox, session)); getMailboxManager().logout(session, false); getMailboxManager().endProcessingRequest(session); - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Apache James Server 3.0-beta3
Hi Robert, I've committed [2] and [3] headers in trunk and removed [4]. Thx. On 16/07/11 12:23, Robert Burrell Donkin wrote: On Thu, Jul 14, 2011 at 6:40 PM, Norman Maurer norman.mau...@googlemail.com wrote: Hi there, I think we are now finaly ok after a few problems with the last snapshots which was uploaded for release. So please review the artifacts and cast your vote: https://repository.apache.org/content/repositories/orgapachejames-026/ Looks good :-) Just a few loose ends for me to tie up... There are a just few resources (unexpectedly) missing licensing information. norman - could you confirm whether [1] is an original works unintentionally missing a license header eric - could you confirm whether [2] and [3] are original works unintentionally missing license headers eric - [4] looks oddly empty, so unlikely to be copyrightable. Is it still needed? Robert [1] http://svn.apache.org/viewvc/james/server/trunk/protocols-library/src/test/java/org/apache/james/protocols/lib/mock/MockProtocolHandlerLoader.java?view=log [2] http://svn.apache.org/viewvc/james/server/trunk/src/site/resources/js/dev.js?view=log [3] http://svn.apache.org/viewvc/james/server/trunk/src/site/resources/js/index.js?view=log [4] http://svn.apache.org/viewvc/james/server/trunk/src/site/resources/james-server-mailets-function/mailet-report.html?view=log - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Thanks a lot
Hi Sai, James has now one more cool feature thanks to you commitment to make it happen :) Thx again and looking forward, Eric On 18/07/11 04:43, Saibabu Vallurupalli wrote: I wanted to share my happiest moment with entire Dev team. The Ecryption/Decryption logic worked great. I am successful after one full week of fix/upgrade James process. It was a very great support from Norman/Eric/Robert and the team. I am thankful to everyone. One week back I have no knowledge of Apache James and Apache OpenJPA it was a great learning with all your support. My email server is up and running with Encryption and Decryption logic. Thank you all once again and Have a wonderful week ahead. Thanks, Sai -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: How to run and debug hupa-client from Eclipse?
On 21/07/11 00:00, sonia wrote: Hello, I'm new to all this -- checking out public project, and trying to run them. I've used mvn eclipse:eclipse to import the projects into eclipse, since M2E did not recognize hupa-client as a web project and was annoying. Last time I imported hupa in eclipse was long time ago. If this does not work, there must be some tricks on the module definition. Don't hesitate to hack the poms and submit a patch if you find a solution. How can I debug it? I can deploy the war into tomcat and run it, but cant run (nor debug) anything when I try to deploy hupa-client project from within eclipse, to the same tomcat instance. For other GWT projects, I used a main class that launched a Jetty web container. I also had to use special WebAppClassLoader (or such) to make the container automatically reload in case of src code change. Once again, patch welcome :) Thx for testing Hupa! (sent to server-dev rather than sit-dev) What did you do to make it work for you? What am I missing? Thanks, sonia -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Apache James Mime4j 0.7 (second try)
[x] +1 Please release On 20/07/11 21:37, Norman Maurer wrote: Hi there, this is the second try to release version 0.7 of Apache James Mime4j. This first VOTE was canceled because of some problems with the binary bundles. So please review and VOTE: https://repository.apache.org/content/repositories/orgapachejames-020/ [ ] +1 Please release [ ] +0 No time to review [ ] -1 Something wrong Thanks, Norman - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: great news
On 21/07/11 22:01, Ioan Eugen Stan wrote: Hello everybody, I have two great news: 1. I have been granted financial support to go to ApacheCon Vancouver 2011. I just have to fill some papers and save some cash but I will see this through. Congrats! Same here: We'll have a beer in Vancouver :) Unfortunately, I was too late to register a slot for a James presentation. Anyway, we'll market James having contacts with other participants. 2. I am very close to finishing the HBase implementation. There is just HBaseMessageMapper() left to implement (about tow days work) and it should be ready for real life tests. I will give feedback on current implementation this weekend. Maybe I'm wrong, but messagemapper will take more time than mailbox/subscription. Two days sounds short to have it working. Unfortunately, for the next week I will have limited Internet connectivity and limited time because I will be going on a trip to Vilnius, Lithuania. Good trip. After the implementation is finished I plan to take care of the documentation, some bug hunting and search for optimizations. I will need your help when the time for release is close. I've created a documentation page for mailbox-hbase: https://svn.apache.org/repos/asf/james/mailbox/trunk/src/site/xdoc/mailbox-hbase.xml You can use this page and create documentation patches. Just target a first non optimized implementation. Optimization can always come after. Before releasing, we'll need to test it in real. I'm volunteering for that :) Regarding real life tests, what is the minimum recommended hardware configuration necessary? I will forward this information to some friends in RLUG and Politechnica University and hopefully will get a positive reply. p.s. who else is going to ApacheCon this year? Eric, are you going? Other then that, I wish you the best, -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: great news
On 23/07/11 09:23, Norman Maurer wrote: This will influence my design. I read somewhere that the maximum cell size in HBase is suggested to be around 10MB. We have two options: 1. split the message in more cells 2. store a reference to a message and the actual message directly in HDFS. They both present chalenges, but I think the first option cen be implemented faster. I think 1 makes more sense atm. I guess we could make kind of pluggable later.. Option 1 is indeed the most adapted (remember the issue on small files stored in hdfs). You could even start without worrying about splitting in chunks to begin. There was a discussion on the hbase mailing list about this a month ago (or so), and a generic solution could even be used in a short time frame. If we don't have that generic solution, we can implement ours during the optimization phase. Sounds like we putting much in that optimization phase, but it's how iterative development works with constant refactoring. You can also think to test driven development and have the needed unit tests that ensure that your refactoring does not break anything. -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: great news
On 23/07/11 09:39, Ioan Eugen Stan wrote: 2011/7/23 Norman Maurernorman.mau...@googlemail.com: hi there, comments inside... Thanks Norman, 1. I have only access to the Message and Mailbox interfaces when saving/deleting messages? Sorry dont understand the question.. I tried to cast Message to HBaseMessage, but when I ran HBaseMessageManagerTest it failed due to a ClassCast exception while trying to cast a SimpleMessage to HBaseMessage. So it seemed that I have to relay only on the interfaces. So I asked to make sure this was the case. Not sure in which case you encounter the exception. As a general rule of thumb, if the interface has the methods you need, simply use/declare interface. If you need additional methods in the implementation, you need to use/declare the concrete. If SimpleMessage has what you need, but still you want additional behavior, HBaseMessage could extend SimpleMessage. The drawback is that you are not immune to SimpleMessage refactoring. 4. What exactly are Properties from JPAMessage implementation and why is order important? Are they the header fields? its about extra infos that are needed for part fetches. The order is not important, i think I changed the interface to not extend comperable anymore.. My main source for inspiration is JPA implementation. JPAProperties implementation keeps track of the order, but I think I will useorg. apache.james.mailbox.store.mail.model.impl.SimpleProperty instead of my own implementation. If SimpleProperty has enough, you can use it. It also depends if you want a separate table of Property, or use columns/qualifiers on Message entry. If you are going to separate table, you will need to think on the hbase key generation/accessor on your Property object (SimpleProperty has no such key accessor...). To which table schema are you going to? bye norman Regards, -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
jenkins and snapshots for app
Hi, I think we don't have jenkins and snapshots deployment for the new app project. Right? Also, I can login to jenkins, but can not edit configuration, create new jobs... Normal? Thx. -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [RESULT] [VOTE] Release Apache James Mime4j 0.7 (second try)
On 24/07/11 19:17, Norman Maurer wrote: @Eric: Can you update the website and upload the javadocs ? This will be the occasion to upgrade mime4j site to latest maven skin. I will also post the good news on http://blogs.apache.org/james/ and on http://twitter.com/ApacheJames. Any summary text more fancy than https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310521version=12313592 ? Thx. Bye, Norman 2011/7/20 Norman Maurernor...@apache.org: Hi there, this is the second try to release version 0.7 of Apache James Mime4j. This first VOTE was canceled because of some problems with the binary bundles. So please review and VOTE: https://repository.apache.org/content/repositories/orgapachejames-020/ [ ] +1 Please release [ ] +0 No time to review [ ] -1 Something wrong Thanks, Norman - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: great news
On 22/07/11 10:26, Eric Charles wrote: 2. I am very close to finishing the HBase implementation. There is just HBaseMessageMapper() left to implement (about tow days work) and it should be ready for real life tests. I will give feedback on current implementation this weekend. Hi Ioan, First feedback's: - Build and test run fine. - Test take time, this is due to minicluster start/stopn, but I see luster is already launched with a @BeforeClass. maybe some tests could be grouped in a TestSuite, the TestSuite being responsible to launch the minicluster. this would need some - HBaseSubscription: don't throw NullPointerException, but IllegalArgumentException - HBaseSubscription: There's a TODO move all HBase related operations into it's own class. Do you mean you will move SUBSCRIPTION_CF, MARKER and toPut to another class? Indeed, now, you create the Put in HBaseSubscription and Delete in HBaseSubscriptionMapper. - Everywhere: when you open a HTable, you need to close() it in a finally block. - HBaseMailboxManager: I would get rid of useStreaming. - HBaseMailbox: UUID already ensure you some kind of unique id. This is a classical way to create a unique id in nosql. - I was confused with HBaseUtils.mailboxRowKey(HBaseMailbox). You are using it to transform the UUID and create the needed Put, Delete..., and when you recreate a HBaseMailbox, you use UUIDFromRowKey. I suppose you gain place using the Most and Least Significant Bits. Is this the goal ? If yes, you can document it in javadoc and even have a special class UUIDRowKeyConverter to make this conversion instead of having it in HBaseUtils. I would even split the public final constants in a separate interfaces and have the util methods in their own classes. - You don't use the XML configuration previously parsed with jaxme? How are you going to inject the HBaseMailboxSessionMapperFactory with its Configuration conf. This is classically done in James via Spring. You can try with mailbox-spring to be sure we've got a way to do it. When you will get futher in MessageManager, you will have to pay attention to spring wiring and mailbox integration tests, so still much work (the suggested 'pencils down' date being 16/8). Good work! -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: James upgrade database issues
Hi, The web site we have to deploy documents this. You can read in preview the proposed procedure on https://svn.apache.org/repos/asf/james/server/trunk/src/site/xdoc/upgrade-database.xml The idea is to copy the old database to maildir, and then recopy back the maildir to the new database. Hope you can find your way. Thx. On 25/07/11 14:49, Saibabu Vallurupalli wrote: Hi Team, Good morning. I have completed upgrade successfully using new James database from 3.0-M3-SNAPSHOT to 3.0-beta2 release. During this upgrade process I tried to use existing database and I wasn't successful then I have take backup of existing database and create a new James database. Now, I wanted to restore the MySQL database which I have taken backup and trying to figure out what the differences are going to be. Is there any better way I can handle this upgrade without having much impact on database? How do I know the changes to Database from 3.0-M3-SNAPSHOT and 3.0-beta2? Please advise. Thanks, Sai -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [RESULT] [VOTE] Release Apache James Mime4j 0.7 (second try)
Norman has uploaded for the mirrors this morning. Still need some time to be updated. One small question : Mime4j (like in doc) or Mime4J (like in release notes) ? Thx. On 25/07/11 15:15, Eric Charles wrote: On 25/07/11 11:37, Stefano Bagnara wrote: 2011/7/25 Eric Charlese...@apache.org: On 24/07/11 19:17, Norman Maurer wrote: @Eric: Can you update the website and upload the javadocs ? This will be the occasion to upgrade mime4j site to latest maven skin. I will also post the good news on http://blogs.apache.org/james/ and on http://twitter.com/ApacheJames. Any summary text more fancy than https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310521version=12313592 ? Here: https://svn.apache.org/repos/asf/james/mime4j/tags/apache-mime4j-project-0.7/RELEASE_NOTES.txt Stefano Thx for the link Stefano. Mirrors are not yet updated with latest release (e.g. http://apache.megamobile.be/james/mime4j/) Thx. Bye, Norman 2011/7/20 Norman Maurernor...@apache.org: Hi there, this is the second try to release version 0.7 of Apache James Mime4j. This first VOTE was canceled because of some problems with the binary bundles. So please review and VOTE: https://repository.apache.org/content/repositories/orgapachejames-020/ [ ] +1 Please release [ ] +0 No time to review [ ] -1 Something wrong Thanks, Norman - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [VOTE] Release Apache James jDKIM 0.2
[x] +1 Yes, go ahead On 25/07/11 19:50, Norman Maurer wrote: Hi there, its time for the second release of jDKIM a.k.a 0.2. A list of changes can be found here: https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310990version=12314300 The artifacts for review can be found here: https://repository.apache.org/content/repositories/orgapachejames-031/ So please go ahead and cast your VOTE. [ ] +1 Yes, go ahead [ ] +0 No time for review [ ] -1 Something wrong Thanks, Norman - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Unknown user doesn't errors out
Hi Sai, You can have a look in mailetcontainer.xml example [1] in the processor name=local-address-error section and activate !-- To notify the sender the address was invalid, uncomment this matcher/mailet configuration -- !-- The original message is not attached to keep the bounce processor from deliverying spam -- mailet match=All class=Bounce attachmentnone/attachment /mailet Thx. [1] https://svn.apache.org/repos/asf/james/app/trunk/src/main/config/examples/mailetcontainer.xml On 26/07/11 16:15, Saibabu Vallurupalli wrote: Hi All, Good morning. We have integrated Apache James with SquirrelMail. Trying to send email to known unknown user or to the user doesn't exists,. SquirrelMail client doesn't show any errors message. i.e., we are expecting mail to bounce back with a message from Apache James saying unknown user or user doesn't found. Did I miss any configuration in James to get this message back? Please advise. Thanks, Sai -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [RESULT] [VOTE] Release Apache James Mime4j 0.7 (second try)
Can someone update the sample page. I could do it, but it will be much faster and safer from mime4j specialists. https://svn.apache.org/repos/asf/james/mime4j/trunk/src/site/apt/usage.apt Thx. On 25/07/11 15:49, Eric Charles wrote: Norman has uploaded for the mirrors this morning. Still need some time to be updated. One small question : Mime4j (like in doc) or Mime4J (like in release notes) ? Thx. -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Issue with address-error not bounced
Hi Sai, Just to be sure, are you running James V3 with virutalHosting enabled (the default config)? Did you add MyDomain.net in the list of domains via the JMX/CLI client? Also, I wonder if uppercase don't give issue? Can you try with mydomain.net? Thx. On 27/07/11 04:49, Saibabu Vallurupalli wrote: Hi Team, We are trying to configure James to return undelivered messages which are unknown user etc., Yesterday Eric suggested a solution and it worked great. This works only for any email sent to x...@localhost.com, where xyz user is not available. The problem we are trying to fix is, we have our own domain mydomain.net and email users are configured to this domain NOT localhost. Now, If I send an email from a...@mydomain.net to x...@mydomain.net where xyz doesn't exists. Unknown user exception from postmaster are not sent. I am not getting any error messages back. So, how to configure MyDomain.net instead of localhost? Please advise. Thanks, Sai -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Unknown user doesn't errors out
Hi Sai, See answer on your last mail. Thx. On 26/07/11 21:03, Saibabu Vallurupalli wrote: Hi Eric, The fix below worked great. But this works only for localhost. What we are trying is little different, we created our own domain and users. So, if we send an email to our custom domain to an unknown user, then error message is not bounced. Example: x...@localhost.com worka greeat. Now, I configured mydomain.net and trying to send an email from my valid user to an invalid user xyz as below: s...@mydomain.net to x...@mydomain.net and the error is NOT shown. Is there any similar configuration I should be doing for MyDomain.net as well? Please advise. Thanks, Sai On Tue, Jul 26, 2011 at 10:20 AM, Eric Charlese...@apache.org wrote: Hi Sai, You can have a look in mailetcontainer.xml example [1] in theprocessor name=local-address-error section and activate !-- To notify the sender the address was invalid, uncomment this matcher/mailet configuration -- !-- The original message is not attached to keep the bounce processor from deliverying spam -- mailet match=All class=Bounce attachmentnone/attachment /mailet Thx. [1] https://svn.apache.org/repos/**asf/james/app/trunk/src/main/** config/examples/**mailetcontainer.xmlhttps://svn.apache.org/repos/asf/james/app/trunk/src/main/config/examples/mailetcontainer.xml On 26/07/11 16:15, Saibabu Vallurupalli wrote: Hi All, Good morning. We have integrated Apache James with SquirrelMail. Trying to send email to known unknown user or to the user doesn't exists,. SquirrelMail client doesn't show any errors message. i.e., we are expecting mail to bounce back with a message from Apache James saying unknown user or user doesn't found. Did I miss any configuration in James to get this message back? Please advise. Thanks, Sai -- Eric Charles http://about.echarles.net --**--**- To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.orgserver-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.**orgserver-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: svn commit: r1147372 - /james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java
If we apply this logic to all mailboxes, we will have remaining empty folders. This is confusing and will impact some logic in other methods, such as list(). Maybe we could apply this logic only for INBOX path. WDYT? On 26/07/11 20:02, Norman Maurer wrote: I think we should just remove the cur/new/tmp folders and the metadata when using maildir. Bye, Norman 2011/7/26 Eric Charlese...@apache.org: Hi Norman, Thx for the confirmation. I've reactivated the test in trunk, but it break the maildir test. Maildir is special because 'INBOX' is a folder (with its cur/ new/ tmp/) and any other folders (.INBOX.SUB1, .Archives,...) reside within that 'INBOX' folder. So if we leave MaildirMailboxMapper.delete as now, and invoke it with mailbox=INBOX, it will simply remove all the folders, and this is not what we want. Other mailbox implementations don't have that. So we could test beforehand for any subfolders others that cur/, new/, tmp/ and throwing a MailboxException if we find some ('You must delete all INBOX subfolders to delete INBOX on Maildir implementation'). If this sounds good, I will implement it. Thx. On 17/07/11 11:17, Norman Maurer wrote: If you delete a Mailbox with sub Mailboxen, its necessary that the submailboxes don't get deleted. Bye Norman Am Samstag, 16. Juli 2011 schrieb Eric Charlese...@apache.org: The question is what do we do when we delete a mailbox with sub mailboxes ? For now, we allow this (I didn't check in RFC if this is allowed). With the merge of mailboxmanager tests, it succeeds with jpa/jcr, but fails with maildir (logical!). Any hint? On 16/07/11 09:37, e...@apache.org wrote: Author: eric Date: Sat Jul 16 07:37:48 2011 New Revision: 1147372 URL: http://svn.apache.org/viewvc?rev=1147372view=rev Log: Temporary comment to avoid maildir test failure (MAILBOX-73) Modified: james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java Modified: james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java URL: http://svn.apache.org/viewvc/james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java?rev=1147372r1=1147371r2=1147372view=diff == --- james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java (original) +++ james/mailbox/trunk/api/src/test/java/org/apache/james/mailbox/AbstractMailboxManagerTest.java Sat Jul 16 07:37:48 2011 @@ -76,10 +76,13 @@ public abstract class AbstractMailboxMan getMailboxManager().deleteMailbox(inbox, session); Assert.assertFalse(getMailboxManager().mailboxExists(inbox, session)); - Assert.assertTrue(getMailboxManager().mailboxExists(inboxSubMailbox, session)); -getMailboxManager().deleteMailbox(inboxSubMailbox, session); - Assert.assertFalse(getMailboxManager().mailboxExists(inboxSubMailbox, session)); +// TODO Temporary commented to avoid maildir test failure + +// Assert.assertTrue(getMailboxManager().mailboxExists(inboxSubMailbox, session)); + +//getMailboxManager().deleteMailbox(inboxSubMailbox, session); +// Assert.assertFalse(getMailboxManager().mailboxExists(inboxSubMailbox, session)); getMailboxManager().logout(session, false); getMailboxManager().endProcessingRequest(session); - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Issue with address-error not bounced
Hi Sai, Yes, I used V3 for James 3.0-... By default, virtualHosting is enabled (see usersrepository.xml, the enableVirtualHosting must be set to true). In this particular case (add a domain), you should be ok going directly to the database. Nevertheless, it is strongly discouraged to do so. You better use the james-cli.sh script to add a domain. I think upper/lower case will play a role. Thx. On 27/07/11 14:39, Saibabu Vallurupalli wrote: Hi Eric, Good morning. I have setup Apache James 3.0-Beta 2, Is this also called V3? How to verify VirtualHosting configuration? I haven't used JMX-CLI to create domain, have just inserted domain name in database. Also, we will verify the case sensitivity. Thanks, Sai On Wed, Jul 27, 2011 at 3:01 AM, Eric Charlese...@apache.org wrote: Hi Sai, Just to be sure, are you running James V3 with virutalHosting enabled (the default config)? Did you add MyDomain.net in the list of domains via the JMX/CLI client? Also, I wonder if uppercase don't give issue? Can you try with mydomain.net? Thx. On 27/07/11 04:49, Saibabu Vallurupalli wrote: Hi Team, We are trying to configure James to return undelivered messages which are unknown user etc., Yesterday Eric suggested a solution and it worked great. This works only for any email sent to x...@localhost.com, where xyz user is not available. The problem we are trying to fix is, we have our own domain mydomain.netand email users are configured to this domain NOT localhost. Now, If I send an email from a...@mydomain.net to x...@mydomain.net where xyz doesn't exists. Unknown user exception from postmaster are not sent. I am not getting any error messages back. So, how to configure MyDomain.net instead of localhost? Please advise. Thanks, Sai -- Eric Charles http://about.echarles.net --**--**- To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.orgserver-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.**orgserver-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: deploying james sites
Hi Stefano, On 30/07/11 00:42, Stefano Bagnara wrote: I guess it's an year or more I don't deploy james websites and I found I don't know the updated way to do that. I see the svn folder james/sites/trunk/www is outdated so I guess we don't use it anymore (what about removing it?). It is not used for now, but the goal is to recommit updated sites there, and ask Apache Infra to SvnPubSub so we don't have to svn up and wait the sync for now. How am I supposed to update the web site? I tried site:deploy for the project, but it doesn't deploy the full site mvn -Psite-reports site creates the reports, but overwrite the index from the previous command. What are the right steps to deploy updated site and reports? We talked about the reports some time ago and decided to have two separate sites: the end user site and the site with reports. The goal was not to have the public site with some reports, even if it's true that previous mime4j site had such reports. I think you could copy some definitions from the site-reports profile to get this reports in the public web site. Also, I see the html generated from apt sources for mime4j don't produce anymore valid html (bad links): is this something related to newer maven site plugins? Do you know anything about this before I start digging it? For server, I remember I migrated the few apt to some xml (just to have a uniform format). I suppose the issue come from the new maven 3 site plugins. No idea how to solve it. Eventually, you can migrate the apt to the xml. Stefano - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: deploying james sites
On 30/07/11 06:25, Eric Charles wrote: What are the right steps to deploy updated site and reports? We talked about the reports some time ago and decided to have two separate sites: the end user site and the site with reports. The goal was not to have the public site with some reports, even if it's true that previous mime4j site had such reports. I think you could copy some definitions from the site-reports profile to get this reports in the public web site. For project, server... I invoke 'mvn site', and after I scp the generated files to people apache org. -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: [RESULT] [VOTE] Release Apache James Mime4j 0.7 (second try)
On 30/07/11 21:27, Norman Maurer wrote: Thanks :) +1 Norman 2011/7/30 Stefano Bagnaraapa...@bago.org: 2011/7/26 Eric Charlese...@apache.org: Can someone update the sample page. I could do it, but it will be much faster and safer from mime4j specialists. https://svn.apache.org/repos/asf/james/mime4j/trunk/src/site/apt/usage.apt Thx. Done. The examples were already up to date as they were mainly related to the low level classes that didn't change much in 0.7. I updated the apt syntax so that generated links work. Stefano On 25/07/11 15:49, Eric Charles wrote: Norman has uploaded for the mirrors this morning. Still need some time to be updated. One small question : Mime4j (like in doc) or Mime4J (like in release notes) ? Thx. -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: deploying james sites
...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Site deployment
Hi, We need to discuss the way we deploy web sites: 1. Via svn (commit in www project, and update on server). 2. Via svn (commit in www project, and automatically visible via svnpubsub). 3. Via scp (with file permissions issues...) 4. Via mvn site-deploy I understand there is a consensus for option 4 (mvn site-deploy). Can you confirm? Please also read for later evolutions: https://blogs.apache.org/infra/entry/the_asf_cms http://www.apache.org/dev/cms.html Thx. -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Question on upgrade process
Hi, If you copy mails from e.g. MailDir to JPA with JPAEncryptedMessage in persistence.xml, mails body and headers will be encrypted. Thx. On 02/08/11 20:50, Saibabu Vallurupalli wrote: Hi Norman and Team, I have got a question on James upgrade - At present we are using James milestore 3 snapshot and we have our JAP configuration setup to use JPAMessage, now after upgrade to James 3-Beta2 we wanted to use JPAEncryptedMessage class in persistence.xml file for email encryption. After restoring the data from backup using the steps provided in site to backup and restore. Will the OLD email content be encrypted or NOT? How this situation can be handled? Please advise. Thanks, Sai -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: Question on upgrade process
Hi Sai, Before copy invocation, is your mailbox operational (receive/send mails ok...) ? Could you send us the stacktrace you will find in the log file (log/james-server.log) ? Thx. On 03/08/11 14:47, Saibabu Vallurupalli wrote: Hi Eric, Thank you for confirming on this. We just encountered a strange issue with backup and restore. If we don't have any emails in the user Inbox, backup works perfectly. If there are any users then jConsole throws exception saying unable to parse the message. Is there any other setting we are missing? We are following your instructions from link: https://svn.apache.org/repos/asf/james/server/trunk/src/site/xdoc/upgrade-database.xml Thanks, Sai On Wed, Aug 3, 2011 at 3:17 AM, Eric Charlese...@apache.org wrote: Hi, If you copy mails from e.g. MailDir to JPA with JPAEncryptedMessage in persistence.xml, mails body and headers will be encrypted. Thx. On 02/08/11 20:50, Saibabu Vallurupalli wrote: Hi Norman and Team, I have got a question on James upgrade - At present we are using James milestore 3 snapshot and we have our JAP configuration setup to use JPAMessage, now after upgrade to James 3-Beta2 we wanted to use JPAEncryptedMessage class in persistence.xml file for email encryption. After restoring the data from backup using the steps provided in site to backup and restore. Will the OLD email content be encrypted or NOT? How this situation can be handled? Please advise. Thanks, Sai -- Eric Charles http://about.echarles.net --**--**- To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.orgserver-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.**orgserver-dev-h...@james.apache.org -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org
Re: James@GotoCon ...?
On 03/08/11 12:36, Robert Burrell Donkin wrote: The BarCamp is open to anyone reading this email but if someone wanted to submit a session on James for the GotoCon track [2] that needs to be pulled together really soon. (Anyone) interested? Amsterdam is really close to me, but I may be in foreign country during that period. Robert [1]http://wiki.apache.org/apachecon/AmsterdamHackathon2011 [2]http://gotocon.com/amsterdam-2011/ -- Eric Charles http://about.echarles.net - To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org