From mime4j-dev-return-1739-apmail-james-mime4j-dev-archive=james.apache.org@james.apache.org Fri Nov 18 12:25:34 2011 Return-Path: X-Original-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Delivered-To: apmail-james-mime4j-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2327B9CD5 for ; Fri, 18 Nov 2011 12:25:34 +0000 (UTC) Received: (qmail 40224 invoked by uid 500); 18 Nov 2011 12:25:34 -0000 Delivered-To: apmail-james-mime4j-dev-archive@james.apache.org Received: (qmail 40197 invoked by uid 500); 18 Nov 2011 12:25:34 -0000 Mailing-List: contact mime4j-dev-help@james.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mime4j-dev@james.apache.org Delivered-To: mailing list mime4j-dev@james.apache.org Received: (qmail 40189 invoked by uid 99); 18 Nov 2011 12:25:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2011 12:25:34 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [92.42.190.144] (HELO ok2cons2.nine.ch) (92.42.190.144) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Nov 2011 12:25:27 +0000 Received: by ok2cons2.nine.ch (Postfix, from userid 1000) id C1B79245E4CB; Fri, 18 Nov 2011 13:25:06 +0100 (CET) Date: Fri, 18 Nov 2011 13:25:06 +0100 From: Oleg Kalnichevski To: mime4j-dev@james.apache.org Subject: Re: bugs in email address parser and date parser Message-ID: <20111118122506.GA1340@ok2cons2.nine.ch> References: <20111118134402.0e268938@webceo.ks.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20111118134402.0e268938@webceo.ks.ua> User-Agent: Mutt/1.5.18 (2008-05-17) On Fri, Nov 18, 2011 at 01:44:02PM +0200, Andrey Kolomoets wrote: > Hello. > > I'm not really sure where to send bug reports to, so correct me if this > is a wrong place. > > 1. > Exception while parsing address like @somehost.com@somehost.com. It > was a spam message and i can't find it now, but it can be reproduced > by placing '@' in the beggining of address. > > 2. > Wrong parce date "Fri, 11 Nov 2011 12:59:59 +0200". > Symbols "hh" in DEFAULT_DATE_FORMAT should be replaced with "HH" in > org.apache.james.mime4j.field.DateTimeFieldLenientImpl.java. > > -- > Andrey Kolomoets > mailto:andrey.kolomoets@webceo.ks.ua > Andrey Please raise a ticket for these defects in JIRA [1] and ideally provide message sample(s) or unit test(s) that can be used to reproduce the issue. Oleg [1] https://issues.apache.org/jira/browse/MIME4J