From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.52.187.5 with SMTP id fo5cs178810vdc; Tue, 10 May 2011 11:51:17 -0700 (PDT) Received: by 10.52.179.67 with SMTP id de3mr3497410vdc.153.1305053477237; Tue, 10 May 2011 11:51:17 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id w30si6169057vcr.13.2011.05.10.11.51.16; Tue, 10 May 2011 11:51:17 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-devel-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-devel-bounces@rubyforge.org; dkim=neutral (body hash did not verify) header.i=@gmail.com Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id CC9C215B802C; Tue, 10 May 2011 14:51:16 -0400 (EDT) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by rubyforge.org (Postfix) with ESMTP id F31BF15B802C for ; Tue, 10 May 2011 14:47:23 -0400 (EDT) Received: by wwd20 with SMTP id 20so6515836wwd.23 for ; Tue, 10 May 2011 11:47:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:content-type:subject:from:to:in-reply-to :references:date:message-id:user-agent:content-transfer-encoding; bh=WK/dMY4X/N6rFviowKIE+oiIKx6iUEphFgDtOkOjKAY=; b=w1YKgii3m2c69QxOpQNQ3jSkmLNFNgV4DWH3sxN9pGwS7Y2h2Qs2J4QpORsZVsokhY n0reyjEVPrlJnfhXiUHjHDsSc/tOCtq9+USR3WGfUlnHxyez8jy9+XA6f2/zau30djGZ Y97SQgPebdh4EW0Jp7NiOtlJ4nP6LND44vKMU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:subject:from:to:in-reply-to:references:date:message-id :user-agent:content-transfer-encoding; b=aean/DjY2kgxvnfe6HXo2zIJfZv6d01uTdt2XnwV2ziQrVIoLIyjIcWH3Q1szoHskA nFpnwKxCZ8D5MFrv+A7PCNu74uPE1V22WRvP0zUw4MD8Eux4M3RrZmfv+jwHgJ02YFsa H9SPPf6GUohbdGAUEw16HxhEfYmABrMkSA5Bg= Received: by 10.227.201.203 with SMTP id fb11mr8624308wbb.1.1305053243137; Tue, 10 May 2011 11:47:23 -0700 (PDT) Received: from localhost (cpc12-cmbg15-2-0-cust81.5-4.cable.virginmedia.com [86.30.247.82]) by mx.google.com with ESMTPS id s20sm433746wbh.6.2011.05.10.11.47.20 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 10 May 2011 11:47:21 -0700 (PDT) From: Hamish To: sup-devel In-reply-to: <1305049400-sup-4316@masanjin.net> References: <1304373710-sup-1383@whisper> <1305049400-sup-4316@masanjin.net> Date: Tue, 10 May 2011 19:47:10 +0100 Message-Id: <1305053133-sup-4055@whisper> User-Agent: Sup/git Subject: Re: [sup-devel] [PATCH] Fix problem with time parsing X-BeenThere: sup-devel@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Sup developer discussion List-Id: Sup developer discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-devel-bounces@rubyforge.org Errors-To: sup-devel-bounces@rubyforge.org Excerpts from William Morgan's message of Tue May 10 18:45:23 +0100 2011: > Reformatted excerpts from Hamish's message of 2011-05-02: > > If a message has a date with month first and day second, then if the > > day is greater than 12, heliotrope crashes. This patch catches the > > error, and tries again after swapping the day and month. > > Is this a legitimate email message? Producing rfc2822-compliant date > headers is one of the few things that everyone seems capable of doing > besides spambots. I'm tempted to take the Sup approach of forging a date > header, or giving up on the email, if it's unparseable. Sadly it was not spam, but an email from staples (UK) about some stuff I bought from then online. So sup should not barf on it, but forging a date header would be fine by me. Though "now" might be better than date zero, which I think is what sup normally does otherwise ... Hamish _______________________________________________ Sup-devel mailing list Sup-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-devel