james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harmeet Bedi" <harm...@kodemuse.com>
Subject Re: [PATCH] NNTP Line Count
Date Tue, 06 May 2003 12:24:22 GMT

----- Original Message -----
From: "Serge Knystautas" <sergek@lokitech.com>
To: "James Developers List" <james-dev@jakarta.apache.org>
Sent: Tuesday, May 06, 2003 7:14 AM
Subject: Re: [PATCH] NNTP Line Count


> The proposed patch would leave the door open to using mailets (or
> something similar) on messages received via NNTP.  If you restrict this
> counting code to only run in the handler, you may not be able to use it
> in all needed cases, and the information could become inaccurate after
> changes.

The patch does seem correct to me, but it has the potential to add overhead
for each article esp. when line information is already know to handler. NNTP
Servers could have a lot of groups and articles (often in GB).


Should it be the responsibility of a mailet to set the right headers if it
changes body ?
In the mailet world nothing is a restriction. A mail could alter headers,
validate, log to db etc but as a general rule, a well behaved mailet should
leave message consistent.

Harmeet


---------------------------------------------------------------------
To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: james-dev-help@jakarta.apache.org


Mime
View raw message