On Tue, 2014-06-10 at 02:03 +0200, Karsten Bräckelmann wrote: > On Mon, 2014-06-09 at 09:23 +0200, Matus UHLAR - fantomas wrote:
> > can that by any chance fix problem with Date: in mail received by SSL ? > > That one behaves similarly... > > > > http://mail-archives.apache.org/mod_mbox/spamassassin-users/201401.mbox/<20140131144406.GA28818%40fantomas.sk> > > No, these are unrelated. The code change mentioned above affects > Templates Tags only. [...] Moreover, that sample shows SA 3.3.2. The bad Date Template Tag is strictly 3.4 and trunk. I've run the headers (after manually fixing that horribly mis-formatted paste) through a 3.3 test environment and could not reproduce DATE_IN_FUTURE rules firing. We will need a proper sample. Since the check_for_shifted_date() eval works with the actual Date and Received headers, I suspect the glue to result in that rule's misfiring. -- char *t="\10pse\0r\0dtu\0.@ghno\x4e\xc8\x79\xf4\xab\x51\x8a\x10\xf4\xf4\xc4"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i<l;i++){ i%8? c<<=1: (c=*++x); c&128 && (s+=h); if (!(h>>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}}