RE: Imap

2005-05-31 Thread Jason Webb
I am currently developing the IMAP code so it will actually write messages to disk or database rather than just throwing them away. This is non-trivial as it requires integration of the IMAP server code into James as well as re-engineering the repository code to do the required IMAP operations. I

RE: Imap

2005-05-31 Thread Jason Webb
I am currently developing the IMAP code so it will actually write messages to disk or database rather than just throwing them away. This is non-trivial as it requires integration of the IMAP server code into James as well as re-engineering the repository code to do the required IMAP operations. I

Re: Imap

2005-05-31 Thread Stefano Bagnara
I am currently developing the IMAP code so it will actually write messages to disk or database rather than just throwing them away. This is non-trivial as it requires integration of the IMAP server code into James as well as re-engineering the repository code to do the required IMAP

RE: Imap

2005-05-31 Thread Jason Webb
-Original Message- From: Stefano Bagnara [mailto:[EMAIL PROTECTED] Sent: 31 May 2005 09:42 To: 'James Developers List' Subject: Re: Imap I am currently developing the IMAP code so it will actually write messages to disk or database rather than just throwing them away. This

RE: Imap

2005-05-31 Thread Jason Webb
-Original Message- From: Stefano Bagnara [mailto:[EMAIL PROTECTED] Sent: 31 May 2005 09:42 To: 'James Developers List' Subject: Re: Imap I am currently developing the IMAP code so it will actually write messages to disk or database rather than just throwing them away. This

Re: Short term, but immediate, solution to spam volume.

2005-05-31 Thread Hontvari Jozsef
I forgot to mention: It doesn't check for abuse@, only postmaster@ and the email address used in the error message is hard coded. Hontvari Jozsef wrote: Maybe it helps, I have attached the source which we use for about a year. I cannot create a standard patch because my last workspace is

RE: Short term, but immediate, solution to spam volume.

2005-05-31 Thread Noel J. Bergman
Hontvari Jozsef wrote: Hey! It is great to hear from you. Haven't seen much of you lately. Maybe it helps, I have attached the source which we use for about a year. Please review my version (ATTACHED FOR FEEDBACK FROM ALL). Quite similar to yours, borrowing from the DNS RBL matcher. Why

[jira] Updated: (JAMES-379) MailImpl.duplicate() should also clone attributes and not only the container HashMap

2005-05-31 Thread Stefano Bagnara (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-379?page=all ] Stefano Bagnara updated JAMES-379: -- Attachment: MailImplTest.java Test case for the bug fixed. MailImpl.duplicate() should also clone attributes and not only the container HashMap

svn commit: r179283 - /james/server/trunk/src/java/org/apache/james/core/MailImpl.java

2005-05-31 Thread noel
Author: noel Date: Tue May 31 14:29:16 2005 New Revision: 179283 URL: http://svn.apache.org/viewcvs?rev=179283view=rev Log: JAMES-379. Apply patch from Stefano Bagnara. Serialization seems a stiff performance penalty, so we should revisit this issue when working on the Mailet API. Modified:

Re: Encoding issue in BayesianAnalyzer?

2005-05-31 Thread Stefano Bagnara
Can someone please take a look at BayesianAnalyzer.java? I keep getting: -|| ch == '' +|| ch == 'i??' when doing a diff. What is the encoded character supposed to be? I think the code you are pointing is: if (ch == ':') { String tokenString =

[jira] Updated: (JAMES-379) MailImpl.duplicate() should also clone attributes and not only the container HashMap

2005-05-31 Thread Noel J. Bergman (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-379?page=all ] Noel J. Bergman updated JAMES-379: -- Fix Version: 3.0 MailImpl.duplicate() should also clone attributes and not only the container HashMap

RE: Encoding issue in BayesianAnalyzer?

2005-05-31 Thread Noel J. Bergman
Stefano Bagnara wrote: I think the code you are pointing is Yes, that's it. And I am finding that something in our build process is corrupting it. I just did: $ rm src/java/org/apache/james/util/BayesianAnalyzer.java $ svn up Restored

svn commit: r179292 - /james/server/trunk/src/java/org/apache/james/util/BayesianAnalyzer.java

2005-05-31 Thread noel
Author: noel Date: Tue May 31 15:14:13 2005 New Revision: 179292 URL: http://svn.apache.org/viewcvs?rev=179292view=rev Log: encode EURO so that it doesn't get corrupted during build. Modified: james/server/trunk/src/java/org/apache/james/util/BayesianAnalyzer.java Modified:

Re: Encoding issue in BayesianAnalyzer?

2005-05-31 Thread Stefano Bagnara
Yes, that's it. And I am finding that something in our build process is corrupting it. I just did: $ rm src/java/org/apache/james/util/BayesianAnalyzer.java $ svn up Restored 'src/java/org/apache/james/util/BayesianAnalyzer.java' At revision 179287. $ svn diff $ ./build.sh clean

RE: Encoding issue in BayesianAnalyzer?

2005-05-31 Thread Noel J. Bergman
Stefano Bagnara wrote: Why do we run fixcrlf on the original source code and not directly in the working copy as like as the replace ? IIRC, because it was intended to keep Windows users from putting incorrectly formatted files into source control, and to remove tabs. At least the latter

Re: Encoding issue in BayesianAnalyzer?

2005-05-31 Thread Stefano Bagnara
IIRC, because it was intended to keep Windows users from putting incorrectly formatted files into source control, and to remove tabs. At least the latter should be addressed now by SVN. AFAIK the first is addressed by SVN. You can add per file attributes to tell svn they are svn:eol-style

Mail instance and multiple spool.store()

2005-05-31 Thread Stefano Bagnara
I see that RemoteDelivery does this: String name = mail.getName(); for (Iterator i = targets.keySet().iterator(); i.hasNext(); ) { String host = (String) i.next(); Collection rec = (Collection) targets.get(host); if (isDebug) { StringBuffer logMessageBuffer = new

RE: Encoding issue in BayesianAnalyzer?

2005-05-31 Thread Noel J. Bergman
Stefano Bagnara wrote: IIRC, because it was intended to keep Windows users from putting incorrectly formatted files into source control, and to remove tabs. At least the latter should be addressed now by SVN. AFAIK the first is addressed by SVN. sigh That's actually what I meant.

[jira] Created: (JAMES-380) ESMTP Compliance fix

2005-05-31 Thread Stefano Bagnara (JIRA)
ESMTP Compliance fix Key: JAMES-380 URL: http://issues.apache.org/jira/browse/JAMES-380 Project: James Type: Bug Components: SMTPServer Versions: 2.2.1 Reporter: Stefano Bagnara Attachments: esmtp-20050601.tar.gz Here is a

[jira] Commented: (JAMES-380) ESMTP Compliance fix

2005-05-31 Thread Stefano Bagnara (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-380?page=comments#action_66697 ] Stefano Bagnara commented on JAMES-380: --- I cleaned my diff from DSN support that is still in alpha but I just saw I forgot to remove the esmtpextensions.add(DSN); line

[jira] Updated: (JAMES-380) ESMTP Compliance fix

2005-05-31 Thread Stefano Bagnara (JIRA)
[ http://issues.apache.org/jira/browse/JAMES-380?page=all ] Stefano Bagnara updated JAMES-380: -- Attachment: esmtp-20050601.tar.gz changed SMTPServer/Handler, added DSNStatus (extracted from DSNBounce), rewritten CRLFTerminatedReader to remove

RE: [jira] Updated: (JAMES-380) ESMTP Compliance fix

2005-05-31 Thread Noel J. Bergman
Stefano, Did you see the patch I did to SMTPHandler earlier today? I haven't committed it, but it seems that our patches need to be merged. rewritten CRLFTerminatedReader to remove buffering Is this for pipelining? --- Noel