PDA

View Full Version : Invalid Date (not RFC 2822)


pi314159
04-16-2006, 02:50 PM
When receiving Email to our servers, any Email sent from a Blackberry gets flagged with:

pts rule name description
1.7 INVALID_DATE Invalid Date: header (not RFC 2822)
0.3 RCVD_BY_IP Received by mail server with no name
1.0 MY_TEST_PLUGIN MY_TEST_PLUGIN

by Spam Assassin.

In addition, the webmail system Horde can not decode the date sent by the Blackberry, specifically the php function strtotime.

The problem tracked back to the GMT sent within the date field:

Apr 2006 18:57:50 -0000 GMT

If the GMT were to be sent in brackets, like (GMT) or

Apr 2006 18:57:50 -0000 (GMT) or even sent without the GMT, the Email gets processed fine.

Has anyone else noticed this problem?
Has anyone run across a fix to this problem?

Thanks