15 Mar
2005
15 Mar
'05
11:19 a.m.
Looks like it's a bug in utc_mktime() function which is based on code from Cyrus.. And looks like they've since figured out a way to fix it:
/* Some gmtime() implementations are broken and will return
* NULL for time_ts larger than 40 bits even on 64-bit platforms
* so we'll just cap it at 40 bits */
if(bits > 40) bits = 40;
I'll implement a similar fix. If you change TIME_T_MAX_BITS in config.h to 40 it should work?
I downloaded and compiled dovecot-1.0-stable 15-03-2005 and the fix works :-)
Thanks Timo!
Remy