You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "corpus.defero" <co...@idnet.com> on 2012/04/10 16:11:20 UTC
Invalid Date: header (not RFC 2822)
Good afternoon,
I have this hit:
0.4 INVALID_DATE Invalid Date: header (not RFC 2822)
Catching on:
Date: Tue, 10 Apr 12 11:36:40 +0200
Which in turn is produced by this line off PHP code:
$headers .= "Date: ".date(DATE_RFC822)."\n";
Unless I've gone made, the issue is the year being 2 digits, is that
correct?
Re: Invalid Date: header (not RFC 2822)
Posted by "corpus.defero" <co...@idnet.com>.
On Tue, 2012-04-10 at 15:11 +0100, corpus.defero wrote:
> Good afternoon,
>
> I have this hit:
> 0.4 INVALID_DATE Invalid Date: header (not RFC 2822)
>
> Catching on:
> Date: Tue, 10 Apr 12 11:36:40 +0200
>
> Which in turn is produced by this line off PHP code:
> $headers .= "Date: ".date(DATE_RFC822)."\n";
>
> Unless I've gone made, the issue is the year being 2 digits, is that
> correct?
>
Ignore me.
$headers .= "Date: ".date(DATE_RFC822)."\n";
!=
$headers .= "Date: ".date(DATE_RFC2822)."\n";
Derrrrrrr, what's the matter with me......