[milters] Archive

Lists Index Date Thread Search

Article: 69
From: Anthony Howe
Date: 2009-08-27 02:13:31 -0400
Subject: Re: milter-date ignores -strict-date-syntax

Todd Lyons uttered...:
> -	if (convertDate(date, (time_t *) timestamp, NULL)) {
> +	if (optStrictDateSyntax.value && convertDate(date, (time_t *)
> timestamp, NULL)) {

This fix will NOT work. It will completely NEGATES milter-date, turning
the milter into a no-op. convertDate() parses the dates and your change
effectively disables any date parsing.

strict-date-syntax option should have been removed with the switch to
using covertDate() from libsnert since there is no equivalent in

Anthony C Howe            Skype: SirWumpus                  SnertSoft
+33 6 11 89 73 78       Twitter: SirWumpus      BarricadeMX & Milters
http://snert.com/      http://nanozen.info/     http://snertsoft.com/

Lists Index Date Thread Search