From james-devasmith@example.org Fri Mar 01 09:40:38 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 24684 invoked from network); 1 Mar 2002 09:40:38 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Mar 2002 09:40:38 -0000 Received: (qmail 29097 invoked by uid 97); 1 Mar 2002 09:40:49 -0000 Delivered-To: asmith@example.org Received: (qmail 29059 invoked by uid 97); 1 Mar 2002 09:40:48 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 29048 invoked from network); 1 Mar 2002 09:40:47 -0000 From: "Danny Angus" <asmith@example.org> To: "James Developers List" <asmith@example.org> Subject: RE: How about update to lastest avalon? Date: Fri, 1 Mar 2002 09:44:05 -0000 Message-ID: <asmith@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: <011701c1bf9a$c14d4520$650d07d8@STACCATO> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Sounds like a good idea. I haven't looked at DBCP, could you wrap it and put it into the build so that a config change would use it instead of mordered for comparative (read subjective) testing? d. > -----Original Message----- > From: Serge Knystautas [mailto:asmith@example.org] > Sent: Wednesday, February 27, 2002 2:27 PM > To: James Developers List > Subject: Re: How about update to lastest avalon? > > > As JDBC pools go, what about using the DBCP package in commons? > Seems like > it's been around quite a while, it's an Apache project, and I > could quickly > throw an avalon conf wrapper around it. If I had known about it a few > months ago, I wouldn't have added in my db pooler code > (mordred)... and the > avalon db code isn't as mature as DBCP. Thoughts? > > Serge Knystautas > Loki Technologies - Unstoppable Websites > http://www.lokitech.com/ > ----- Original Message ----- > From: "Danny Angus" <asmith@example.org> > To: "James Developers List" <asmith@example.org> > Sent: Wednesday, February 27, 2002 3:24 AM > Subject: RE: How about update to lastest avalon? > > > > if thats the version in cvs I'd be happy to make a "nightly" release > today. > > is it? > > d. > > > > > -----Original Message----- > > > From: Eung-ju Park [mailto:asmith@example.org] > > > Sent: Wednesday, February 27, 2002 4:06 AM > > > To: asmith@example.org > > > Subject: How about update to lastest avalon? > > > > > > > > > Hi. > > > > > > Many people want james as daemon(or nt service). > > > Lastest phoenix support 'wrapper'. > > > 'wrapper' is daemon wrapper for java program. > > > > > > And current excalibur datasource support getConnection with timeout. > > > see > org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource. > > > > > > How about update to lastest avalon before next alpha release? > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > <mailto:asmith@example.org> > > > For additional commands, e-mail: > > > <mailto:asmith@example.org> > > > > > > > > > -- > > To unsubscribe, e-mail: > <mailto:asmith@example.org> > > For additional commands, e-mail: > <mailto:asmith@example.org> > > > > > > > -- > To unsubscribe, e-mail: > <mailto:asmith@example.org> > For additional commands, e-mail: > <mailto:asmith@example.org> > -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Fri Mar 01 12:36:13 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 19781 invoked from network); 1 Mar 2002 12:36:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Mar 2002 12:36:13 -0000 Received: (qmail 13902 invoked by uid 97); 1 Mar 2002 12:36:11 -0000 Delivered-To: asmith@example.org Received: (qmail 13856 invoked by uid 97); 1 Mar 2002 12:36:10 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 13839 invoked from network); 1 Mar 2002 12:36:09 -0000 Message-ID: <009501c1c11d$70ab2040$25a5b5d8@glissando> From: "Serge Knystautas" <asmith@example.org> To: "James Developers List" <asmith@example.org> References: <asmith@example.org> Subject: Re: How about update to lastest avalon? Date: Fri, 1 Mar 2002 07:34:32 -0500 Organization: Loki Technologies MIME-Version: 1.0 Content-Type: text/plain; charset="ks_c_5601-1987" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I should be able to... the configuration for the drivers will probably be different, but perhaps I can write the DBCP wrapper to use most of the same conf names to avoid confusion. I'll see what I can do. Serge Knystautas Loki Technologies - Unstoppable Websites http://www.lokitech.com/ ----- Original Message ----- From: "Danny Angus" <asmith@example.org> To: "James Developers List" <asmith@example.org> Sent: Friday, March 01, 2002 4:44 AM Subject: RE: How about update to lastest avalon? > Sounds like a good idea. > I haven't looked at DBCP, could you wrap it and put it into the build so > that a config change would use it instead of mordered for comparative (read > subjective) testing? > d. > > > -----Original Message----- > > From: Serge Knystautas [mailto:asmith@example.org] > > Sent: Wednesday, February 27, 2002 2:27 PM > > To: James Developers List > > Subject: Re: How about update to lastest avalon? > > > > > > As JDBC pools go, what about using the DBCP package in commons? > > Seems like > > it's been around quite a while, it's an Apache project, and I > > could quickly > > throw an avalon conf wrapper around it. If I had known about it a few > > months ago, I wouldn't have added in my db pooler code > > (mordred)... and the > > avalon db code isn't as mature as DBCP. Thoughts? > > > > Serge Knystautas > > Loki Technologies - Unstoppable Websites > > http://www.lokitech.com/ > > ----- Original Message ----- > > From: "Danny Angus" <asmith@example.org> > > To: "James Developers List" <asmith@example.org> > > Sent: Wednesday, February 27, 2002 3:24 AM > > Subject: RE: How about update to lastest avalon? > > > > > > > if thats the version in cvs I'd be happy to make a "nightly" release > > today. > > > is it? > > > d. > > > > > > > -----Original Message----- > > > > From: Eung-ju Park [mailto:asmith@example.org] > > > > Sent: Wednesday, February 27, 2002 4:06 AM > > > > To: asmith@example.org > > > > Subject: How about update to lastest avalon? > > > > > > > > > > > > Hi. > > > > > > > > Many people want james as daemon(or nt service). > > > > Lastest phoenix support 'wrapper'. > > > > 'wrapper' is daemon wrapper for java program. > > > > > > > > And current excalibur datasource support getConnection with timeout. > > > > see > > org.apache.avalon.excalibur.datasource.ResourceLimitingJdbcDataSource. > > > > > > > > How about update to lastest avalon before next alpha release? > > > > > > > > > > > > -- > > > > To unsubscribe, e-mail: > > > > <mailto:asmith@example.org> > > > > For additional commands, e-mail: > > > > <mailto:asmith@example.org> > > > > > > > > > > > > > -- > > > To unsubscribe, e-mail: > > <mailto:asmith@example.org> > > > For additional commands, e-mail: > > <mailto:asmith@example.org> > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > > <mailto:asmith@example.org> > > For additional commands, e-mail: > > <mailto:asmith@example.org> > > > > > -- > To unsubscribe, e-mail: <mailto:asmith@example.org> > For additional commands, e-mail: <mailto:asmith@example.org> > > -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Fri Mar 01 12:42:39 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 23051 invoked from network); 1 Mar 2002 12:42:38 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Mar 2002 12:42:38 -0000 Received: (qmail 20664 invoked by uid 97); 1 Mar 2002 12:42:37 -0000 Delivered-To: asmith@example.org Received: (qmail 20648 invoked by uid 97); 1 Mar 2002 12:42:36 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 20637 invoked from network); 1 Mar 2002 12:42:36 -0000 From: "Danny Angus" <asmith@example.org> To: "James Developers List" <asmith@example.org> Subject: RE: SPAM handling. Date: Fri, 1 Mar 2002 12:45:59 -0000 Message-ID: <asmith@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: <asmith@example.org> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Paul, It doesn't get round open relays, anyone administering a mailserver should know enough to prevent it from relaying, if they don't then there's a good chance they won't know how to configure it to use CALL-ME-BACK. I like the idea, but think it should go like this: FYI here is a conversation I just logged <quote> 220 mx3.dircon.net ESMTP Mirapoint 1.1.0; Fri, 1 Mar 2002 12:11:57 GMT EHLO tarbolton.demon.co.uk 250-mx3.dircon.net Hello tarbolton.demon.co.uk [83.161.120.155], pleased to meet you 250-8BITMIME 250-SIZE 31457280 250-DSN 250-ETRN 250-AUTH LOGIN 250-AUTH=LOGIN 250 HELP ETRN thought.co.uk 250 Queuing for node thought.co.uk started </quote> this forces the server to send what it has queued for thought.co.uk but not to us, it sends it to the correct host for that domain.. The old TURN command could be used to hijack other peoples mail, Coo what a faux pas :-) What we need to do is have a response to MAIL or HELO or EHLO that tells the original to go away while we ponder its worth, we can then call it and use ETRN so looking at rfc 1893 we find these two paras: <quote> 4.X.X Persistent Transient Failure A persistent transient failure is one in which the message as sent is valid, but some temporary event prevents the successful sending of the message. Sending in the future may be successful. X.7.1 Delivery not authorized, message refused The sender is not authorized to send to the destination. This can be the result of per-host or per-recipient filtering. This memo does not discuss the merits of any such filtering, but provides a mechanism to report such. This is useful only as a permanent error. </quote> from which we cobble together this response: 471 host.domain is not authorised to deliver here we need to validate your credentials, we will call back and use ETRN once we have succeded which suggests that the sender should give up, but may try again So .. then we take the IP of the machine we've just been talking to, plus its HELO name and check them using whatever tools we want (DNS, abuse lists, try an SMTP connection, whatever you can think of, our server would add this server to a list of approved hosts, which might usefully have a TTL attached so we don't trust them forever. and then we would call back using ETRN to make them send again what they have for us, only this time their machine is in our little list and they get through, or we ditch the ETRN altogether and wait until they try again themselves. How about that? it should succede where servers support ETRN, but also where they dont, and whats more we can protect ourselves without relying on other people. Its not more than a partial answer tho. d. -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Fri Mar 01 13:52:51 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 80312 invoked from network); 1 Mar 2002 13:52:51 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Mar 2002 13:52:51 -0000 Received: (qmail 9623 invoked by uid 97); 1 Mar 2002 13:52:52 -0000 Delivered-To: asmith@example.org Received: (qmail 9575 invoked by uid 97); 1 Mar 2002 13:52:51 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 9564 invoked from network); 1 Mar 2002 13:52:51 -0000 From: "Danny Angus" <asmith@example.org> To: "James Developers List" <asmith@example.org> Subject: RE: SPAM handling. Date: Fri, 1 Mar 2002 13:56:18 -0000 Message-ID: <asmith@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: <asmith@example.org> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Actually, we could put bad hosts into a blacklist and then send "571 host.domain has been blacklisted contact asmith@example.org" next time a blacklisted machine connected (5xx is permanent error, i.e. "go away and stay away" BTW) we could also parse message headers and test originating and intermediate hosts ourselves too, returning 471 to the DATA command when they are untested, and 571 when any of them are blacklisted. And if we combined this with public blacklists it might be quite ferocious. I think we need to test the reaction of other MTA's to various errors, after all we need non ETRN MTA's to try again if they get 471. I suspect we need to attach mailet processing to SMTP handling as well as spool processing in order to use the mailet API in this role and to make configuration consistent with the spool mailet processing. I also think that we could extend the mailet API to allow this kind of config to be supported.. <processor protocol="SMTP"> <handler command="MAIL" match="All" class="SMTPMAILHandler"> </handler> </processor> This would allow us to develop a clean set of overlapping command handlers, more than one for each SMTP Verb, and matched against the contents of the command where necessary. Then we can do user checking, vhosts, and other stuff in an independant, extensible and versatile way. Something like this could validate users before mail is recieved (only simpler I hope :).. <handler command="RCPT" match="All" class="SMTPRCPTHandler"> <domain name="thought.co.uk"> <repository name="LocalUsers" class="org.apache.james.userrepository.JamesUsersJdbcRepository" destinationURL="db://maildb/thought"> <sqlFile>file://conf/sqlResources.xml</sqlFile> </repository> </domain> <domain name="apache.org"> <repository name="list-james" class="org.apache.james.userrepository.JamesUsersJdbcRepository" destinationURL="db://maildb/apache"> <sqlFile>file://conf/sqlResources.xml</sqlFile> </repository> </domain> </handler> Obviously it would help clarify things if we could have.. 1/ a seperate config for domains and their mail & user repositories 2/ a seperate config for each protocol 3/ fewer Global parameters (after all postmaster and servernames in a vhost setting are relative to the host you are pretending to be) Just some thoughts.. d. -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Fri Mar 01 14:21:39 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 13134 invoked from network); 1 Mar 2002 14:21:38 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Mar 2002 14:21:38 -0000 Received: (qmail 17508 invoked by uid 97); 1 Mar 2002 14:21:35 -0000 Delivered-To: asmith@example.org Received: (qmail 17426 invoked by uid 97); 1 Mar 2002 14:21:33 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 17401 invoked from network); 1 Mar 2002 14:21:33 -0000 From: "Danny Angus" <asmith@example.org> To: "James User List" <asmith@example.org> Cc: "James Developer List" <asmith@example.org> Subject: new Nightly build of CVS Date: Fri, 1 Mar 2002 14:25:02 -0000 Message-ID: <asmith@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, A new and untested snapshot build of the head of cvs in both source and binary is now avalable at http://jakarta.apache.org/builds/jakarta-james/ in the nightly folder. This is to let people who are keen to keep up with the current state of developments get their hands on the latest code. It may not work correctly or, indeed, at all. ~:-/ Danny. ------------------------------------ e: asmith@example.org e: asmith@example.org w: http://www.thought.co.uk w: http://jakarta.apache.org/james/ ------------------------------------ -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Fri Mar 01 16:06:57 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 49181 invoked from network); 1 Mar 2002 16:06:56 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Mar 2002 16:06:56 -0000 Received: (qmail 23301 invoked by uid 97); 1 Mar 2002 16:06:57 -0000 Delivered-To: asmith@example.org Received: (qmail 23281 invoked by uid 97); 1 Mar 2002 16:06:56 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 13286 invoked by uid 97); 1 Mar 2002 15:58:43 -0000 Date: 1 Mar 2002 15:58:40 -0000 Message-ID: <asmith@example.org> From: asmith@example.org To: asmith@example.org Subject: cvs commit: jakarta-james/src/java/org/apache/james/transport/mailets RemoteDelivery.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N danny 02/03/01 07:58:40 Modified: src/java/org/apache/james/mailrepository AvalonMailRepository.java AvalonSpoolRepository.java src/java/org/apache/james/remotemanager RemoteManager.java src/java/org/apache/james/smtpserver SMTPServer.java src/java/org/apache/james/transport JamesSpoolManager.java LinearProcessor.java src/java/org/apache/james/transport/mailets RemoteDelivery.java Log: patches suplied by Steve Short [asmith@example.org] toAdd mailet shutdown. Prevent tight loop in RemoteDelivery on unexpected exceptions, removes message from outgoing queue. Prevent ConcurrentModificationException in AvalonMailRepository by cloning key sey before returning iterator. Added the dispose method to SMTPServer.java and RemoteManager.java for NT socket release issue. Changed JamesSpoolManager to throw instead of system.exit for bad init mailet. Thanks Steve :-) Revision Changes Path 1.13 +5 -1 jakarta-james/src/java/org/apache/james/mailrepository/AvalonMailRepository.java Index: AvalonMailRepository.java =================================================================== RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/mailrepository/AvalonMailRepository.java,v retrieving revision 1.12 retrieving revision 1.13 diff -u -r1.12 -r1.13 --- AvalonMailRepository.java 18 Jan 2002 02:48:36 -0000 1.12 +++ AvalonMailRepository.java 1 Mar 2002 15:58:39 -0000 1.13 @@ -242,6 +242,10 @@ } public Iterator list() { - return keys.iterator(); +// Fix ConcurrentModificationException by cloning the keyset before getting an iterator +// return keys.iterator(); + final HashSet clone = new HashSet(); + clone.addAll( keys ); + return clone.iterator(); } } 1.5 +4 -1 jakarta-james/src/java/org/apache/james/mailrepository/AvalonSpoolRepository.java Index: AvalonSpoolRepository.java =================================================================== RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/mailrepository/AvalonSpoolRepository.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- AvalonSpoolRepository.java 18 Jan 2002 02:48:36 -0000 1.4 +++ AvalonSpoolRepository.java 1 Mar 2002 15:58:39 -0000 1.5 @@ -56,6 +56,7 @@ wait(); } catch (InterruptedException ignored) { } catch (ConcurrentModificationException ignoredAlso) { + // Should never get here now that list methods clones keyset for iterator } } } @@ -107,7 +108,9 @@ wait(youngest - System.currentTimeMillis()); } } catch (InterruptedException ignored) { + } catch (ConcurrentModificationException ignoredAlso) { + // Should never get here now that list methods clones keyset for iterator } - } +} } } 1.4 +12 -1 jakarta-james/src/java/org/apache/james/remotemanager/RemoteManager.java Index: RemoteManager.java =================================================================== RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/remotemanager/RemoteManager.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- RemoteManager.java 27 Feb 2002 05:06:35 -0000 1.3 +++ RemoteManager.java 1 Mar 2002 15:58:39 -0000 1.4 @@ -67,5 +67,16 @@ super.initialize(); getLogger().info("RemoteManager ...init end"); } -} + public void dispose() + { + getLogger().info( "RemoteManager dispose..." ); + getLogger().info( "RemoteManager dispose..." + m_connectionName); + super.dispose(); + + // This is needed to make sure that sockets are released promptly on Windows 2000 + System.gc(); + + getLogger().info( "RemoteManager ...dispose end" ); + } +} 1.4 +12 -0 jakarta-james/src/java/org/apache/james/smtpserver/SMTPServer.java Index: SMTPServer.java =================================================================== RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/smtpserver/SMTPServer.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- SMTPServer.java 27 Feb 2002 05:06:47 -0000 1.3 +++ SMTPServer.java 1 Mar 2002 15:58:40 -0000 1.4 @@ -63,5 +63,17 @@ getLogger().info("SMTPServer ...init end"); System.out.println("Started SMTP Server "+m_connectionName); } + + public void dispose() + { + getLogger().info( "SMTPServer dispose..." ); + getLogger().info( "SMTPServer dispose..." + m_connectionName); + super.dispose(); + + // This is needed to make sure sockets are promptly closed on Windows 2000 + System.gc(); + + getLogger().info( "SMTPServer ...dispose end" ); + } } 1.9 +21 -9 jakarta-james/src/java/org/apache/james/transport/JamesSpoolManager.java Index: JamesSpoolManager.java =================================================================== RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/transport/JamesSpoolManager.java,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- JamesSpoolManager.java 18 Jan 2002 02:48:37 -0000 1.8 +++ JamesSpoolManager.java 1 Mar 2002 15:58:40 -0000 1.9 @@ -30,13 +30,14 @@ import javax.mail.MessagingException; import java.util.HashMap; +import java.util.Iterator; /** * @author Serge Knystautas <asmith@example.org> * @author Federico Barbieri <asmith@example.org> * - * This is $Revision: 1.8 $ - * Committed on $Date: 2002/01/18 02:48:37 $ by: $Author: darrell $ + * This is $Revision: 1.9 $ + * Committed on $Date: 2002/03/01 15:58:40 $ by: $Author: danny $ */ public class JamesSpoolManager extends AbstractLogEnabled @@ -142,9 +143,9 @@ + matcherName + ": " + ex.toString(), ex ); System.err.println("Unable to init mailet " + matcherName); System.err.println("Check spool manager logs for more details."); - //ex.printStackTrace(); - System.exit(1); - //throw ex; + ex.printStackTrace(); + //System.exit(1); + throw ex; } try { mailet = mailetLoader.getMailet(mailetClassName, @@ -157,9 +158,9 @@ + mailetClassName + ": " + ex.getMessage()); System.err.println("Unable to init mailet " + mailetClassName); System.err.println("Check spool manager logs for more details."); - //ex.printStackTrace(); - System.exit(1); - //throw ex; + ex.printStackTrace(); + //System.exit(1); + throw ex; } //Add this pair to the proces processor.add(matcher, mailet); @@ -263,5 +264,16 @@ } } - public void dispose() {} + // Shutdown processors + public void dispose() { + getLogger().info("JamesSpoolManager dispose..."); + Iterator it = processors.keySet().iterator(); + while (it.hasNext()) { + String processorName = (String)it.next(); + getLogger().debug("Processor " + processorName); + LinearProcessor processor = (LinearProcessor)processors.get(processorName); + processor.dispose(); + processors.remove(processor); + } + } } 1.6 +12 -1 jakarta-james/src/java/org/apache/james/transport/LinearProcessor.java Index: LinearProcessor.java =================================================================== RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/transport/LinearProcessor.java,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- LinearProcessor.java 18 Jan 2002 02:48:37 -0000 1.5 +++ LinearProcessor.java 1 Mar 2002 15:58:40 -0000 1.6 @@ -8,6 +8,7 @@ package org.apache.james.transport; import org.apache.avalon.framework.activity.Initializable; +import org.apache.avalon.framework.activity.Disposable; import org.apache.avalon.framework.logger.AbstractLogEnabled; import org.apache.avalon.framework.logger.Logger; import org.apache.james.core.MailImpl; @@ -21,6 +22,7 @@ import java.util.List; import java.util.Random; import java.util.Vector; +import java.util.Iterator; /** * @author Serge Knystautas <asmith@example.org> @@ -40,7 +42,7 @@ */ public class LinearProcessor extends AbstractLogEnabled - implements Initializable { + implements Initializable, Disposable { private List mailets; private List matchers; @@ -63,6 +65,15 @@ random = new Random(); } + // Shutdown mailets + public void dispose() { + Iterator it = mailets.iterator(); + while (it.hasNext()) { + Mailet mailet = (Mailet)it.next(); + getLogger().debug("Shutdown mailet " + mailet.getMailetInfo()); + mailet.destroy(); + } + } public void add(Matcher matcher, Mailet mailet) { matchers.add(matcher); 1.14 +24 -14 jakarta-james/src/java/org/apache/james/transport/mailets/RemoteDelivery.java Index: RemoteDelivery.java =================================================================== RCS file: /home/cvs/jakarta-james/src/java/org/apache/james/transport/mailets/RemoteDelivery.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- RemoteDelivery.java 18 Jan 2002 02:48:38 -0000 1.13 +++ RemoteDelivery.java 1 Mar 2002 15:58:40 -0000 1.14 @@ -45,8 +45,8 @@ * @author Serge Knystautas <asmith@example.org> * @author Federico Barbieri <asmith@example.org> * - * This is $Revision: 1.13 $ - * Committed on $Date: 2002/01/18 02:48:38 $ by: $Author: darrell $ + * This is $Revision: 1.14 $ + * Committed on $Date: 2002/03/01 15:58:40 $ by: $Author: danny $ */ public class RemoteDelivery extends GenericMailet implements Runnable { @@ -306,6 +306,8 @@ getMailetContext().bounce(mail, sout.toString()); } catch (MessagingException me) { log("encountered unexpected messaging exception while bouncing message: " + me.getMessage()); + } catch (Exception e) { + log("encountered unexpected exception while bouncing message: " + e.getMessage()); } } @@ -359,7 +361,8 @@ mail.setState(Mail.GHOST); } - public void destroy() { + // Need to synchronize to get object monitor for notifyAll() + public synchronized void destroy() { //Wake up all threads from waiting for an accept notifyAll(); for (Iterator i = deliveryThreads.iterator(); i.hasNext(); ) { @@ -390,17 +393,24 @@ while (!Thread.currentThread().interrupted()) { try { String key = outgoing.accept(delayTime); - log(Thread.currentThread().getName() + " will process mail " + key); - MailImpl mail = outgoing.retrieve(key); - if (deliver(mail, session)) { - //Message was successfully delivered/fully failed... delete it - outgoing.remove(key); - } else { - //Something happened that will delay delivery. Store any updates - outgoing.store(mail); - } - //Clear the object handle to make sure it recycles this object. - mail = null; + try { + log(Thread.currentThread().getName() + " will process mail " + key); + MailImpl mail = outgoing.retrieve(key); + if (deliver(mail, session)) { + //Message was successfully delivered/fully failed... delete it + outgoing.remove(key); + } else { + //Something happened that will delay delivery. Store any updates + outgoing.store(mail); + } + //Clear the object handle to make sure it recycles this object. + mail = null; + } catch (Exception e) { + // Prevent unexpected exceptions from causing looping by removing + // message from outgoing. + outgoing.remove(key); + throw e; + } } catch (Exception e) { log("Exception caught in RemoteDelivery.run(): " + e); } -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Fri Mar 01 16:17:03 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 59976 invoked from network); 1 Mar 2002 16:17:03 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Mar 2002 16:17:03 -0000 Received: (qmail 5928 invoked by uid 97); 1 Mar 2002 16:16:57 -0000 Delivered-To: asmith@example.org Received: (qmail 5780 invoked by uid 97); 1 Mar 2002 16:16:56 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 5681 invoked from network); 1 Mar 2002 16:16:54 -0000 From: "Danny Angus" <asmith@example.org> To: "James Developers List" <asmith@example.org> Subject: RE: SPAM handling. Date: Fri, 1 Mar 2002 16:20:07 -0000 Message-ID: <asmith@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: <asmith@example.org> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N just realise my response codes should be .. I was looking in the extensions rfc :-) 421 4.7.1 originator/intermediate/host not yet authorised try later 554 5.7.1 originator/intermediate/host blacklisted contact postmaster@wherever d. -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Fri Mar 01 16:18:14 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 60428 invoked from network); 1 Mar 2002 16:18:14 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 1 Mar 2002 16:18:14 -0000 Received: (qmail 8697 invoked by uid 97); 1 Mar 2002 16:18:14 -0000 Delivered-To: asmith@example.org Received: (qmail 8660 invoked by uid 97); 1 Mar 2002 16:18:13 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 8649 invoked from network); 1 Mar 2002 16:18:13 -0000 From: "Danny Angus" <asmith@example.org> To: "James Developers List" <asmith@example.org> Subject: RE: James Diffs for Minor Fixes Date: Fri, 1 Mar 2002 16:21:43 -0000 Message-ID: <asmith@example.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 In-Reply-To: <asmith@example.org> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N applied, thanks Steve. > -----Original Message----- > From: Steve Short [mailto:asmith@example.org] > Sent: Saturday, February 16, 2002 2:11 AM > To: James Dev (E-mail) > Subject: James Diffs for Minor Fixes > > > > Here are the diffs for the fixes I mailed about earlier. The diffs were > made using 'cvs diff -u' in cygwin on Windows 2000. The > following files are > attached: > > JamesSpoolManager.diff > AvalonSpoolRepository.diff > AvalonMailRepository.diff > LinearProcessor.diff > RemoteDelivery.diff > RemoteManager.diff > SMTPServer.diff > > Regards > Steve > <<JamesSpoolManager.diff>> <<AvalonSpoolRepository.diff>> > <<AvalonMailRepository.diff>> <<LinearProcessor.diff>> > <<RemoteDelivery.diff>> <<RemoteManager.diff>> <<SMTPServer.diff>> > -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Sat Mar 02 02:59:11 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 56484 invoked from network); 2 Mar 2002 02:59:11 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Mar 2002 02:59:11 -0000 Received: (qmail 14495 invoked by uid 97); 2 Mar 2002 02:59:18 -0000 Delivered-To: asmith@example.org Received: (qmail 14453 invoked by uid 97); 2 Mar 2002 02:59:18 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 14439 invoked by uid 50); 2 Mar 2002 02:59:17 -0000 Date: 2 Mar 2002 02:59:17 -0000 Message-ID: <asmith@example.org> From: asmith@example.org To: asmith@example.org Cc: Subject: DO NOT REPLY [Bug 6811] New: - Files Stuck in mailbox X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6811>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6811 Files Stuck in mailbox Summary: Files Stuck in mailbox Product: James Version: 2.0a2 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Critical Priority: Other Component: James Core AssignedTo: asmith@example.org ReportedBy: asmith@example.org I noticed that when using a popclient (Outlook 2000) to fetch mail out of James a.2 that there is always one or more files stuck in the users mail box. Trying to delete the file explorer does not work b/c the file is in use. To delete these files I have to close James and delete them. Once the files get stuck, no new messages can be retrieved or sent. -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Sat Mar 02 03:01:55 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 59223 invoked from network); 2 Mar 2002 03:01:55 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Mar 2002 03:01:55 -0000 Received: (qmail 15937 invoked by uid 97); 2 Mar 2002 03:02:02 -0000 Delivered-To: asmith@example.org Received: (qmail 15916 invoked by uid 97); 2 Mar 2002 03:02:02 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 15903 invoked by uid 50); 2 Mar 2002 03:02:02 -0000 Date: 2 Mar 2002 03:02:02 -0000 Message-ID: <asmith@example.org> From: asmith@example.org To: asmith@example.org Cc: Subject: DO NOT REPLY [Bug 6812] New: - can't relocate var directory. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6812>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6812 can't relocate var directory. Summary: can't relocate var directory. Product: James Version: 2.0a2 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Major Priority: Other Component: James Core AssignedTo: asmith@example.org ReportedBy: asmith@example.org I'm trying to relocate the var directory to a different drive by modifying all the file:// values in the config file with file://d:/data/var but this does not seem to work. I think there should be an easy way to specify the location of the var directory rather then having to modify every single entry. Can't you use variable subst. like ant? -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Sat Mar 02 19:36:36 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 21237 invoked from network); 2 Mar 2002 19:36:35 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Mar 2002 19:36:35 -0000 Received: (qmail 9903 invoked by uid 97); 2 Mar 2002 19:36:39 -0000 Delivered-To: asmith@example.org Received: (qmail 9855 invoked by uid 97); 2 Mar 2002 19:36:38 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 9841 invoked by uid 50); 2 Mar 2002 19:36:37 -0000 Date: 2 Mar 2002 19:36:37 -0000 Message-ID: <asmith@example.org> From: asmith@example.org To: asmith@example.org Cc: Subject: DO NOT REPLY [Bug 6812] - can't relocate var directory. X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6812>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6812 can't relocate var directory. asmith@example.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID ------- Additional Comments From asmith@example.org 2002-03-02 19:36 ------- This isn't a bug, to use an absolute file path you should append a / to the path so that your example becomes: file:///d:/data/var -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Sat Mar 02 19:40:54 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 22559 invoked from network); 2 Mar 2002 19:40:54 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Mar 2002 19:40:54 -0000 Received: (qmail 11003 invoked by uid 97); 2 Mar 2002 19:40:57 -0000 Delivered-To: asmith@example.org Received: (qmail 10963 invoked by uid 97); 2 Mar 2002 19:40:56 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 10948 invoked by uid 50); 2 Mar 2002 19:40:56 -0000 Date: 2 Mar 2002 19:40:56 -0000 Message-ID: <asmith@example.org> From: asmith@example.org To: asmith@example.org Cc: Subject: DO NOT REPLY [Bug 6811] - Files Stuck in mailbox X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6811>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6811 Files Stuck in mailbox asmith@example.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE ------- Additional Comments From asmith@example.org 2002-03-02 19:40 ------- *** This bug has been marked as a duplicate of 4003 *** -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Sat Mar 02 19:40:57 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 22611 invoked from network); 2 Mar 2002 19:40:57 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 2 Mar 2002 19:40:57 -0000 Received: (qmail 11232 invoked by uid 97); 2 Mar 2002 19:41:00 -0000 Delivered-To: asmith@example.org Received: (qmail 11215 invoked by uid 97); 2 Mar 2002 19:40:59 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 11099 invoked by uid 50); 2 Mar 2002 19:40:58 -0000 Date: 2 Mar 2002 19:40:58 -0000 Message-ID: <asmith@example.org> From: asmith@example.org To: asmith@example.org Cc: Subject: DO NOT REPLY [Bug 4003] - Mails stored in the file repo have their objectstorage file deleted when collected by pop3 but the file storage file remains, X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4003>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4003 Mails stored in the file repo have their objectstorage file deleted when collected by pop3 but the file storage file remains, asmith@example.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |asmith@example.org ------- Additional Comments From asmith@example.org 2002-03-02 19:40 ------- *** Bug 6811 has been marked as a duplicate of this bug. *** -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Sun Mar 03 14:55:34 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 60389 invoked from network); 3 Mar 2002 14:55:33 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2002 14:55:33 -0000 Received: (qmail 5906 invoked by uid 97); 3 Mar 2002 14:55:33 -0000 Delivered-To: asmith@example.org Received: (qmail 5863 invoked by uid 97); 3 Mar 2002 14:55:32 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 5852 invoked from network); 3 Mar 2002 14:55:31 -0000 Message-ID: <asmith@example.org> Date: Sun, 03 Mar 2002 16:53:29 +0200 From: Alexander Zhukov <asmith@example.org> User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.7) Gecko/20011226 X-Accept-Language: en-us MIME-Version: 1.0 To: James Developers List <asmith@example.org> Subject: imapserver ldapuserstore multiple domains References: <asmith@example.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi all! I'd like to add imap support back to the James. I cvsed the code looked it thru and saw that james lacks the features i need in the following "modules": 1. imap 2. ldapuserstore 3. support for multiple domains A question: Does james support multiple domains? i tried to create asmith@example.org and asmith@example.org but mail is delievered to one and the same folder - so i conclude james has _partial_ multi-domain support or did i miss something? Few things i did: I have rewritten from scratch the UsersLDAPRepository.java to add some multidomain support, i also hacked a bit the James.java. One more thing - i added the imap support to the James.java (from proposals/). mime encoder in DigestUtil.digestString doesnt pad the encoded string that's why when you add the user to ldaprepository you cant bind to ldap with that user - i made (rather ugly) work around on this bug(?). You can download the modifications from http://may.priocom.com:8080/james/ some comments: UsersLDAPRepository.java i dont use the config right know all the settings are compiled in :( i'm going to fix it ASAP DigestUtil.java i guess util.Base64 is better because it _tries_ to pad the output however it adds "A" instead of "=" at the end of encoded string :( James.java wont work out of the box because i'm working on imap support Regards Alexander Zhukov -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Sun Mar 03 18:01:05 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 8379 invoked from network); 3 Mar 2002 18:01:05 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 3 Mar 2002 18:01:05 -0000 Received: (qmail 26676 invoked by uid 97); 3 Mar 2002 18:01:07 -0000 Delivered-To: asmith@example.org Received: (qmail 26470 invoked by uid 97); 3 Mar 2002 18:01:06 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 26155 invoked by uid 0); 3 Mar 2002 18:01:05 -0000 Message-ID: <asmith@example.org> From: asmith@example.org To: asmith@example.org Subject: Bug report for James [2002/03/03] Date: Sun, 03 Mar 2002 18:01:05 -0000 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N +---------------------------------------------------------------------------+ | Bugzilla Bug ID | | +---------------------------------------------------------------------+ | | Status: UNC=Unconfirmed NEW=New ASS=Assigned | | | OPN=Reopened VER=Verified (Skipped Closed/Resolved) | | | +-----------------------------------------------------------------+ | | | Severity: BLK=Blocker CRI=Critical MAJ=Major | | | | MIN=Minor NOR=Normal EHN=Ehnancement | | | | +-------------------------------------------------------------+ | | | | Date Posted | | | | | +--------------------------------------------------+ | | | | | Description | | | | | | | | 2288|Ass|Maj|2001-06-22|Bounced mail to unknown sender address or SMTP ser| | 4003|Ass|Blk|2001-10-05|Mails stored in the file repo have their objectsto| | 4032|New|Min|2001-10-08|Bad DB structure causes store problems | | 4033|New|Nor|2001-10-08|JamesSpoolManager doesn't shutdown gracefully | | 5281|New|Maj|2001-12-05|Antivirus | | 5818|New|Min|2002-01-11|ConnectionHandler upgrade | | 5824|Opn|Nor|2002-01-12|NNTP auth doesnt work | | 6084|New|Maj|2002-01-29|Bug with startup James | | 6340|New|Nor|2002-02-09|SMTP AUTH with <challenge> will not work | | 6602|New|Min|2002-02-21|timeout of remote manager lists exception; should | | 6678|New|Nor|2002-02-26|fix for SMTP AUTH for Mac clients | +-----+---+---+----------+--------------------------------------------------+ | Total 11 bugs | +---------------------------------------------------------------------------+ -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Tue Mar 05 13:47:13 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 19074 invoked from network); 5 Mar 2002 13:47:13 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Mar 2002 13:47:13 -0000 Received: (qmail 27792 invoked by uid 97); 5 Mar 2002 13:47:13 -0000 Delivered-To: asmith@example.org Received: (qmail 27767 invoked by uid 97); 5 Mar 2002 13:47:12 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 25181 invoked from network); 5 Mar 2002 09:35:09 -0000 Message-ID: <asmith@example.org> Date: Tue, 05 Mar 2002 09:34:27 +0000 From: Paul Hammant <asmith@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7) Gecko/20011221 X-Accept-Language: en-us MIME-Version: 1.0 To: James Developers List <asmith@example.org> Subject: Re: SPAM handling. References: <asmith@example.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Danny, I appreciate there are blocks that can be put up using the current protocols, but my contention is that blocks are the wrong solution. See http://news.com.com/2100-1023-850761.html. What we need is some solution (that possibly changes the SMTP protocol) that does not upset whole countries and closes the spoofing loopholes. We will still be spammed, but the originators will be easier to find. I still think that we should migrate to a new, say, SMTP2 solution that closes all the loopholes (upgrades to XML headers at the same time). At some point in the future mail administrators choose to turn off support to old SMTP and any mail servers trying to forward mail for them find they just cannot connect. I.e. we are shooting the messanger in this case (with bullet that takes two years to percolate through the system). My point is there smart enough brains in this list who can design son-of-SMTP and propose it to the IETF. - Paul -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Tue Mar 05 15:02:45 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 14899 invoked from network); 5 Mar 2002 15:02:44 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Mar 2002 15:02:44 -0000 Received: (qmail 10629 invoked by uid 97); 5 Mar 2002 15:02:45 -0000 Delivered-To: asmith@example.org Received: (qmail 10589 invoked by uid 97); 5 Mar 2002 15:02:44 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 10578 invoked from network); 5 Mar 2002 15:02:43 -0000 Message-ID: <01d901c1c456$75de9ec0$650d07d8@STACCATO> From: "Serge Knystautas" <asmith@example.org> To: "James Developers List" <asmith@example.org> References: <asmith@example.org> <asmith@example.org> Subject: Re: SPAM handling. Date: Tue, 5 Mar 2002 10:00:16 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Paul, While I like the idea of XML headers, that seems to imply changing or dropping the MIME spec. Or were you referring to the handful of protocol commands (I don't really see that as headers)? Serge Knystautas Loki Technologies - Unstoppable Websites http://www.lokitech.com/ ----- Original Message ----- From: "Paul Hammant" <asmith@example.org> To: "James Developers List" <asmith@example.org> Sent: Tuesday, March 05, 2002 4:34 AM Subject: Re: SPAM handling. > Danny, > > I appreciate there are blocks that can be put up using the current > protocols, but my contention is that blocks are the wrong solution. See > http://news.com.com/2100-1023-850761.html. > > What we need is some solution (that possibly changes the SMTP protocol) > that does not upset whole countries and closes the spoofing loopholes. > We will still be spammed, but the originators will be easier to find. > > I still think that we should migrate to a new, say, SMTP2 solution that > closes all the loopholes (upgrades to XML headers at the same time). At > some point in the future mail administrators choose to turn off support > to old SMTP and any mail servers trying to forward mail for them find > they just cannot connect. I.e. we are shooting the messanger in this > case (with bullet that takes two years to percolate through the system). > > My point is there smart enough brains in this list who can design > son-of-SMTP and propose it to the IETF. > > - Paul -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Tue Mar 05 15:34:07 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 46575 invoked from network); 5 Mar 2002 15:34:07 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Mar 2002 15:34:07 -0000 Received: (qmail 24287 invoked by uid 97); 5 Mar 2002 15:34:08 -0000 Delivered-To: asmith@example.org Received: (qmail 24263 invoked by uid 97); 5 Mar 2002 15:34:07 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 18774 invoked from network); 5 Mar 2002 15:25:54 -0000 Message-ID: <asmith@example.org> Date: Tue, 05 Mar 2002 15:27:04 +0000 From: Paul Hammant <asmith@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7) Gecko/20011221 X-Accept-Language: en-us MIME-Version: 1.0 To: James Developers List <asmith@example.org> Subject: Re: SPAM handling. References: <asmith@example.org> <asmith@example.org> <01d901c1c456$75de9ec0$650d07d8@STACCATO> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Serge, You are perhaps exposing that I am out of my depth here :-) My SMTP knowledge is limited to poking it at college with Telnet. I am trying to push the fact that some change of mail forwarding design is needed to make the system more accountable and less spoofable. And that five of you knowledgeble enough could sit down, publish an RFC and gaim mindshare for the eventual migration from SMTP as is at the moment. - Paul >Paul, > >While I like the idea of XML headers, that seems to imply changing or >dropping the MIME spec. Or were you referring to the handful of protocol >commands (I don't really see that as headers)? > >Serge Knystautas >Loki Technologies - Unstoppable Websites >http://www.lokitech.com/ >----- Original Message ----- >From: "Paul Hammant" <asmith@example.org> >To: "James Developers List" <asmith@example.org> >Sent: Tuesday, March 05, 2002 4:34 AM >Subject: Re: SPAM handling. > > >>Danny, >> >>I appreciate there are blocks that can be put up using the current >>protocols, but my contention is that blocks are the wrong solution. See >>http://news.com.com/2100-1023-850761.html. >> >>What we need is some solution (that possibly changes the SMTP protocol) >>that does not upset whole countries and closes the spoofing loopholes. >> We will still be spammed, but the originators will be easier to find. >> >>I still think that we should migrate to a new, say, SMTP2 solution that >>closes all the loopholes (upgrades to XML headers at the same time). At >>some point in the future mail administrators choose to turn off support >>to old SMTP and any mail servers trying to forward mail for them find >>they just cannot connect. I.e. we are shooting the messanger in this >>case (with bullet that takes two years to percolate through the system). >> >>My point is there smart enough brains in this list who can design >>son-of-SMTP and propose it to the IETF. >> >>- Paul >> > > >-- >To unsubscribe, e-mail: <mailto:asmith@example.org> >For additional commands, e-mail: <mailto:asmith@example.org> > > > -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Tue Mar 05 17:07:28 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 35053 invoked from network); 5 Mar 2002 17:07:28 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Mar 2002 17:07:28 -0000 Received: (qmail 4705 invoked by uid 97); 5 Mar 2002 17:07:13 -0000 Delivered-To: asmith@example.org Received: (qmail 4650 invoked by uid 97); 5 Mar 2002 17:07:12 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 22 invoked from network); 5 Mar 2002 17:00:13 -0000 Message-ID: <asmith@example.org> Date: Tue, 05 Mar 2002 17:00:32 +0000 From: Paul Hammant <asmith@example.org> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.7) Gecko/20011221 X-Accept-Language: en-us MIME-Version: 1.0 To: asmith@example.org Subject: Interesting blocks Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Folks, Just in case you did not know, there are two interesting Phoenix using projects out there. 1) Jo! Webserver :- http://www.tagtraum.com/ It has a block that exposes: deployWAR(String hostName, String name, String ctxPath, String warUrl); JAMES could have in it's own tree a JSP/taglib/Servlet webapp and then on startup, hand that to Jo! through the above API and Jo would unpack it and mount it for use. 2) Enterprise Object Broker :- http://eob.sourceforge.net/ Like EJB but simpler (still evolving). See our 'JoUsingStartup' and how it differs to 'DefaultStartup' as two Blocks implementing the same service. (1) is more likely to be of use to you for allowing a single SAR distro that includes webapp management. (2) is more likely to avail of services in JAMES in a beanlike environment. Lastly, I'd like to direct you to AltRMI - http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/altrmi/ - this is not a phoenix block, but is useful for those needing remote API access. Regards, - Paul H -- To unsubscribe, e-mail: <mailto:asmith@example.org> For additional commands, e-mail: <mailto:asmith@example.org> From james-devasmith@example.org Tue Mar 05 19:18:56 2002 Return-Path: <james-devasmith@example.org> Delivered-To: asmith@example.org Received: (qmail 27851 invoked from network); 5 Mar 2002 19:18:56 -0000 Received: from unknown (HELO nagoya.betaversion.org) (83.161.120.155) by daedalus.apache.org with SMTP; 5 Mar 2002 19:18:56 -0000 Received: (qmail 613 invoked by uid 97); 5 Mar 2002 19:18:58 -0000 Delivered-To: asmith@example.org Received: (qmail 525 invoked by uid 97); 5 Mar 2002 19:18:58 -0000 Mailing-List: contact asmith@example.org; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:asmith@example.org> List-Subscribe: <mailto:asmith@example.org> List-Help: <mailto:asmith@example.org> List-Post: <mailto:asmith@example.org> List-Id: "James Developers List" <james-dev.jakarta.apache.org> Reply-To: "James Developers List" <asmith@example.org> Delivered-To: mailing list asmith@example.org Received: (qmail 387 invoked from network); 5 Mar 2002 19:18:57 -0000 Message-ID: <asmith@example.org> From: Steve Short <asmith@example.org> To: "James Dev (E-mail)" <asmith@example.org> Subject: Found Problem with Retries and Bounces Date: Tue, 5 Mar 2002 11:14:46 -0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type:
{'source': 'Apache Software Foundation Public Mail Archives'}