Found some notes. It seems we thought this was a Solaris problem at the time, but you have proven this to be wrong. Perhaps the bug is in the Perl libraries. In any case, since this affected so few messages, we fixed this using the following addition (in Perl) to our migration scripts:
Quote:
$d = $f_idate;
$debug and print "internal date from 1: [$d]\n";
# this is a horrible TERRIBLE workaround for dovecot/solaris9/mbox
# returning +4000 as the tz offset for dates near a year boundary
# like dec31 and jan1. don't do this. this really is terrible.
# it may make some internaldates wrong by 1hr or something.
#
if ($d =~ /\+4000$/) {
$d =~ s/\+4000$/\-0700/;
$debug and print "internal date from 1: [$d] FIXED solaris9 bug\n";
}
require Date::Manip;
Date::Manip->import(qw(ParseDate Date_Cmp UnixDate));
|
Hope this helps. Feel free to reach out with additional questions, I try to help the community as much as I can.