From owner-freebsd-isp@FreeBSD.ORG Wed Jul 19 06:25:13 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2094116A4DA for ; Wed, 19 Jul 2006 06:25:13 +0000 (UTC) (envelope-from sean@gothic.net.au) Received: from visi.gothic.net.au (visi.gothic.net.au [203.206.208.82]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9181543D45 for ; Wed, 19 Jul 2006 06:25:12 +0000 (GMT) (envelope-from sean@gothic.net.au) Received: from localhost (localhost [127.0.0.1]) by visi.gothic.net.au (Postfix) with ESMTP id D76AC26A2E; Wed, 19 Jul 2006 16:25:09 +1000 (EST) X-Virus-Scanned: amavisd-new at gothic.net.au Received: from localhost ([127.0.0.1]) by localhost (visi.gothic.net.au [127.0.0.1]) (amavisd-new, port 10026) with SMTP id 3Pd2gkm93n-4; Wed, 19 Jul 2006 16:25:05 +1000 (EST) Received: from [10.99.34.33] (not.gothic.net.au [203.206.208.86]) by visi.gothic.net.au (Postfix) with ESMTP id 149E2264C0; Wed, 19 Jul 2006 16:25:05 +1000 (EST) In-Reply-To: <20060718235817.H45271@orthanc.ca> References: <20060718113009.L43660@orthanc.ca> <44BDC415.6050502@bitfreak.org> <20060718235817.H45271@orthanc.ca> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <42F40A06-5F66-4238-A6C0-F46FA9C0106D@gothic.net.au> Content-Transfer-Encoding: 7bit From: Sean Winn Date: Wed, 19 Jul 2006 16:25:03 +1000 To: Lyndon Nerenberg X-Mailer: Apple Mail (2.752.2) Cc: freebsd-isp@freebsd.org, Darren Pilgrim , "David J. Orman" Subject: Re: Fix dates via IMAP on messages X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jul 2006 06:25:13 -0000 It is far from trivial; there's a huge variety of just completely weird/ambiguous date formats placed in Date:, usually by spamware (time zone non-existent or invalid? times that don't even exist due to DST? 01/02/2005 - is that Feb 1 or Jan 2? Guess by time zone ... or is 'EST' US or AU EST?). It'd be great if they were the only source - tag them at epoch, and they all get sorted out of the way. Unfortunately, there's a bunch of broken mail servers/clients out there just as bad, from people who've never read the RFCs. Trusting the Received header placed by your own mail server is usually a better idea - it's at least consistent, and matches what should be the time stamp on the maildir files rather than some clients idea of time. I wish I'd thought of it during migration to courier I had to do. On 19/07/2006, at 4:01 PM, Lyndon Nerenberg wrote: >> It's far from trivial using the Date header. > > Oh bugger off. Rick Adams' getdate.y can handle pretty much > anything you throw at it. Face it: it dealt with all the crap > bnews threw at it for close to two decades. > > --lyndon > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" >