cvs commit: jakarta-james/www dns_configuration_2_1.html documentation_2_1.html

2003-02-13 Thread noel
noel2003/02/13 23:48:05

  Modified:src/xdocs documentation_2_1.xml
   www  documentation_2_1.html
  Added:   src/xdocs dns_configuration_2_1.xml
   www  dns_configuration_2_1.html
  Log:
  Added DNS configuration docs.  Thanks you to Alan Gerhard
  
  Revision  ChangesPath
  1.8   +1 -0  jakarta-james/src/xdocs/documentation_2_1.xml
  
  Index: documentation_2_1.xml
  ===
  RCS file: /home/cvs/jakarta-james/src/xdocs/documentation_2_1.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- documentation_2_1.xml 12 Dec 2002 02:50:26 -  1.7
  +++ documentation_2_1.xml 14 Feb 2003 07:48:05 -  1.8
  @@ -49,6 +49,7 @@
   
   IV. Configuring James
   
  +DNS Server Configuration
   POP3 Server Configuration
   SMTP Server Configuration
   NNTP Server Configuration
  
  
  
  1.1  jakarta-james/src/xdocs/dns_configuration_2_1.xml
  
  Index: dns_configuration_2_1.xml
  ===
  
  
  
  
   
James 2.1 - Configuring DNS Services
   
  
  
  
  

  DNS Transport services are controlled by a configuration block in
  the config.xml. This block affects SMTP remote delivery.
  
  The dnsserver tag defines the boundaries of the configuration
  block. It encloses all the relevant configuration for the DNS server.
  The behavior of the DNS service is controlled by the attributes and
  children of this tag. 
  
  The standard children of the dnsserver tag are:
  
  servers - This is a list of DNS Servers to be used by James and 
are 
  specified by one, or more server elements, which are child 
elements. 
  Each server element is the IP address of a single DNS server.
  
  
127.0.0.1
166.181.194.205
  
  
  
  
  authoritative - (true/false)This tag specifies 
whether or not 
  to require authoritative (non-cached) DNS records; to only accept DNS responses that 
are 
  authoritative for the domain. It is primarily useful in an intranet/extranet 
environment.
  This should always be false unless you understand the 
implications.
  
  
  
  
  
  
  
  
  1.5   +4 -0  jakarta-james/www/documentation_2_1.html
  
  Index: documentation_2_1.html
  ===
  RCS file: /home/cvs/jakarta-james/www/documentation_2_1.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- documentation_2_1.html6 Feb 2003 06:19:26 -   1.4
  +++ documentation_2_1.html14 Feb 2003 07:48:05 -  1.5
  @@ -225,6 +225,10 @@
   
   
   
  +DNS Server Configuration
  +
  +
  +
   POP3 Server Configuration
   
   
  
  
  
  1.1  jakarta-james/www/dns_configuration_2_1.html
  
  Index: dns_configuration_2_1.html
  ===
  
  
  
  Apache James - James 2.1 - Configuring DNS Services - Java Mail and News 
server, SMTP POP3 NNTP
  
  
  
  
  
  
  
  
  
  
  http://www.apache.org/";>http://www.apache.org/images/asf_logo_wide.gif";>
  http://james.apache.org";>http://james.apache.org/images/james-logo.jpg";>
  
  
  
  
  
  
  
  
  
  
  
  James
  
  
  
  Overview
  
  
  James FAQ
  
  
  http://jakarta.apache.org/site/mail.html";>Mailing Lists
  
  
  http://nagoya.apache.org/wiki/apachewiki.cgi?James";>Wiki
  
  
  
  Downloads
  
  
  
  http://jakarta.apache.org/site/binindex.cgi";>Binaries
  
  
  http://jakarta.apache.org/site/sourceindex.cgi";>Source Code
  
  
  
  Documentation
  
  
  
  James 2.1 Documentation
  
  
  James Javadocs
  
  
  Mailet API
  
  
  James and sendmail
  
  
  Useful RFCs
  
  
  Older Document Archive
  
  
  
  Project
  
  
  
  http://jakarta.apache.org/site/bugs.html";>Bug Database 
  
  
  http://jakarta.apache.org/site/cvsindex.html";>CVS Repositories
  
  
  Who We Are
  
  
  How Can I Contribute?
  
  
  Coding Standards
  
  
  License
  
  
  Changelog
  
  
  TODO
  
  
  
  Translated
  
  
  
  http://www.terra-intl.com/jakarta/james/";>Japanese (web)
  
  
  
  Related Projects
  
  
  
  http://jakarta.apache.org/index.html";>Jakarta
  
  
  http://jakarta.apache.org/ant/index.html";>Ant
  
  
  http://jakarta.apache.org/avalon/index.html";>Avalon
  
  
  
  Useful Information
  
  
  
  http://jakarta.apache.org/site/getinvolved.html";>Get Involved
  
  
  http://jakarta.apache.org/site/library.html";>Reference Library
  
  
  http://apache.org/foundation/faq.html";>Apache
  
  
  
  
  
  
  DNS Configuration
  
  
  
  
  

  
  DNS Transport services are controlled by a configuration block in
  the config.xml. This block affects SMTP remote delivery.
  
  
  The dnsserver tag defines the boundaries of the configuration
  block. It encloses all the relevant configuration for the DNS

RE: Improving JDBC Spool responsiveness

2003-02-13 Thread Noel J. Bergman
Serge,

Yes, using Statement.setMaxRows(int max) is probably the right thing to do.
In the MySQL Connector/J drivers it costs an extra message to the server,
I'm not sure if PostgreSQL handles it at the server or the client, and who
knows what other drivers do, but setMaxRows is standard in the API, and
LIMIT isn't supported in the query language by at least Oracle and SQL
Server.

Thanks.  Good point.

What would you think of changing the spool config in config.xml as:

  
file://conf/sqlResources.xml
file://var/dbmail
 N 
  

"Limit" could be renamed cachesize, maxrows, prefetch, or
whateverwewanttocallit, but the value would be kept and used in
loadPendingMessages():

  listMessages =
conn.prepareStatement(sqlQueries.getSqlString("listMessagesSQL",
true));
  listMessages.setString(1, repositoryName);
  listMessages.setMaxRows(limit);
  rsListMessages = listMessages.executeQuery();

  while (rsListMessages.next() && pendingMessages.size() < limit && ...)
{...}

Thoughts?

--- Noel

-Original Message-
From: Serge Knystautas [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 3:10
To: James Developers List
Subject: Re: Improving JDBC Spool responsiveness


Noel J. Bergman wrote:
>>It consists in appending to the listMessagesSQL query from
>>sqlResources.xml a LIMIT xxx. This way, MySQL does not send
>>back a huge ResultSet which makes the JDBC connection to expire
>
>
> Good thought regarding LIMIT.  There is code in JDBCSpoolRepository for
> limiting the number of messages loaded into an internal working set, but
the
> SQL query still has to generate the large result set.  There are two
places
> where we use listMessageSQL:
>
>JDBCMailRepository.list()
>JDBCSpoolReposittory.loadPendingMessages()
>
> The former is only used by the POP3 handler when listing the contents of
the
> user's mailbox.  The latter is used internally to load the working set.  I
> was thinking that perhaps it doesn't make sense to limit the list given to
> the POP3 handler, although it would simply require the user to clear out
> their messages before they could retrieve more of them.  Or I could clone
> the listMessagesSQL to separate the queries, which is probably a good idea
> for other reasons.

Another approach is to use Statement.setMaxRows(int max).  Many JDBC
drivers can then figure out how to execute this so you achieve the goal
of not returning all the records.

--
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com/
p. 1.301.656.5501
e. [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: [PATCH] RemoteDelivery with sendpartial config settings

2003-02-13 Thread Noel J. Bergman
Jason,

I can work my way through this patch, but next time (or this time if you've
a few minutes to regenerate the diffs), would you please use the unified
diff format as documented in the instructions?  Thanks.  :-)

I'm wondering if we ought to let most of the smtp.* properties be
configurable from config.xml.  Thoughts?

--- Noel

-Original Message-
From: Jason Webb [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 11, 2003 6:15
To: James Developers List
Subject: [PATCH] RemoteDelivery with sendpartial config settings

As promised I have updated config.xml and RemoteDelivery to take the new
settings for mail.smtp.connectiontimeout and mail.smtp.sendpartial.
In order to make the settings non-lethal I've left sendpartial set to
false, although I have tested it with true.

Personally I'd recommend this be tested by as many people as possible as
it is a serious change in behaviour. It might be better to add it to 3.0
rather than 2.1.x if there are concerns.

-- Jason


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Obtaining a reference to a mailet

2003-02-13 Thread Mark Imel
You're correct my question is weird.  I should have double checked.
I meant to say: Is there a way that my *matcher* can obtain a reference to
its coupled mailet?

Sorry about the typo...


- Original Message -
From: "Kenny Smith" <[EMAIL PROTECTED]>
To: "James Developers List" <[EMAIL PROTECTED]>
Sent: Thursday, February 13, 2003 1:51 PM
Subject: Re: Obtaining a reference to a mailet


> Hi Mark,
>
> The question seems weird... basic Java (all objects, not just mailets)
> gives you a 'this' reference which is a reference to your object from
> within... maybe you're asking a different question?
>
> Kenny Smith
>
>
> Mark Imel wrote:
>
> > When my custom mailet/matcher pair are instantiated and initialized,
> > is there a way for my mailet to obtain a reference to the mailet?
> >
> > And, if not at initialization time, can i obtain a reference at run
time?
> >
> > Thanks,
> > --Mark Imel
> >
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




cvs commit: jakarta-james/www announcement_2_1.html changelog.html index.html

2003-02-13 Thread noel
noel2003/02/13 15:26:16

  Modified:www  announcement_2_1.html changelog.html index.html
  Log:
  James v2.1.1 release
  
  Revision  ChangesPath
  1.5   +2 -2  jakarta-james/www/announcement_2_1.html
  
  Index: announcement_2_1.html
  ===
  RCS file: /home/cvs/jakarta-james/www/announcement_2_1.html,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- announcement_2_1.html 6 Feb 2003 06:19:26 -   1.4
  +++ announcement_2_1.html 13 Feb 2003 23:26:15 -  1.5
  @@ -179,8 +179,8 @@
   to the James project, please subscribe to the James developer mailing list.
   
   
  -Information about James can be found at the http://jakarta.apache.org/james";>James web site 
  -at http://jakarta.apache.org/james.  Users interested in subscribing to the James 
  +Information about James can be found at the http://james.apache.org/";>James web site 
  +at http://james.apache.org/.  Users interested in subscribing to the James 
   mailto:[EMAIL PROTECTED]";>user and 
   mailto:[EMAIL PROTECTED]";>developer mailings 
lists should send emails 
   to [EMAIL PROTECTED] and 
[EMAIL PROTECTED], respectively
  
  
  
  1.17  +36 -3 jakarta-james/www/changelog.html
  
  Index: changelog.html
  ===
  RCS file: /home/cvs/jakarta-james/www/changelog.html,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- changelog.html9 Feb 2003 19:21:30 -   1.16
  +++ changelog.html13 Feb 2003 23:26:15 -  1.17
  @@ -2,8 +2,8 @@
   
   
   Apache James - ChangeLog - Java Mail and News server, SMTP POP3 NNTP
  -
  -
  +
  +
   
   
   
  @@ -152,6 +152,39 @@
   
   
   
  +No release date.  Planned changes:
  +
  +All enhancements from James v2
  +
  +Mailet API v3
  +
  +Use of JNDI for resources and user repositories
  +
  +Use of JavaMail stores
  +
  +Improved performance
  +
  +More fully featured mailing list support
  +
  +And http://nagoya.apache.org/wiki/apachewiki.cgi?JamesV3";>more
  +
  +
  +
  +
  +
  +
  +
  +
  +Version 2.1.2
  +
  +
  +
  +
  +
  +Expected release March 2003
  +
  +[JW] (code) JavaMail tuning in RemoteDelivery
  +
   [SS4] (update) Upgrade to DnsJava 1.3.2
   
   [SS4] (code) DNS service can auto-discover DNS servers
  @@ -172,7 +205,7 @@
   
   
   
  -Expected release February 2003
  +Released 11 February 2003
   
[KL] (code) SMTP AUTH compatibility change
   
  
  
  
  1.24  +18 -14jakarta-james/www/index.html
  
  Index: index.html
  ===
  RCS file: /home/cvs/jakarta-james/www/index.html,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- index.html6 Feb 2003 06:19:26 -   1.23
  +++ index.html13 Feb 2003 23:26:15 -  1.24
  @@ -2,10 +2,8 @@
   
   
   Apache James - Overview - Java Mail and News server, SMTP POP3 NNTP
  -
  -
  -
  -
  +
  +
   
   
   
  @@ -158,7 +156,7 @@
   
   James is also a mail application platform. The James project hosts the 
Apache Mailet API, and James provides an implementation of this mail application 
platform API.  
   
  -James is based upon the Apache Avalon application framework. (For more 
information about Avalon, please go to http://jakarta.apache.org/avalon";>http://jakarta.apache.org/avalon)
  +James is based upon the Apache Avalon application framework. (For more 
information about Avalon, please go to http://avalon.apache.org/";>http://avalon.apache.org/)
   
   James requires Java 2 (either JRE 1.3 or 1.4 as of 2.0a3). 
   
  @@ -171,6 +169,11 @@
   
   
   
  +James v2.1.1
  +
  +James v2.1.1 is released.
  +
  +
   James Comes Of Age
   We're proud to announce that Jakarta James has been promoted from being a 
Jakarta sub-project to Apache James, a top-level project of the Apache Software 
Foundation (ASF).  James now has its own Project Management Committee, and reports 
directly to the http://www.apache.org/foundation";>ASF.
   
  @@ -194,20 +197,21 @@
   
   
   
  -Latest and Stable: james-2.1
  +Latest and Stable: James v2.1.1
   
  -James v2.1 is the current release.  Both http://jakarta.apache.org/site/binindex.cgi";>binary and http://jakarta.apache.org/site/sourceindex.cgi";>source distributions are 
available.
  +James v2.1.1 is the current release.  Both http://jakarta.apache.org/site/binindex.cgi";>binary and http://jakarta.apache.org/site/sourceindex.cgi";>source distributions are 
available.
   
  +James v2.1.1 is an incremental update to James v2.1.  See the Change Log for a detailed list of changes,
  +which are mostly in the area of improved stability.
   
  -This release has many enhancements and bug fixes over the previous
  -release.  See the http://jakarta.apache.org/james/changelog.html";>Change 
Log
  -for a detailed list of changes.  Some 

cvs commit: jakarta-james/src/xdocs index.xml

2003-02-13 Thread noel
noel2003/02/13 15:25:26

  Modified:src/xdocs index.xml
  Log:
  Fixed links and added James v2.1.1 announcement
  
  Revision  ChangesPath
  1.27  +15 -14jakarta-james/src/xdocs/index.xml
  
  Index: index.xml
  ===
  RCS file: /home/cvs/jakarta-james/src/xdocs/index.xml,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- index.xml 28 Jan 2003 01:54:59 -  1.26
  +++ index.xml 13 Feb 2003 23:25:26 -  1.27
  @@ -4,35 +4,36 @@
   

 Overview
  -  Serge Knystautas
  -  Danny Angus
  +  James Project

   
   
   
   The Java Apache Mail Enterprise Server (a.k.a. Apache James) is a 100% pure Java 
SMTP and POP3 Mail server and NNTP News server designed to be a complete and portable 
enterprise mail engine solution based on currently available open protocols. 
   James is also a mail application platform. The James project hosts the 
Apache Mailet API, and James provides an implementation of this mail application 
platform API.  
  -James is based upon the Apache Avalon application framework. (For more 
information about Avalon, please go to http://jakarta.apache.org/avalon";>http://jakarta.apache.org/avalon)
  +James is based upon the Apache Avalon application framework. (For more 
information about Avalon, please go to http://avalon.apache.org/";>http://avalon.apache.org/)
   James requires Java 2 (either JRE 1.3 or 1.4 as of 2.0a3). 
   
  +James v2.1.1James v2.1.1 is released.
   James Comes Of AgeWe're proud to announce that Jakarta James has 
been promoted from being a Jakarta sub-project to Apache James, a top-level project of 
the Apache Software Foundation (ASF).  James now has its own Project Management 
Committee, and reports directly to the http://www.apache.org/foundation";>ASF.
   We also have a brand new domain name: http://james.apache.org and are in 
the process of moving our infrastructure over to the new domain, so please forgive any 
confusion that might occur.
   At this time we would especially appreciate hearing about broken links or out 
of date references on this site.
   
   
  -Latest and Stable: james-2.1
  -James v2.1 is the current release.  Both http://jakarta.apache.org/site/binindex.cgi";>binary and http://jakarta.apache.org/site/sourceindex.cgi";>source distributions are 
available.
  +Latest and Stable: James v2.1.1
  +James v2.1.1 is the current release.  Both http://jakarta.apache.org/site/binindex.cgi";>binary and http://jakarta.apache.org/site/sourceindex.cgi";>source distributions are 
available.
   
  -This release has many enhancements and bug fixes over the previous
  -release.  See the http://jakarta.apache.org/james/changelog.html";>Change Log
  -for a detailed list of changes.  Some of the earlier defects could
  -turn a James mail server into an Open Relay.  All users of James 2.0a3
  -and earlier are urged to upgrade to James v2.1 as soon as
  -possible.
  +James v2.1.1 is an incremental update to James v2.1.  See the Change Log for a detailed list of changes,
  +which are mostly in the area of improved stability.
   
  -For details see the http://jakarta.apache.org/james/announcement_2_1.html";>Official
  +James v2.1 has many enhancements and bug fixes over the previous
  +release.  See the Change Log for a
  +detailed list of changes.  Some of the earlier defects could turn a
  +James mail server into an Open Relay.  All users of James 2.0a3 and
  +earlier are urged to upgrade as soon as possible.
  +
  +For details see the Official
   Announcement.
   
   Any bugs found in James are dealt with promptly.  Please provide feedback on the 
james-user and james-dev mailing lists.
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




cvs commit: jakarta-james/src/xdocs changelog.xml

2003-02-13 Thread noel
noel2003/02/13 15:24:28

  Modified:src/xdocs changelog.xml
  Log:
  Updated change log
  
  Revision  ChangesPath
  1.18  +14 -1 jakarta-james/src/xdocs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-james/src/xdocs/changelog.xml,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- changelog.xml 13 Feb 2003 17:36:52 -  1.17
  +++ changelog.xml 13 Feb 2003 23:24:28 -  1.18
  @@ -4,7 +4,7 @@
   

 ChangeLog
  -  Serge Knystautas
  +  James Project

   
   
  @@ -12,6 +12,19 @@
   This is a living document that records what was done between releases.  As 
always, thank you to everyone who contributed code, documentation, bug reports, and 
feedback.
   
   
  +No release date.  Planned changes:
  +All enhancements from James v2
  +Mailet API v3
  +Use of JNDI for resources and user repositories
  +Use of JavaMail stores
  +Improved performance
  +More fully featured mailing list support
  +And http://nagoya.apache.org/wiki/apachewiki.cgi?JamesV3";>more
  +
  +
  +
  +Expected release March 2003
  +[JW] (code) JavaMail tuning in RemoteDelivery
   [SS4] (update) Upgrade to DnsJava 1.3.2
   [SS4] (code) DNS service can auto-discover DNS servers
   [SS4] (code) return an unmodifiable Collection from findMXRecords()
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




cvs commit: jakarta-james/src/xdocs weare.xml

2003-02-13 Thread noel
noel2003/02/13 15:23:45

  Modified:src/xdocs weare.xml
  Log:
  Added Jason Webb
  
  Revision  ChangesPath
  1.15  +1 -0  jakarta-james/src/xdocs/weare.xml
  
  Index: weare.xml
  ===
  RCS file: /home/cvs/jakarta-james/src/xdocs/weare.xml,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- weare.xml 9 Feb 2003 19:26:05 -   1.14
  +++ weare.xml 13 Feb 2003 23:23:44 -  1.15
  @@ -47,6 +47,7 @@
   Aaron Knauf (aknauf at xtra.co.nz) (AK)
   Serge "Sergei" Sozonoff (serge at globalbeach.com) (SS4)
   Kai Londenberg (kai.londenberg at my-vwclub.de) [KL]
  +Jason Webb (jw at inovem.com) [JW]
   
   
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




cvs commit: jakarta-james/www weare.html

2003-02-13 Thread noel
noel2003/02/13 14:55:42

  Modified:www  weare.html
  Log:
  Added Jason Webb
  
  Revision  ChangesPath
  1.18  +4 -0  jakarta-james/www/weare.html
  
  Index: weare.html
  ===
  RCS file: /home/cvs/jakarta-james/www/weare.html,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- weare.html9 Feb 2003 19:27:27 -   1.17
  +++ weare.html13 Feb 2003 22:55:42 -  1.18
  @@ -298,6 +298,10 @@
   Kai Londenberg (kai.londenberg at my-vwclub.de) [KL]
   
   
  +
  +Jason Webb (jw at inovem.com) [JW]
  +
  +
   
   
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




cvs commit: jakarta-james/src/xdocs announcement_2_1.xml

2003-02-13 Thread noel
noel2003/02/13 13:54:50

  Modified:src/xdocs announcement_2_1.xml
  Log:
  Adjusted site URL
  
  Revision  ChangesPath
  1.3   +2 -2  jakarta-james/src/xdocs/announcement_2_1.xml
  
  Index: announcement_2_1.xml
  ===
  RCS file: /home/cvs/jakarta-james/src/xdocs/announcement_2_1.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- announcement_2_1.xml  13 Dec 2002 08:28:32 -  1.2
  +++ announcement_2_1.xml  13 Feb 2003 21:54:50 -  1.3
  @@ -29,8 +29,8 @@
   looking for eager, capable developers to contribute to James.  If you're 
interesting in contributing 
   to the James project, please subscribe to the James developer mailing list.
   
  -Information about James can be found at the http://jakarta.apache.org/james";>James web site 
  -at http://jakarta.apache.org/james.  Users interested in subscribing to the James 
  +Information about James can be found at the http://james.apache.org/";>James web site 
  +at http://james.apache.org/.  Users interested in subscribing to the James 
   mailto:[EMAIL PROTECTED]";>user and 
   mailto:[EMAIL PROTECTED]";>developer mailings 
lists should send emails 
   to [EMAIL PROTECTED] and 
[EMAIL PROTECTED], respectively
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Obtaining a reference to a mailet

2003-02-13 Thread Kenny Smith
Hi Mark,

The question seems weird... basic Java (all objects, not just mailets) 
gives you a 'this' reference which is a reference to your object from 
within... maybe you're asking a different question?

Kenny Smith


Mark Imel wrote:

When my custom mailet/matcher pair are instantiated and initialized, 
is there a way for my mailet to obtain a reference to the mailet?

And, if not at initialization time, can i obtain a reference at run time?

Thanks,
--Mark Imel



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Obtaining a reference to a mailet

2003-02-13 Thread Noel J. Bergman
For what purpose?  You could use the MailetContext to register the presence
of the object.

--- Noel

-Original Message-
From: Mark Imel [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 16:13
To: [EMAIL PROTECTED]
Subject: Obtaining a reference to a mailet


When my custom mailet/matcher pair are instantiated and initialized, is
there a way for my mailet to obtain a reference to the mailet?

And, if not at initialization time, can i obtain a reference at run time?

Thanks,
--Mark Imel


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Obtaining a reference to a mailet

2003-02-13 Thread Mark Imel
When my custom mailet/matcher pair are instantiated and initialized, is there a way 
for my mailet to obtain a reference to the mailet?

And, if not at initialization time, can i obtain a reference at run time?

Thanks,
--Mark Imel



DO NOT REPLY [Bug 16834] - smtpserver.log doesn't show Message-ID

2003-02-13 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_bug.cgi?id=16834

smtpserver.log doesn't show Message-ID





--- Additional Comments From [EMAIL PROTECTED]  2003-02-13 19:14 ---
Mail.getName() is available in mailets, as should be evident from its use in 
RemoteDelivery.  They simply become tied to James, unless we expose getName() 
in a revision of the Mailet API.

Logging is per level, not per message.  Although it is perhaps obvious what 
should happen at ERROR, it is less obvious where to draw the line between 
DEBUG and INFO.  INFO tries to provide a balance between only errors and 
verbose debugging information.  As mentioned earlier, there could be some fine 
tuning of the log messages.

In any event, Bugzilla is not a discussion medium.  The place to discuss the 
issues is on the mailing lists.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




cvs commit: jakarta-james/src/xdocs changelog.xml

2003-02-13 Thread noel
noel2003/02/13 09:36:52

  Modified:src/xdocs changelog.xml
  Log:
  Added released date for v2.1.1
  
  Revision  ChangesPath
  1.17  +1 -1  jakarta-james/src/xdocs/changelog.xml
  
  Index: changelog.xml
  ===
  RCS file: /home/cvs/jakarta-james/src/xdocs/changelog.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- changelog.xml 9 Feb 2003 19:26:05 -   1.16
  +++ changelog.xml 13 Feb 2003 17:36:52 -  1.17
  @@ -19,7 +19,7 @@
   
   
   
  -Expected release February 2003
  +Released 11 February 2003
[KL] (code) SMTP AUTH compatibility change
[NjB] (code) Changed MimeMessageWrapper to use the raw stream when 
possible
[NjB] (code) Fixed synchronization bug in AvalonMailRepository
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




DO NOT REPLY [Bug 16834] - smtpserver.log doesn't show Message-ID

2003-02-13 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_bug.cgi?id=16834

smtpserver.log doesn't show Message-ID





--- Additional Comments From [EMAIL PROTECTED]  2003-02-13 08:53 ---
> Currently we log using Mail.getName().  That value is unique
> for the message in James, and can be used for diagnostics.

True, but it doesn't appear to be available to mailets; I'm now in the situation
that, in DEBUG, smtpserver logs getName(); in production mode (INFO) it doesn't
log even that much. Mailets can only log, say, Message-ID, which is thus rather
difficult to correlate with SMTP transactions especially in high-volume
situations or asynchrony (message sat in spool for a while, so the SMTP
transaction and a mailet interaction are seperated in time). Correlation is thus
difficult in development mode - where it's important - and near-impossible in
production mode - where it's often  critical.

Most MTAs that I've worked with log the Message-ID in an SMTP transaction as a
matter of course as INFO so that problems in production use with mail that's
already moved can be traced. As it stands, there is no way to correlate what's
in smtpserver.log with anything else, except where the sender+recipient
combination happens to be unique (within the relevant scope - a particular
morning for example).

I acknowledge the architectural difficulty - that this would require smtpserver
to parse the message or to depend upon something that did.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




DO NOT REPLY [Bug 16832] - James doesn't cope with malformed addresses

2003-02-13 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_bug.cgi?id=16832

James doesn't cope with malformed addresses

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2003-02-13 08:42 ---
This is uncaught mailet Throwables falling unlogged into the bit bucket again.
I'll assume that your recent fix to catch and log before passing into Phoenix
covers this.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




Re: Improving JDBC Spool responsiveness

2003-02-13 Thread Serge Knystautas
Noel J. Bergman wrote:

It consists in appending to the listMessagesSQL query from
sqlResources.xml a LIMIT xxx. This way, MySQL does not send
back a huge ResultSet which makes the JDBC connection to expire



Good thought regarding LIMIT.  There is code in JDBCSpoolRepository for
limiting the number of messages loaded into an internal working set, but the
SQL query still has to generate the large result set.  There are two places
where we use listMessageSQL:

   JDBCMailRepository.list()
   JDBCSpoolReposittory.loadPendingMessages()

The former is only used by the POP3 handler when listing the contents of the
user's mailbox.  The latter is used internally to load the working set.  I
was thinking that perhaps it doesn't make sense to limit the list given to
the POP3 handler, although it would simply require the user to clear out
their messages before they could retrieve more of them.  Or I could clone
the listMessagesSQL to separate the queries, which is probably a good idea
for other reasons.


Another approach is to use Statement.setMaxRows(int max).  Many JDBC 
drivers can then figure out how to execute this so you achieve the goal 
of not returning all the records.

--
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com/
p. 1.301.656.5501
e. [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]