From server-devgavinpatel@example.net Tue Apr 01 06:26:48 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 4256 invoked from network); 1 Apr 2008 06:26:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2008 06:26:48 -0000 Received: (qmail 23763 invoked by uid 500); 1 Apr 2008 06:26:48 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 23739 invoked by uid 500); 1 Apr 2008 06:26:48 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 23724 invoked by uid 99); 1 Apr 2008 06:26:48 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Mar 2008 23:26:48 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO vs159071.vserver.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 06:25:57 +0000 Received: from [83.161.120.155] (unknown [83.161.120.155]) by vs159071.vserver.de (Postfix) with ESMTP id 5D551BE8564 for <gavinpatel@example.net>; Tue, 1 Apr 2008 06:26:17 +0000 (UTC) Subject: Re: [jSPF] poms, copyright, license, again... (Was: [VOTE] jSPF-0.9.6) From: Norman Maurer <gavinpatel@example.net> To: James Developers List <gavinpatel@example.net> In-Reply-To: <gavinpatel@example.net> References: <1206440278.15407.4.camel@norman-laptop> <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> Content-Type: text/plain Date: Tue, 01 Apr 2008 08:26:09 +0200 Message-Id: <1207031169.6915.2.camel@norman-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.0 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Am Dienstag, den 01.04.2008, 01:14 +0200 schrieb Stefano Bagnara: > Bernd Fondermann ha scritto: > >> why not just use an ant script for offline builds? > > > > +1 > > > > the website generation aspect excluded, I don't get it why removing > > maven is not already discussed as an obvious option here. > > if we find that maven causes us non-technical problems - and this > > thread is definitively proving this - , we are free to not use it. > > I downloaded the 0.9.5er source distribution today and it does not > > build with ant, only maven. it downloads a ridiculous large number of > > jars for very little effect. I remember that I +1'ed maven usage for > > building the site. but (hereby also answering a prev question asked on > > this thread) the rest should work with ant and offline, please. :-) > > > > Thanks, > > > > Bernd > > The main build tool for jSPF has always been maven. The build.xml that > was there has been requested by someone and it was created automatically > by maven. I was against it because I know the ant plugin for maven was > not so good and the resulting build.xml was to be maintained (and as you > see it doesn't work). BTW it was intended as a facility for people not > having maven and not as *the* build tool for jSPF. I just updated the > dependency versions inside that file so it should work now. Having to > update the build.xml manually each time we change the pom.xml is a PITA > (we're going to forget this at each release): any better option? > > Other products we ships use ant as their build tool, but jSPF always > used maven, since the first checkin. IIRC we didn't had the vote you are > referring about using maven for the website build and ant for the source > build for jSPF. > > Here is my -0 for moving to ant as the main build tool for jSPF. This > move would simply increase the complexity of managing jSPF lifecycle for me. > > Stefano > -0 from me too... Cheers Norman --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Tue Apr 01 07:38:34 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 26751 invoked from network); 1 Apr 2008 07:38:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2008 07:38:30 -0000 Received: (qmail 13328 invoked by uid 500); 1 Apr 2008 07:38:30 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 13299 invoked by uid 500); 1 Apr 2008 07:38:29 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 13288 invoked by uid 99); 1 Apr 2008 07:38:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 00:38:29 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gavinpatel@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO fg-out-1718.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 07:37:48 +0000 Received: by fg-out-1718.google.com with SMTP id 13so1644237fge.20 for <gavinpatel@example.net>; Tue, 01 Apr 2008 00:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=28yVB14RVZzkasu1q/wKBBZ9XZHBpkDJyZcrfMdfgqQ=; b=n9m/mJn6xqUn1SyvqWH9b8UugUY/EZsB6TfRH1Cr9iF1Hiea0E50HzpPDmhde08/UOMD82oFPo4B0I7GXgaE4mt4Kh4prphz53iV0MqjJNcy5SlXP4mmwkDLL6+YPW/3xcnifX2ZOvcohvT3FmlCYG3FByRyntBTaH+WboSKhtQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=H8t+UjpgTSROIpfkKNoVh2iCpcsjhod5/l3iXKP/qRGNfPE7yhGacBAPAObVRSI0ay/uVGMLGm+r0PbCOW1JTlYCBY8KBmcYkBssII/m7lv6mT09vG4Esusl9C5CNXZbcfx8rNzM0tcbri21LeGFyziZkRkbbKw24Ap2BMFYDhE= Received: by 83.161.120.155 with SMTP id a4mr5208830fgb.3.1207035479976; Tue, 01 Apr 2008 00:37:59 -0700 (PDT) Received: from ?83.161.120.155? ( [83.161.120.155]) by mx.google.com with ESMTPS id f19sm7674295fka.18.283.161.120.155.37.56 (version=SSLv3 cipher=RC4-MD5); Tue, 01 Apr 2008 00:37:58 -0700 (PDT) Subject: Re: GSoC application From: Sascha =?ISO-8859-1?Q?Fr=F6hlich?= <gavinpatel@example.net> To: James Developers List <gavinpatel@example.net> In-Reply-To: <gavinpatel@example.net> References: <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> Content-Type: text/plain; charset=utf-8 Date: Tue, 01 Apr 2008 09:37:55 +0200 Message-Id: <gavinpatel@example.net> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-3.fc8) Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org STARTTLS or PGP/MIME sounds fine to me... Am Montag, den 31.03.2008, 19:42 +0100 schrieb Robert Burrell Donkin: > On Mon, Mar 31, 2008 at 10:36 AM, Sascha Fröhlich > <gavinpatel@example.net> wrote: > > Hi, > > > > I've decided not to apply this year, I think I've not much time left > > this term. > > oh well > > > BUT I am interested in contributing to james-mlm, perhaps I can complete > > your work after GSOC. > > there's quite a lot that can be done in that area so if you're keen, > that'd be great > > - robert > > --------------------------------------------------------------------- > To unsubscribe, e-mail: gavinpatel@example.net > For additional commands, e-mail: gavinpatel@example.net > > > -- > MailScanner > Email Virus Scanner > http://www.mailscanner.info > --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Tue Apr 01 07:44:15 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 28040 invoked from network); 1 Apr 2008 07:44:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2008 07:44:15 -0000 Received: (qmail 16714 invoked by uid 500); 1 Apr 2008 07:44:14 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 16680 invoked by uid 500); 1 Apr 2008 07:44:14 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 16664 invoked by uid 99); 1 Apr 2008 07:44:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 00:44:14 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.devtech.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 07:43:24 +0000 Message-ID: <gavinpatel@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MessageIsInfected: false Received: from cpe-065-188-050-203.sc.res.rr.com. ([83.161.120.155]) by mail.devtech.com (JAMES SMTP Server 2.3.1-dev) with SMTP ID 1014 for <gavinpatel@example.net>; Tue, 1 Apr 2008 02:43:43 -0500 (EST) Date: Tue, 1 Apr 2008 02:43:43 -0500 (EST) Sender: gavinpatel@example.net To: JAMES Server Development <gavinpatel@example.net> From: JAMES Nightly Build System <gavinpatel@example.net> Subject: JAMES Server Nightly Build Report X-Virus-Checked: Checked by ClamAV on apache.org An automated nightly build of JAMES has been posted to http://people.apache.org/builds/james/nightly/ -------------------------------------------------------------------- Any unit test errors from the build should be reported below: -------------------------------------------------------------------- BUILD SUCCESSFUL Total time: 13 minutes 2 seconds -------------------------------------------------------------------- Done. Packages Will Be Uploaded To The Nightly Repository. -------------------------------------------------------------------- Please review http://people.apache.org/builds/james/nightly/BUILD.log. --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Tue Apr 01 10:36:17 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 90185 invoked from network); 1 Apr 2008 10:36:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2008 10:36:17 -0000 Received: (qmail 45115 invoked by uid 500); 1 Apr 2008 10:36:16 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 45088 invoked by uid 500); 1 Apr 2008 10:36:16 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 45063 invoked by uid 99); 1 Apr 2008 10:36:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 03:36:16 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO prometheus.arnsmann.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 10:35:32 +0000 Received: from p579ccef4.dip.t-dialin.net ([83.161.120.155] helo=[83.161.120.155]) by prometheus.arnsmann.net with esmtpa (Exim 4.63) (envelope-from <gavinpatel@example.net>) id 1JgdqA-00031z-21 for gavinpatel@example.net; Tue, 01 Apr 2008 12:35:42 +0200 Message-ID: <gavinpatel@example.net> Date: Tue, 01 Apr 2008 12:35:32 +0200 From: Jonas Arnsmann <gavinpatel@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20080213) MIME-Version: 1.0 To: James Developers List <gavinpatel@example.net> Subject: Re: GSoC application References: <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> In-Reply-To: <gavinpatel@example.net> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig751328864766145B4154F8E2" X-SA-Exim-Connect-IP: 83.161.120.155 X-SA-Exim-Mail-From: gavinpatel@example.net X-SA-Exim-Scanned: No (on prometheus.arnsmann.net); SAEximRunCond expanded to false X-Virus-Checked: Checked by ClamAV on apache.org --------------enig751328864766145B4154F8E2 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Hi, Robert Burrell Donkin wrote: > here are some ideas: shout if you like the sound of any of them <snip> > * JPA backend JPA =3D Java Persistence API, right? I have some in experience in this area, so i could maybe give a hand here= =2E. > what i'm doing ATM is building up the functional test coverage (which > can be used against any backend). these are quite neat and the scripts > are created by a builder which you run against a known compliant > implementation (dovecot, say). if you fancy taking a look at the > specification and creating some test that try to break our > implementation that'd be really great. Sounds interesting.. I have not worked with a lot of testing frameworks s= o far (except some basic junit stuff), but i'm always up for challenge.. If you could provide me with some more information on the current tasks, = i could get started in the next days.. > if you are more interested in cryptography then there's a partially > completed OpenPGP/MIME mailet which needs finishing >=20 > BTW if you're anywhere within reach of amsterdam, we're going to be at > http://www.eu.apachecon.com/eu2008/. the hackathon runs for the first > two days (in parellel with the tutorials) I would really love to join you guys at the Apachecon 2008, but i won't m= ake this year.. To many deadlines in the near future.. Maybe i can join you in 2009 ;) Greetings, Jonas Arnsmann --------------enig751328864766145B4154F8E2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkfyD/gACgkQ3ArfSA93qbt3FQCgsAk8JWdXul07n5XLOy0Q7pdv fOQAnjGM3epqQBAUZYMRc28CZ/0Dqy8I =8Gwa -----END PGP SIGNATURE----- --------------enig751328864766145B4154F8E2-- From server-devgavinpatel@example.net Tue Apr 01 16:49:32 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 90321 invoked from network); 1 Apr 2008 16:49:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2008 16:49:32 -0000 Received: (qmail 31034 invoked by uid 500); 1 Apr 2008 16:49:32 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 31002 invoked by uid 500); 1 Apr 2008 16:49:32 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 30990 invoked by uid 99); 1 Apr 2008 16:49:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 09:49:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=FORGED_MUA_OIMO,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.devtech.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 16:48:42 +0000 Received: from localhost. ([83.161.120.155]) by mail.devtech.com (JAMES SMTP Server 2.3.1-dev) with SMTP ID 777 for <gavinpatel@example.net>; Tue, 1 Apr 2008 11:49:02 -0500 (EST) From: "Noel J. Bergman" <gavinpatel@example.net> To: "James Developers List" <gavinpatel@example.net> Subject: RE: [jSPF] poms, copyright, license, again... (Was: [VOTE]jSPF-0.9.6) Date: Tue, 1 Apr 2008 12:49:04 -0400 Message-ID: <gavinpatel@example.net> 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.6604 (9.0.2911.0) In-Reply-To: <1207031169.6915.2.camel@norman-laptop> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org > I don't get it why removing maven is not already discussed as an obvious option here. +1 --- Noel --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Tue Apr 01 18:12:40 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 37249 invoked from network); 1 Apr 2008 18:12:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2008 18:12:40 -0000 Received: (qmail 61151 invoked by uid 500); 1 Apr 2008 18:12:39 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 61108 invoked by uid 500); 1 Apr 2008 18:12:39 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 61097 invoked by uid 99); 1 Apr 2008 18:12:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 11:12:39 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gavinpatel@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO rn-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 18:11:58 +0000 Received: by rn-out-0910.google.com with SMTP id j40so1474268rnf.12 for <gavinpatel@example.net>; Tue, 01 Apr 2008 11:12:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ybYpK54atGh17NZbnJZGmdK4D7QWndA+A1LoO3Ow1gg=; b=FQR45YDNUa8f+pCO1YDJvSXyZ2fZoZFfpHgdhc4oa/CIuFdGNeuAso2aD2VW028OjmG9wHN9RN1Vgc6pVrGu3WKQaIQnkwNE0JpqAAE3sZUfeYMuXDCVC/6OZv3cs8r4s4/6oqkWMHm//vl30lZH7GJbRdxu2Bs0ozvGeMLoNzY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=j/qq3vz7Nr08rDydnQfBgDAOUN6GTq43D9Q6o1yuuFsor8go90fNN2pRfqqtMlh1O2LnbQjcrdco2SxvbRF2stwJ0UA1AciZtXVSXQFUQE0U1whhO0epLi4VqCOtUXG47M5vsh3uwPZ4XIh/JjTqZjdc6HCx5fSEJ48z0VoydT8= Received: by 83.161.120.155 with SMTP id i1mr12942261wad.115.1207073528151; Tue, 01 Apr 2008 11:12:08 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 1 Apr 2008 11:12:08 -0700 (PDT) Message-ID: <gavinpatel@example.net> Date: Tue, 1 Apr 2008 19:12:08 +0100 From: "Robert Burrell Donkin" <gavinpatel@example.net> To: "James Developers List" <gavinpatel@example.net> Subject: Re: GSoC application In-Reply-To: <gavinpatel@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Apr 1, 2008 at 8:37 AM, Sascha Fr=F6hlich <gavinpatel@example.net> wrote: > STARTTLS or PGP/MIME sounds fine to me... great :-) when will do you think you'll be able to find some time? - robert --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Tue Apr 01 18:20:42 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 46505 invoked from network); 1 Apr 2008 18:20:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2008 18:20:41 -0000 Received: (qmail 71331 invoked by uid 500); 1 Apr 2008 18:20:41 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 71289 invoked by uid 500); 1 Apr 2008 18:20:40 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 71278 invoked by uid 99); 1 Apr 2008 18:20:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 11:20:40 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gavinpatel@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO rn-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 18:19:59 +0000 Received: by rn-out-0910.google.com with SMTP id j40so1480941rnf.12 for <gavinpatel@example.net>; Tue, 01 Apr 2008 11:20:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=wxHnmX6AuT8o259tu/NCIcvUOqYUKD4ds82RuqlcZzI=; b=WxT9Lt82ZCwLCVmq8vd9MSK7NaaV4HRPFseO3iYT7u+x5QEC7rX+r+ZRVi44xN1K+6qR6DMB2k+SHQAh/Gq0mxaZsNXy2eUzA5yjnmkrKlGfxspIs1nkvesPMz1bOEDtoyMChWhOX2e8iZQED9VzJ6XJk1FEG0WcrkIbV5oPLEg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VxBctKid65vYrL7cWathQdYNdxy32VfOHeRCoB8jG0k2cyLfPPZLvmBQ4sRt+ZWutSVAxFEmg/Dp4e4j7rtJ32Uf6D/zCGZGaBvMVaK4CH5+JxnjQyf5nRYatfaIKfT4PryNbsZeeQKbuhfmluKY5RKP1FhZVshIrL1Hj2hjHNY= Received: by 83.161.120.155 with SMTP id a20mr13019172wal.32.1207074010230; Tue, 01 Apr 2008 11:20:10 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 1 Apr 2008 11:20:10 -0700 (PDT) Message-ID: <gavinpatel@example.net> Date: Tue, 1 Apr 2008 19:20:10 +0100 From: "Robert Burrell Donkin" <gavinpatel@example.net> To: "James Developers List" <gavinpatel@example.net> Subject: Re: GSoC application In-Reply-To: <gavinpatel@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Apr 1, 2008 at 11:35 AM, Jonas Arnsmann <gavinpatel@example.net> wrote: > Hi, > > > Robert Burrell Donkin wrote: > > here are some ideas: shout if you like the sound of any of them > <snip> > > > * JPA backend > JPA = Java Persistence API, right? yep > I have some in experience in this area, so i could maybe give a hand here.. great hang around since it might be a week or two before we get to this... > > what i'm doing ATM is building up the functional test coverage (which > > can be used against any backend). these are quite neat and the scripts > > are created by a builder which you run against a known compliant > > implementation (dovecot, say). if you fancy taking a look at the > > specification and creating some test that try to break our > > implementation that'd be really great. > > Sounds interesting.. I have not worked with a lot of testing frameworks so far > (except some basic junit stuff), but i'm always up for challenge.. > If you could provide me with some more information on the current tasks, i > could get started in the next days.. we're trying to build up a big suite of functional tests. this will allow alternative backend and frontend permutations to be tested for compliance. the framework works by reading a script of commands and expected responses which may contain regexes (for example see http://svn.apache.org/repos/asf/james/server/trunk/experimental-seda-imap-function/src/test/resources/org/apache/james/test/functional/imap/scripts/FetchMultipartMixed.test). the commands are executed against a socket and the results compared. more scripts are needed. creating scripts by hand is good for some difficult areas but for bullk coverage, it's best to automated. take a gavinpatel@example.net. it uses ScriptBuilder to create test scripts by (running as an application) against a known good IMAP implementation (preferrably dovecot). don't worry about installing and configuring dovecot for testing: i can easily run the script creation, the more valuable and effective contribution you could make is by creating methods in CreateScript which cabn discover problems with the implementation. ScriptBuilder is not (yet) a feature complete client so you may need to add some more operations but i think that should be relatively straightforward. if you haven't done so yet, read http://www.apache.org/foundation/getinvolved.html and http://www.apache.org/foundation/how-it-works.html then surf http://www.apache.org and http://www.apache.org/dev. - robert --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Tue Apr 01 20:32:34 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 5283 invoked from network); 1 Apr 2008 20:32:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2008 20:32:34 -0000 Received: (qmail 95988 invoked by uid 500); 1 Apr 2008 20:32:33 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 95956 invoked by uid 500); 1 Apr 2008 20:32:33 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 77420 invoked by uid 99); 1 Apr 2008 20:22:36 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on xen01 X-Spam-Level: Subject: Re: GSoC application From: Sascha =?ISO-8859-1?Q?Fr=F6hlich?= <gavinpatel@example.net> Reply-To: gavinpatel@example.net To: James Developers List <gavinpatel@example.net> In-Reply-To: <gavinpatel@example.net> References: <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> Content-Type: text/plain; charset=utf-8 Date: Tue, 01 Apr 2008 22:21:50 +0200 Message-Id: <1207081310.9660.2.camel@home> Mime-Version: 1.0 X-Mailer: Evolution 2.22.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=ham version=3.2.3 Am Dienstag, den 01.04.2008, 19:12 +0100 schrieb Robert Burrell Donkin: > On Tue, Apr 1, 2008 at 8:37 AM, Sascha Fröhlich > <gavinpatel@example.net> wrote: > > STARTTLS or PGP/MIME sounds fine to me... > > great :-) > > when will do you think you'll be able to find some time? Hi, I've just printed the corresponding RFCs :-) I think I'll read them this week and start next week. Greetings, Sascha Fröhlich > > - robert > > --------------------------------------------------------------------- > To unsubscribe, e-mail: gavinpatel@example.net > For additional commands, e-mail: gavinpatel@example.net > --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Tue Apr 01 21:46:27 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 52868 invoked from network); 1 Apr 2008 21:46:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2008 21:46:27 -0000 Received: (qmail 28704 invoked by uid 500); 1 Apr 2008 21:46:26 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 28674 invoked by uid 500); 1 Apr 2008 21:46:26 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 28663 invoked by uid 99); 1 Apr 2008 21:46:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 14:46:26 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gavinpatel@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO el-out-1112.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 21:45:46 +0000 Received: by el-out-1112.google.com with SMTP id s27so1173278ele.20 for <gavinpatel@example.net>; Tue, 01 Apr 2008 14:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=fJLi2dcdmb3DefO+f5Dobfjx3f4u3d3OQi+BpIwbKSA=; b=Ffo+i9IGhJ0kdk+iw3wpP1Z4gXQNQycAI96tiODNRgpg8brZyzGrTpz9AJtswf3+QjA+NwRo4EtOyqAKZbF5pCeVHbUqhFtHPi0pgImD/Os83eVJLYLPogZsPLiEI+4JCIcMOw7CokENxPX/uarldrFBjiw2FxXDSbo7LdeUBcc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=PrHVSjK+9vV/aqqW7edy8Wi8I3BHOZt54sIEHPR3a0ehOB4ndymGqzMB5jTkFyh5qOXqqkVSVc5RutS17Cba1Vxgpa56wQYmJLvJssSmcie1kOwhY+CmhsfmU2U0YEy78KKxz+kkKFyuJzpE7iqv4Q1kgbjhLIoOHWAmouRfm0I= Received: by 83.161.120.155 with SMTP id 18mr13369376waz.130.1207086354698; Tue, 01 Apr 2008 14:45:54 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 1 Apr 2008 14:45:54 -0700 (PDT) Message-ID: <gavinpatel@example.net> Date: Tue, 1 Apr 2008 22:45:54 +0100 From: "Robert Burrell Donkin" <gavinpatel@example.net> To: "James Developers List" <gavinpatel@example.net> Subject: [JAMESHandler] STARTTLS MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org i've been wondering whether the SSL socket switch required for STARTTLS would be better done in the JAMES handler framework layer (AbstractJamesHandler) ATM the JAMES handler framework uses inheritance. so POP3Handler, SMTPHandler and so on extend AbstractJamesHandler. i've been wondering whether it might be better to replace inheritance with delegation by factoring out and interface. opinions? - robert --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Tue Apr 01 22:05:15 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 60940 invoked from network); 1 Apr 2008 22:05:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 1 Apr 2008 22:05:15 -0000 Received: (qmail 56297 invoked by uid 500); 1 Apr 2008 22:05:14 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 56265 invoked by uid 500); 1 Apr 2008 22:05:14 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 56254 invoked by uid 99); 1 Apr 2008 22:05:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 15:05:14 -0700 X-ASF-Spam-Status: No, hits=4.1 required=10.0 tests=MSGID_FROM_MTA_HEADER,RCVD_NUMERIC_HELO,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO elysia.void.it) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 22:04:23 +0000 Message-ID: <gavinpatel@example.net> MIME-Version: 1.0 Received: from 83.161.120.155 ([83.161.120.155]) by elysia.void.it (JAMES SMTP Server 2.3.2) with SMTP ID 669 for <gavinpatel@example.net>; Wed, 2 Apr 2008 00:04:43 +0200 (CEST) Date: Wed, 02 Apr 2008 00:03:57 +0200 From: Stefano Bagnara <gavinpatel@example.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051206 Thunderbird/1.6a1 Mnenhy/83.161.120.155 To: James Developers List <gavinpatel@example.net> Subject: Re: [JAMESHandler] STARTTLS References: <gavinpatel@example.net> In-Reply-To: <gavinpatel@example.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Robert Burrell Donkin ha scritto: > i've been wondering whether the SSL socket switch required for > STARTTLS would be better done in the JAMES handler framework layer > (AbstractJamesHandler) +1 > ATM the JAMES handler framework uses inheritance. so POP3Handler, > SMTPHandler and so on extend AbstractJamesHandler. i've been wondering > whether it might be better to replace inheritance with delegation by > factoring out and interface. > > opinions? sounds reasonable. I don't remember too much that code to understand what kind of impact a similar refactoring would have. Stefano --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Wed Apr 02 05:07:33 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 15776 invoked from network); 2 Apr 2008 05:07:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 05:07:33 -0000 Received: (qmail 11558 invoked by uid 500); 2 Apr 2008 05:07:32 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 11535 invoked by uid 500); 2 Apr 2008 05:07:32 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 11524 invoked by uid 99); 2 Apr 2008 05:07:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 22:07:32 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gavinpatel@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO an-out-0708.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 05:06:51 +0000 Received: by an-out-0708.google.com with SMTP id c37so607796anc.78 for <gavinpatel@example.net>; Tue, 01 Apr 2008 22:07:03 -0700 (PDT) Received: by 83.161.120.155 with SMTP id b19mr21424998ane.115.1207112823031; Tue, 01 Apr 2008 22:07:03 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Tue, 1 Apr 2008 22:07:03 -0700 (PDT) Message-ID: <gavinpatel@example.net> Date: Wed, 2 Apr 2008 07:07:03 +0200 From: "Bernd Fondermann" <gavinpatel@example.net> To: "James Developers List" <gavinpatel@example.net> Subject: Re: [JAMESHandler] STARTTLS In-Reply-To: <gavinpatel@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <gavinpatel@example.net> <gavinpatel@example.net> X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Apr 2, 2008 at 12:03 AM, Stefano Bagnara <gavinpatel@example.net> wrote: > Robert Burrell Donkin ha scritto: > > > i've been wondering whether the SSL socket switch required for > > STARTTLS would be better done in the JAMES handler framework layer > > (AbstractJamesHandler) > > +1 +1 > > ATM the JAMES handler framework uses inheritance. so POP3Handler, > > SMTPHandler and so on extend AbstractJamesHandler. i've been wondering > > whether it might be better to replace inheritance with delegation by > > factoring out and interface. > > > > opinions? > > sounds reasonable. I don't remember too much that code to understand > what kind of impact a similar refactoring would have. +1, separation of concerns, always good. Bernd --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Wed Apr 02 05:15:07 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 17171 invoked from network); 2 Apr 2008 05:15:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 05:15:07 -0000 Received: (qmail 19602 invoked by uid 500); 2 Apr 2008 05:15:06 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 19556 invoked by uid 500); 2 Apr 2008 05:15:06 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 19545 invoked by uid 99); 2 Apr 2008 05:15:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Apr 2008 22:15:06 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO vs159071.vserver.de) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 05:14:24 +0000 Received: from [83.161.120.155] (unknown [83.161.120.155]) by vs159071.vserver.de (Postfix) with ESMTP id DE38DBE8558 for <gavinpatel@example.net>; Wed, 2 Apr 2008 05:14:35 +0000 (UTC) Subject: Re: [JAMESHandler] STARTTLS From: Norman Maurer <gavinpatel@example.net> To: James Developers List <gavinpatel@example.net> In-Reply-To: <gavinpatel@example.net> References: <gavinpatel@example.net> Content-Type: text/plain Date: Wed, 02 Apr 2008 07:14:30 +0200 Message-Id: <1207113270.6870.2.camel@norman-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.22.0 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Am Dienstag, den 01.04.2008, 22:45 +0100 schrieb Robert Burrell Donkin: > i've been wondering whether the SSL socket switch required for > STARTTLS would be better done in the JAMES handler framework layer > (AbstractJamesHandler) > > ATM the JAMES handler framework uses inheritance. so POP3Handler, > SMTPHandler and so on extend AbstractJamesHandler. i've been wondering > whether it might be better to replace inheritance with delegation by > factoring out and interface. > > opinions? > > - robert Seems to make sense for me... Cheers Norman --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Wed Apr 02 07:44:08 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 93418 invoked from network); 2 Apr 2008 07:44:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 07:44:08 -0000 Received: (qmail 75870 invoked by uid 500); 2 Apr 2008 07:44:07 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 75831 invoked by uid 500); 2 Apr 2008 07:44:07 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 75820 invoked by uid 99); 2 Apr 2008 07:44:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 00:44:07 -0700 X-ASF-Spam-Status: No, hits=1.5 required=10.0 tests=MSGID_FROM_MTA_HEADER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail.devtech.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 07:43:25 +0000 Message-ID: <gavinpatel@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-MessageIsInfected: false Received: from cpe-065-188-050-203.sc.res.rr.com. ([83.161.120.155]) by mail.devtech.com (JAMES SMTP Server 2.3.1-dev) with SMTP ID 177 for <gavinpatel@example.net>; Wed, 2 Apr 2008 02:43:35 -0500 (EST) Date: Wed, 2 Apr 2008 02:43:35 -0500 (EST) Sender: gavinpatel@example.net To: JAMES Server Development <gavinpatel@example.net> From: JAMES Nightly Build System <gavinpatel@example.net> Subject: JAMES Server Nightly Build Report X-Virus-Checked: Checked by ClamAV on apache.org An automated nightly build of JAMES has been posted to http://people.apache.org/builds/james/nightly/ -------------------------------------------------------------------- Any unit test errors from the build should be reported below: -------------------------------------------------------------------- BUILD SUCCESSFUL Total time: 12 minutes 56 seconds -------------------------------------------------------------------- Done. Packages Will Be Uploaded To The Nightly Repository. -------------------------------------------------------------------- Please review http://people.apache.org/builds/james/nightly/BUILD.log. --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Wed Apr 02 14:41:48 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 18756 invoked from network); 2 Apr 2008 14:41:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 14:41:48 -0000 Received: (qmail 98989 invoked by uid 500); 2 Apr 2008 14:41:47 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 98957 invoked by uid 500); 2 Apr 2008 14:41:47 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 98946 invoked by uid 99); 2 Apr 2008 14:41:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 07:41:47 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO prometheus.arnsmann.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 14:41:05 +0000 Received: from p579cce15.dip.t-dialin.net ([83.161.120.155] helo=[83.161.120.155]) by prometheus.arnsmann.net with esmtpa (Exim 4.63) (envelope-from <gavinpatel@example.net>) id 1Jh49J-0000Qf-SM for gavinpatel@example.net; Wed, 02 Apr 2008 16:41:14 +0200 Message-ID: <gavinpatel@example.net> Date: Wed, 02 Apr 2008 16:41:05 +0200 From: Jonas Arnsmann <gavinpatel@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20080213) MIME-Version: 1.0 To: James Developers List <gavinpatel@example.net> Subject: Creating Phoenix/Spring Deployment of current trunk X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig138EAB563D00C30495156C92" X-SA-Exim-Connect-IP: 83.161.120.155 X-SA-Exim-Mail-From: gavinpatel@example.net X-SA-Exim-Scanned: No (on prometheus.arnsmann.net); SAEximRunCond expanded to false X-Virus-Checked: Checked by ClamAV on apache.org --------------enig138EAB563D00C30495156C92 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Hi there, i'm trying to build a phoenix/spring deployment with eclipse3.3/ant of th= e current code in trunk, but it fails.. looks like the torque libraries are missing.. however manually adding the= torque 3.3 jars does not help either.. haven't tried it with maven up until now ;) is there a recommended eclipse plugin to do that or should i use the cli = based maven? <build.log> compile-main: [echo] Compiling James Java sources [javac] Compiling 9 source files to C:\Users\Jonas\workspace2\JamesT= runk\phoenix-deployment\target\classes [javac]=20 C:\Users\Jonas\workspace2\JamesTrunk\phoenix-deployment\src\java\org\apac= he\james\mailboxmanager\torque\TorqueMailboxManagerFactory.java:43:=20 package org.apache.james.mailboxmanager.torque.om does not exist [javac] import org.apache.james.mailboxmanager.torque.om.MailboxRowP= eer; [javac] ^ [javac]=20 C:\Users\Jonas\workspace2\JamesTrunk\phoenix-deployment\src\java\org\apac= he\james\mailboxmanager\torque\TorqueMailboxManagerFactory.java:44:=20 package org.apache.james.mailboxmanager.torque.om does not exist [javac] import org.apache.james.mailboxmanager.torque.om.MessageBody= Peer; [javac] ^ [javac]=20 C:\Users\Jonas\workspace2\JamesTrunk\phoenix-deployment\src\java\org\apac= he\james\mailboxmanager\torque\TorqueMailboxManagerFactory.java:45:=20 package org.apache.james.mailboxmanager.torque.om does not exist [javac] import org.apache.james.mailboxmanager.torque.om.MessageFlag= sPeer; [javac] ^ [javac] <snip> BUILD FAILED C:\Users\Jonas\workspace2\JamesTrunk\phoenix-deployment\build.xml:303: Co= mpile failed; see the compiler error output for=20 details. </build-log> What would be the best way to build a phoenix/spring deployment of the cu= rrent trunk code? there a so much=20 pom.xml/build.xml files in the trunk folder, that i'm afraid to try them = all ;) I can't really find any useful documentation on this.. Or did i miss some= thing? I would really appreciate any help on this matter.. Greetings, Jonas Arnsmann --------------enig138EAB563D00C30495156C92 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkfzmwUACgkQ3ArfSA93qbt9sACgmNWik2J4bGISznkDN+BQYCd8 qycAnA7vU6VmwKM5xqaSOjm+6Sf0jy8P =48hg -----END PGP SIGNATURE----- --------------enig138EAB563D00C30495156C92-- From server-devgavinpatel@example.net Wed Apr 02 15:19:03 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 62142 invoked from network); 2 Apr 2008 15:19:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 15:19:02 -0000 Received: (qmail 82847 invoked by uid 500); 2 Apr 2008 15:19:02 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 82809 invoked by uid 500); 2 Apr 2008 15:19:02 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 82797 invoked by uid 99); 2 Apr 2008 15:19:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 08:19:02 -0700 X-ASF-Spam-Status: No, hits=4.1 required=10.0 tests=MSGID_FROM_MTA_HEADER,RCVD_NUMERIC_HELO,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO goth.it) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 15:18:11 +0000 Message-ID: <gavinpatel@example.net> MIME-Version: 1.0 Received: from 83.161.120.155 ([83.161.120.155]) by elysia.void.it (JAMES SMTP Server 2.3.2) with SMTP ID 472 for <gavinpatel@example.net>; Wed, 2 Apr 2008 17:16:54 +0200 (CEST) Date: Wed, 02 Apr 2008 17:16:47 +0200 From: Stefano Bagnara <gavinpatel@example.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051206 Thunderbird/1.6a1 Mnenhy/83.161.120.155 To: James Developers List <gavinpatel@example.net> Subject: Re: Creating Phoenix/Spring Deployment of current trunk References: <gavinpatel@example.net> In-Reply-To: <gavinpatel@example.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Jonas Arnsmann ha scritto: > Hi there, > > i'm trying to build a phoenix/spring deployment with eclipse3.3/ant of > the current code in trunk, but it fails.. run "ant" from the root folder and not from the deployment folder. Stefano --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Wed Apr 02 16:00:18 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 80800 invoked from network); 2 Apr 2008 16:00:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 16:00:18 -0000 Received: (qmail 73394 invoked by uid 500); 2 Apr 2008 16:00:14 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 73362 invoked by uid 500); 2 Apr 2008 16:00:14 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 73341 invoked by uid 99); 2 Apr 2008 16:00:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 09:00:14 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO prometheus.arnsmann.net) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 15:59:30 +0000 Received: from p579cce15.dip.t-dialin.net ([83.161.120.155] helo=[83.161.120.155]) by prometheus.arnsmann.net with esmtpa (Exim 4.63) (envelope-from <gavinpatel@example.net>) id 1Jh5NF-0001av-7a for gavinpatel@example.net; Wed, 02 Apr 2008 17:59:41 +0200 Message-ID: <gavinpatel@example.net> Date: Wed, 02 Apr 2008 17:59:37 +0200 From: Jonas Arnsmann <gavinpatel@example.net> User-Agent: Thunderbird 83.161.120.155 (Windows/20080213) MIME-Version: 1.0 To: James Developers List <gavinpatel@example.net> Subject: Re: Creating Phoenix/Spring Deployment of current trunk References: <gavinpatel@example.net> <gavinpatel@example.net> In-Reply-To: <gavinpatel@example.net> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 83.161.120.155 X-SA-Exim-Mail-From: gavinpatel@example.net X-SA-Exim-Scanned: No (on prometheus.arnsmann.net); SAEximRunCond expanded to false X-Virus-Checked: Checked by ClamAV on apache.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Stefano.. Thank you for the quick reply ;) The ANT Script in the root folder is now working like a charm.. Sorry for asking such stupid questions here on the devel list! Greetings, Jonas Arnsmann Stefano Bagnara schrieb: | Jonas Arnsmann ha scritto: |> Hi there, |> |> i'm trying to build a phoenix/spring deployment with eclipse3.3/ant of |> the current code in trunk, but it fails.. | | run "ant" from the root folder and not from the deployment folder. | | Stefano | | | | --------------------------------------------------------------------- | To unsubscribe, e-mail: gavinpatel@example.net | For additional commands, e-mail: gavinpatel@example.net | | | -- | MailScanner | Email Virus Scanner | http://www.mailscanner.info | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkfzrWkACgkQ3ArfSA93qbs2aACfSz6utQxrKRcsPCu4A5oYHhfw A40An2Z0jahexPU0zaJel0ZOKftPwawF =qx/Q -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Wed Apr 02 17:01:32 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 32851 invoked from network); 2 Apr 2008 17:01:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 17:01:32 -0000 Received: (qmail 59011 invoked by uid 500); 2 Apr 2008 17:01:31 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 58970 invoked by uid 500); 2 Apr 2008 17:01:31 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 58959 invoked by uid 500); 2 Apr 2008 17:01:31 -0000 Received: (qmail 58956 invoked by uid 99); 2 Apr 2008 17:01:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 10:01:31 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eris.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 17:00:58 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 559E91A9832; Wed, 2 Apr 2008 10:01:10 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r643974 - /james/server/trunk/torque-mailboxmanager-function/src/main/java/org/apache/james/mailboxmanager/torque/TorqueMailbox.java Date: Wed, 02 Apr 2008 17:01:09 -0000 To: gavinpatel@example.net From: gavinpatel@example.net X-Mailer: svnmailer-1.0.8 Message-Id: <gavinpatel@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Wed Apr 2 10:01:03 2008 New Revision: 643974 URL: http://svn.apache.org/viewvc?rev=643974&view=rev Log: Hadn't intended to start optimising until the database was stored out but Apple Mail does lots of searches and that's what I'll be using@ApacheCon Modified: james/server/trunk/torque-mailboxmanager-function/src/main/java/org/apache/james/mailboxmanager/torque/TorqueMailbox.java Modified: james/server/trunk/torque-mailboxmanager-function/src/main/java/org/apache/james/mailboxmanager/torque/TorqueMailbox.java URL: http://svn.apache.org/viewvc/james/server/trunk/torque-mailboxmanager-function/src/main/java/org/apache/james/mailboxmanager/torque/TorqueMailbox.java?rev=643974&r1=643973&r2=643974&view=diff ============================================================================== --- james/server/trunk/torque-mailboxmanager-function/src/main/java/org/apache/james/mailboxmanager/torque/TorqueMailbox.java (original) +++ james/server/trunk/torque-mailboxmanager-function/src/main/java/org/apache/james/mailboxmanager/torque/TorqueMailbox.java Wed Apr 2 10:01:03 2008 @@ -44,6 +44,8 @@ import org.apache.james.mailboxmanager.MessageResult; import org.apache.james.mailboxmanager.SearchQuery; import org.apache.james.mailboxmanager.MessageResult.FetchGroup; +import org.apache.james.mailboxmanager.SearchQuery.Criterion; +import org.apache.james.mailboxmanager.SearchQuery.NumericRange; import org.apache.james.mailboxmanager.impl.FetchGroupImpl; import org.apache.james.mailboxmanager.impl.GeneralMessageSetImpl; import org.apache.james.mailboxmanager.mailbox.AbstractImapMailbox; @@ -634,7 +636,8 @@ try { checkAccess(); - final List rows = MessageRowPeer.doSelectJoinMessageFlags(new Criteria()); + final Criteria criterion = preSelect(query); + final List rows = MessageRowPeer.doSelectJoinMessageFlags(criterion); final List filteredMessages = new ArrayList(); for (Iterator it = rows.iterator(); it .hasNext();) { @@ -656,6 +659,43 @@ } } catch (InterruptedException e) { throw new MailboxManagerException(e); + } + } + + private Criteria preSelect(SearchQuery query) { + final Criteria results = new Criteria(); + final List criteria = query.getCriterias(); + if (criteria.size() == 1) { + final Criterion criterion = (Criterion) criteria.get(0); + if (criterion instanceof SearchQuery.UidCriterion) { + final SearchQuery.UidCriterion uidCriterion = (SearchQuery.UidCriterion) criterion; + preSelectUid(results, uidCriterion); + } + } + return results; + } + + private void preSelectUid(final Criteria results, final SearchQuery.UidCriterion uidCriterion) { + final NumericRange[] ranges = uidCriterion.getOperator().getRange(); + for (int i = 0; i < ranges.length; i++) { + final long low = ranges[i].getLowValue(); + final long high = ranges[i].getHighValue(); + if (low == Long.MAX_VALUE) { + results.add(MessageRowPeer.UID, high, Criteria.LESS_EQUAL); + } else if (low == high) { + results.add(MessageRowPeer.UID, low); + } else { + final Criteria.Criterion fromCriterion + = results.getNewCriterion(MessageRowPeer.UID, new Long(low), + Criteria.GREATER_EQUAL); + if (high > 0 && high < Long.MAX_VALUE) { + final Criteria.Criterion toCriterion + = results.getNewCriterion(MessageRowPeer.UID, new Long(high), + Criteria.LESS_EQUAL); + fromCriterion.and(toCriterion); + } + results.add(fromCriterion); + } } } --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Wed Apr 02 18:48:49 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 90964 invoked from network); 2 Apr 2008 18:48:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 18:48:49 -0000 Received: (qmail 94163 invoked by uid 500); 2 Apr 2008 18:48:49 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 94046 invoked by uid 500); 2 Apr 2008 18:48:49 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 94035 invoked by uid 99); 2 Apr 2008 18:48:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 11:48:49 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gavinpatel@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO rn-out-0910.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 18:48:08 +0000 Received: by rn-out-0910.google.com with SMTP id j40so2149991rnf.12 for <gavinpatel@example.net>; Wed, 02 Apr 2008 11:48:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=iZQRyNWyxErdVeKFbFZAXoZDWI7KO5+NpV7MizeScz8=; b=XZjsba8Bwdp2mqaeSQuCbcPIK94f0uiQ2enlCkQk0VK5aKQRnZN16rCbnkyX/rLCCnAJiCppzK23YB/fxu1gsEkSe4jvAtfhjZI8XKHzzd7bP+2Fm1fkd5c/rWiNQK21KVLBgDUbfboIm/H5a03dhtbWcO7f+1LsFz9nbdJZFWg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ppwYd8u7d1ZbmP5wqA2YV8GmFgoCv3zEgvXJ0LpnOezIbV6cwrHdDUyeGhYe9CW013CcjIbRDukw6qeEc4S4JPJCTnTkn2ZYcJJIRhPY9DIL4CG07Qp/mBNE+ElZisozrsqlm8ZOW92LjgNF/jKOeIxr8KtgmzkVxdPU7SXmNx4= Received: by 83.161.120.155 with SMTP id j1mr15405855waj.119.1207162098540; Wed, 02 Apr 2008 11:48:18 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Wed, 2 Apr 2008 11:48:18 -0700 (PDT) Message-ID: <gavinpatel@example.net> Date: Wed, 2 Apr 2008 19:48:18 +0100 From: "Robert Burrell Donkin" <gavinpatel@example.net> To: "James Developers List" <gavinpatel@example.net> Subject: Re: Creating Phoenix/Spring Deployment of current trunk In-Reply-To: <gavinpatel@example.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <gavinpatel@example.net> <gavinpatel@example.net> <gavinpatel@example.net> X-Virus-Checked: Checked by ClamAV on apache.org On Wed, Apr 2, 2008 at 4:59 PM, Jonas Arnsmann <gavinpatel@example.net> wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Stefano.. > > Thank you for the quick reply ;) > The ANT Script in the root folder is now working like a charm.. > > Sorry for asking such stupid questions here on the devel list! it's not a stupid question if no one has asked it before :-) writing up good documentation is hard and takes time. apache relies on questions asked on lists to build up a public record and the list archives to answer questions. - robert --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Wed Apr 02 19:33:38 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 13827 invoked from network); 2 Apr 2008 19:33:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 19:33:37 -0000 Received: (qmail 72682 invoked by uid 500); 2 Apr 2008 19:33:37 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 72636 invoked by uid 500); 2 Apr 2008 19:33:37 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 72625 invoked by uid 500); 2 Apr 2008 19:33:37 -0000 Received: (qmail 72622 invoked by uid 99); 2 Apr 2008 19:33:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 12:33:37 -0700 X-ASF-Spam-Status: No, hits=-1998.0 required=10.0 tests=ALL_TRUSTED,URIBL_BLACK X-Spam-Check-By: apache.org Received: from [83.161.120.155] (HELO eris.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 19:32:46 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 3BB351A9832; Wed, 2 Apr 2008 12:33:05 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r644013 - in /james/server/trunk: core-library/src/main/java/org/apache/james/core/AbstractJamesService.java phoenix-deployment/src/conf/james-config.xml Date: Wed, 02 Apr 2008 19:33:02 -0000 To: gavinpatel@example.net From: gavinpatel@example.net X-Mailer: svnmailer-1.0.8 Message-Id: <gavinpatel@example.net> X-Virus-Checked: Checked by ClamAV on apache.org Author: rdonkin Date: Wed Apr 2 12:32:54 2008 New Revision: 644013 URL: http://svn.apache.org/viewvc?rev=644013&view=rev Log: Allow JCE providers to be loaded during configuration. Should be able to configure TLS entirely within JAMES by using BouncyCastle plus <provider>. Modified: james/server/trunk/core-library/src/main/java/org/apache/james/core/AbstractJamesService.java james/server/trunk/phoenix-deployment/src/conf/james-config.xml Modified: james/server/trunk/core-library/src/main/java/org/apache/james/core/AbstractJamesService.java URL: http://svn.apache.org/viewvc/james/server/trunk/core-library/src/main/java/org/apache/james/core/AbstractJamesService.java?rev=644013&r1=644012&r2=644013&view=diff ============================================================================== --- james/server/trunk/core-library/src/main/java/org/apache/james/core/AbstractJamesService.java (original) +++ james/server/trunk/core-library/src/main/java/org/apache/james/core/AbstractJamesService.java Wed Apr 2 12:32:54 2008 @@ -38,6 +38,7 @@ import org.apache.avalon.framework.configuration.Configuration; import org.apache.avalon.framework.configuration.ConfigurationException; import org.apache.avalon.framework.container.ContainerUtil; +import org.apache.avalon.framework.logger.Logger; import org.apache.avalon.framework.service.ServiceException; import org.apache.avalon.framework.service.ServiceManager; import org.apache.avalon.framework.service.Serviceable; @@ -52,6 +53,8 @@ import java.net.InetAddress; import java.net.ServerSocket; import java.net.UnknownHostException; +import java.security.Provider; +import java.security.Security; /** * Server which creates connection handlers. All new James service must @@ -212,8 +215,9 @@ */ public void configure(Configuration conf) throws ConfigurationException { enabled = conf.getAttributeAsBoolean("enabled", true); + final Logger logger = getLogger(); if (!enabled) { - getLogger().info(getServiceType() + " disabled by configuration"); + logger.info(getServiceType() + " disabled by configuration"); return; } @@ -249,7 +253,8 @@ // deployments final boolean useTLS = conf.getChild("useTLS").getValueAsBoolean(isDefaultTLSEnabled()); if (useTLS) { - serverSocketType = "ssl"; + serverSocketType = "ssl"; + loadJCEProviders(conf, logger); } } else { serverSocketType = confSocketType; @@ -263,10 +268,10 @@ .append(getServiceType()) .append(" uses thread group: ") .append(threadGroup); - getLogger().info(infoBuffer.toString()); + logger.info(infoBuffer.toString()); } else { - getLogger().info(getServiceType() + " uses default thread group."); + logger.info(getServiceType() + " uses default thread group."); } try { @@ -278,7 +283,7 @@ .append(getServiceType()) .append(" bound to: ") .append(bindTo); - getLogger().info(infoBuffer.toString()); + logger.info(infoBuffer.toString()); } } catch( final UnknownHostException unhe ) { @@ -294,7 +299,7 @@ .append(getServiceType()) .append(" handler connection timeout is: ") .append(timeout); - getLogger().info(infoBuffer.toString()); + logger.info(infoBuffer.toString()); backlog = conf.getChild(BACKLOG_NAME).getValueAsInteger(DEFAULT_BACKLOG); @@ -303,17 +308,17 @@ .append(getServiceType()) .append(" connection backlog is: ") .append(backlog); - getLogger().info(infoBuffer.toString()); + logger.info(infoBuffer.toString()); String connectionLimitString = conf.getChild("connectionLimit").getValue(null); if (connectionLimitString != null) { try { connectionLimit = new Integer(connectionLimitString); } catch (NumberFormatException nfe) { - getLogger().error("Connection limit value is not properly formatted.", nfe); + logger.error("Connection limit value is not properly formatted.", nfe); } if (connectionLimit.intValue() < 0) { - getLogger().error("Connection limit value cannot be less than zero."); + logger.error("Connection limit value cannot be less than zero."); throw new ConfigurationException("Connection limit value cannot be less than zero."); } } else { @@ -324,7 +329,7 @@ .append(" will allow a maximum of ") .append(connectionLimit.intValue()) .append(" connections."); - getLogger().info(infoBuffer.toString()); + logger.info(infoBuffer.toString()); String connectionLimitPerIP = conf.getChild("connectionLimitPerIP").getValue(null); if (connectionLimitPerIP != null) { @@ -332,10 +337,10 @@ connPerIP = new Integer(connectionLimitPerIP).intValue(); connPerIPConfigured = true; } catch (NumberFormatException nfe) { - getLogger().error("Connection limit per IP value is not properly formatted.", nfe); + logger.error("Connection limit per IP value is not properly formatted.", nfe); } if (connPerIP < 0) { - getLogger().error("Connection limit per IP value cannot be less than zero."); + logger.error("Connection limit per IP value cannot be less than zero."); throw new ConfigurationException("Connection limit value cannot be less than zero."); } } else { @@ -346,8 +351,41 @@ .append(" will allow a maximum of ") .append(connPerIP) .append(" per IP connections for " +getServiceType()); - getLogger().info(infoBuffer.toString()); + logger.info(infoBuffer.toString()); + } + + private void loadJCEProviders(Configuration conf, final Logger logger) throws ConfigurationException { + final Configuration [] providerConfiguration = conf.getChildren("provider"); + for (int i = 0; i < providerConfiguration.length; i++) { + final String providerName = providerConfiguration[i].getValue(); + loadProvider(logger, providerName); + } + } + + private void loadProvider(final Logger logger, final String providerName) { + if (providerName == null) { + logger.warn("Failed to specify provider. Continuing but JCE provider will not be loaded"); + } else { + try { + logger.debug("Trying to load JCE provider '" + providerName + "'"); + Security.addProvider((Provider) Class.forName(providerName).newInstance()); + logger.info("Load JCE provider '" + providerName + "'"); + } catch (IllegalAccessException e) { + logJCELoadFailure(logger, providerName, e); + } catch (InstantiationException e) { + logJCELoadFailure(logger, providerName, e); + } catch (ClassNotFoundException e) { + logJCELoadFailure(logger, providerName, e); + } catch (RuntimeException e) { + logJCELoadFailure(logger, providerName, e); + } + } + } + + private void logJCELoadFailure(final Logger logger, final String providerName, Exception e) { + logger.warn("Cannot load JCE provider" + providerName); + logger.debug(e.getMessage(), e); } protected void setStreamDumpDir(String streamdumpDir) { Modified: james/server/trunk/phoenix-deployment/src/conf/james-config.xml URL: http://svn.apache.org/viewvc/james/server/trunk/phoenix-deployment/src/conf/james-config.xml?rev=644013&r1=644012&r2=644013&view=diff ============================================================================== --- james/server/trunk/phoenix-deployment/src/conf/james-config.xml (original) +++ james/server/trunk/phoenix-deployment/src/conf/james-config.xml Wed Apr 2 12:32:54 2008 @@ -188,7 +188,16 @@ </imap-connections> <imapserver enabled="true"> - <!-- port 993 is the well-known/IANA registered port for IMAPs ie over SSL/TLS --> + <!-- port 993 is the well-known/IANA registered port for IMAPs ie over SSL/TLS + <port>993</port> + <useTLS>true</useTLS> + <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider> + <handler> + <connectiontimeout>1800000</connectiontimeout> + <streamdump enabled="true" directory="../apps/james/streamdump" /> + </handler> + + --> <!-- port 143 is the well-known/IANA registered port for Standard IMAP4 --> <port>10143</port> <handler> @@ -968,6 +977,10 @@ <!-- <useTLS>true</useTLS> --> + <!-- Uncomment this if you want to use BouncyCastle's JCE provider with TLS--> + <!-- + <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider> + --> <handler> <!-- This is the name used by the server to identify itself in the POP3 --> @@ -998,6 +1011,10 @@ <!-- Uncomment this if you want to use TLS (SSL) on this port --> <!-- <useTLS>true</useTLS> + --> + <!-- Uncomment this if you want to use BouncyCastle's JCE provider with TLS --> + <!-- + <provider>org.bouncycastle.jce.provider.BouncyCastleProvider</provider> --> <handler> --------------------------------------------------------------------- To unsubscribe, e-mail: gavinpatel@example.net For additional commands, e-mail: gavinpatel@example.net From server-devgavinpatel@example.net Wed Apr 02 22:51:21 2008 Return-Path: <server-devgavinpatel@example.net> Delivered-To: gavinpatel@example.net Received: (qmail 28711 invoked from network); 2 Apr 2008 22:51:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (83.161.120.155) by minotaur.apache.org with SMTP; 2 Apr 2008 22:51:21 -0000 Received: (qmail 42505 invoked by uid 500); 2 Apr 2008 22:51:21 -0000 Delivered-To: gavinpatel@example.net Received: (qmail 42276 invoked by uid 500); 2 Apr 2008 22:51:21 -0000 Mailing-List: contact gavinpatel@example.net; run by ezmlm Precedence: bulk List-Unsubscribe: <mailto:gavinpatel@example.net> List-Help: <mailto:gavinpatel@example.net> List-Post: <mailto:gavinpatel@example.net> List-Id: "James Developers List" <server-dev.james.apache.org> Reply-To: "James Developers List" <gavinpatel@example.net> Delivered-To: mailing list gavinpatel@example.net Received: (qmail 42265 invoked by uid 99); 2 Apr 2008 22:51:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 15:51:20 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gavinpatel@example.net designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO wr-out-0506.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Apr 2008 22:50:40 +0000 Received: by wr-out-0506.google.com with SMTP id c49so2033806wra.19 for <gavinpatel@example.net>; Wed, 02 Apr 2008 15:50:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=4ZKZ7v0PihsktR5FdQ98BrEU3V4PMEmvfGqRpI3zQbI=; b=ThCUfR2pu+0/HkKYwlnWs93bnJh0aGVgVv80Sf8VrgOKDbxn3jwXAAcWJfV4kKldkVZJ7ZgZ91B30RjcO2eEqwtqz3VsK42obe5fFNxVQGf3r9fM7CCa5/DhrPgTKac12d7W4Gt5d6XTixTRMeJmjvG7cwRg6ag4pDISG+Wvymo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=j7WbZ1IjFvzPATcDfx5fwseFi/n3WfVIqdlSica3a5RsxbNCI8uPwN58uCep5McPFXGUpSWgYR07YzUfYobwrTpbT53vD24+1uuvHDsq9OMQeCQDBlREySBzbX2dgGm+3utlyH+qjI2bzX+amN93NQBAzh37K6moBxfWN9AR/CA=
{'source': 'Apache Software Foundation Public Mail Archives'}