On Mon, 29 Nov 2010 15:49:17 +0100 Matus UHLAR - fantomas <uh...@fantomas.sk> wrote:
> On 29.11.10 15:39, Michael Menge wrote: > > we recieve some e-Mails triggering the DATE_IN_FUTURE rules > > where i don't understand why the date is in future. > > > > Could you help me to understand what i miss, or help to > > solve the bug if it is a bug?. > > > > We use sendmail 8.13.6, spamass-milter 0.3.1 and spamassassin 3.3.1 > > sendmail tends to rewrite invalid Date: headers after receiving mail > and after milters are done, which results in spamassassin called from > milter seeing different time than spamassassin called from e.g. > procmail. > I don't know if it's significant, but all four quoted emails have one thing in common - they lack any usable received header before the one added by the MX server running the milter. Two appear to be direct to mx. The other two have a single external received header that will be ignored (the timestamp from the first received header is discarded if it's equal to the time in the date header).