Re: MailetException vs MessagingException

2003-10-20 Thread Serge Knystautas
Danny Angus wrote: Maybe given that we have to catch Exception in the mailet container no matter what (you can't have runtime exceptions breaking processors), we should remove MailetException and change the API to "throws Exception". IMO we do want to distingush between two cases, Yeah, but how? M

cvs commit: james-server/lib commons-dbcp-1.1.jar commons-pool-1.1.jar dnsjava-1.4.3.jar

2003-10-20 Thread noel
noel2003/10/20 18:50:53 Added: lib commons-dbcp-1.1.jar commons-pool-1.1.jar dnsjava-1.4.3.jar Log: Update to dnsjava 1.4.3, Commons DBCP 1.1 (requires Commons Pool v1.1) Revision ChangesPath 1.2 +435 -0james-server/lib/commons

cvs commit: james-server/lib commons-dbcp-1.0.jar commons-pool-1.0.1.jar dnsjava-1.4.2.jar

2003-10-20 Thread noel
noel2003/10/20 18:49:58 Modified:.build.xml include.properties Removed: lib commons-dbcp-1.0.jar commons-pool-1.0.1.jar dnsjava-1.4.2.jar Log: Update to dnsjava 1.4.3, Commons DBCP 1.1 (requires Commons Pool v1.1) Revision Changes

Re: Bug 23906 - Large emails throw OutOfMemoryError

2003-10-20 Thread Richard O. Hammer
I wrote: In my mailserver development I get around this by not constructing a MimeMessage (can't see that I need one), writing the message body right into a file. Noel J. Bergman wrote: ... if you or anyone else has some patches, please feel free to contribute them. Noel, Below you can see the lit

cvs commit: james-server/lib commons-dbcp-1.1.jar commons-pool-1.1.jar commons-dbcp.jar commons-pool.jar dnsjava-1.4.2.jar

2003-10-20 Thread noel
noel2003/10/20 18:31:20 Modified:.Tag: branch_2_1_fcs build.xml Added: lib Tag: branch_2_1_fcs commons-dbcp-1.1.jar commons-pool-1.1.jar Removed: lib Tag: branch_2_1_fcs commons-dbcp.jar commons-pool.jar

cvs commit: james-server/lib dnsjava-1.4.3.jar

2003-10-20 Thread noel
noel2003/10/20 18:17:23 Modified:.Tag: branch_2_1_fcs build.xml Added: lib Tag: branch_2_1_fcs dnsjava-1.4.3.jar Log: update to dnsjava 1.4.3. Removes JDK 1.4 requirement. Revision ChangesPath No revision No

RE: MailetException vs MessagingException

2003-10-20 Thread Danny Angus
Serge wrote: > I don't think so. I would like to say MessagingExceptions are > underlying message problems, i.e., bad parsing or something like that, > which means they cause the message to get treated more severely. > Meanwhile other exceptions (MailetException?) are treated as retriable > or re

Re: MailetException vs MessagingException

2003-10-20 Thread Serge Knystautas
Noel J. Bergman wrote: Far as I can see, MessagingException is used consistently within JavaMail for all exceptions because of the need to chain. I wonder if MessagingException would exist were it not for the fact that java.lang.Exception did not chain until JDK 1.4. Perhaps, but I think it's good

Bug 23906 - Large emails throw OutOfMemoryError

2003-10-20 Thread Noel J. Bergman
> If I recall my earlier experiments correctly, the MimeMessage(Session, > InputStream) constructor is the culprit here. Almost always. > In my mailserver development I get around this by not constructing a > MimeMessage (can't see that I need one), writing the message body > right into a file.

RE: MailetException vs MessagingException

2003-10-20 Thread Noel J. Bergman
> > Can you see any reason why the container would want to catch a > > MailetException and not catch a MessagingException? Can you see any reason > > why the container would want to handle them differently? Do we want to > > Matchers and Mailets to throw MailetException so that we can distinguish

DO NOT REPLY [Bug 22893] - Add support for APOP authentication protocol

2003-10-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 22893] - Add support for APOP authentication protocol

2003-10-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 23906] - Large emails in the spool cause SpoolManager to throw OutOfMemoryError

2003-10-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

Re: MailetException vs MessagingException

2003-10-20 Thread Serge Knystautas
Noel J. Bergman wrote: I found that many of them are throwing MessagingException-s instead of MailetException-s (including my own code ;-). You know ... I could have sworn I had raised this exact question earlier in the year. I've no clue as to why there are both. How could we make better use Mail

Add support for APOP authentication protocol

2003-10-20 Thread Noel J. Bergman
> The clients I know about that support APOP are: > Outlook 2002 (Look at Outgoing Server -> > My outgoing server (SMTP) requires authentication) > Outlook Express (Windows, Mac) Are you sure we're talking about the same thing? I have both Outlook Express and Outlook. As far as I know, neither

RE: MailetException vs MessagingException

2003-10-20 Thread Vincenzo Gianferrari Pini
> > I found that many of them are throwing MessagingException-s > > instead of MailetException-s (including my own code ;-). > > You know ... I could have sworn I had raised this exact question > earlier in > the year. I've no clue as to why there are both. > > How could we make better use Mail

DO NOT REPLY [Bug 23906] - Large emails in the spool cause SpoolManager to throw OutOfMemoryError

2003-10-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 22893] - Add support for APOP authentication protocol

2003-10-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

RE: MailetException vs MessagingException

2003-10-20 Thread Noel J. Bergman
> I found that many of them are throwing MessagingException-s > instead of MailetException-s (including my own code ;-). You know ... I could have sworn I had raised this exact question earlier in the year. I've no clue as to why there are both. How could we make better use MailetException, just

RE: MailetException vs MessagingException

2003-10-20 Thread Danny Angus
P.S. Scotland 39 - USA 15 :-) *** The information in this e-mail is confidential and for use by the addressee(s) only. If you are not the intended recipient (or responsible for delivery of the message to the intended

RE: MailetException vs MessagingException

2003-10-20 Thread Danny Angus
Vincenzo, > I agree, but Matcher.match(Mail), Matcher.init(MatcherConfig), Mailet.service(Mail) and Mailet.init(MailetConfig) are all defined > as "throws javax.mail.MessagingException", so I guess that MailetException must continue to extend MessagingException. > Now, shall we refactor? It

RE: MailetException vs MessagingException

2003-10-20 Thread Vincenzo Gianferrari Pini
I agree, but Matcher.match(Mail), Matcher.init(MatcherConfig), Mailet.service(Mail) and Mailet.init(MailetConfig) are all defined as "throws javax.mail.MessagingException", so I guess that MailetException must continue to extend MessagingException. Now, shall we refactor? It may not be importan

Re: MailetException vs MessagingException

2003-10-20 Thread Serge Knystautas
Vincenzo Gianferrari Pini wrote: Currently MailetException, whose author was Serge, extends MessagingException without adding anything, so it's indifferent, but there must have been some rationale behind all this in the past, that I'm missing. Some mailets even throw both kinds of exceptions, like

Re: MailetException vs MessagingException

2003-10-20 Thread Danny Angus
Vincenzo, > This may be just a matter of clean code, but browsing around the matchers and mailets in CVS, I found that many of them are > throwing MessagingException-s instead of MailetException-s (including my own code ;-). This is just a guess, but I seem to remember thinking that MailetE

MailetException vs MessagingException

2003-10-20 Thread Vincenzo Gianferrari Pini
This may be just a matter of clean code, but browsing around the matchers and mailets in CVS, I found that many of them are throwing MessagingException-s instead of MailetException-s (including my own code ;-). Currently MailetException, whose author was Serge, extends MessagingException without

JDBCVirtualUser for multiple users

2003-10-20 Thread Craig Raw
Hi, This is a proposal on the same topic as the mailing list entry from 1 back, 'Multiple Recipient Aliases' (http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED] he.org&msgNo=3594). It concerns using the JDBCVirtualUserTable to forward an incoming email to more than one user. Of course, this is a

RE: Fetchmail features I'm working on, CVS patch help (Long message)

2003-10-20 Thread Steve Brewin
Kevin, The Javadoc for StringTerm says... "This class implements the match method for Strings. The current implementation provides only for substring matching. We could add comparisons (like strcmp ...). ". ...So, there is no support for searching using regular expressions on Addresses, the "tex

RE: Any Outstanding Patches?

2003-10-20 Thread Noel J. Bergman
> I don't think there's much else that needs doing. > Thanks for doing such a great job as usual! Let's see how this next test build looks. I will post it tomorrow after I get some ... what do you call it? ... *sleep*. :-) --- Noel -

RE: Any Outstanding Patches?

2003-10-20 Thread Jason Webb
Noel, don't you *ever* sleep? :) I don't think there's much else that needs doing. Thanks for doing such a great job as usual! -- Jason > -Original Message- > From: Noel J. Bergman [mailto:[EMAIL PROTECTED] > Sent: 20 October 2003 09:24 > To: James-Dev Mailing List > Subject: Any Outsta

Any Outstanding Patches?

2003-10-20 Thread Noel J. Bergman
I have gone through bugzilla and my message archives looking for any outstanding issues to apply, fix, etc. I think I've got everything. Jason Webb's request seems like something that should be revisited after we see the changes made for RemoteDelivery to enable the delivery schedule. --

cvs commit: james-server/src/java/org/apache/james/transport JamesSpoolManager.java

2003-10-20 Thread noel
noel2003/10/20 01:18:29 Modified:src/java/org/apache/james/transport Tag: branch_2_1_fcs JamesSpoolManager.java Log: Fix scope of variable we're now using in log message. Revision ChangesPath No revision No

cvs commit: james-server/src/java/org/apache/james/nntpserver/repository ArticleIDRepository.java

2003-10-20 Thread noel
noel2003/10/20 01:17:17 Modified:src/java/org/apache/james/nntpserver/repository Tag: branch_2_1_fcs ArticleIDRepository.java Log: Simple fix for bug #13388. Revision ChangesPath No revision No revision 1

DO NOT REPLY [Bug 13388] - Spooler loops and add message many times

2003-10-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu