On Thu, Aug 27, 2015 at 12:31:53PM -0700, Martin Carpella wrote:<br>
>    Issue is caused by utime_from_header = yes for the local repository and<br>
>    a SPAM message that is quite far in the future, exceeding int32 as<br>
>    timestamp.<br>
> <br>
>    The message's date header is:<br>
> Date: Thu, 03 Sep 3610 21:32:03 +0300<br>
> <br>
>    Maybe a check should be added if the date is that far in the future and<br>
>    set to native C's long max-value (depending if i386 or amd64).<br>
<br>
Aargh. This should be a rare case. I think it would be better to just<br>
discard the offending mail and notice the user. Playing with data type<br>
is annoying, code intrusive and prone to errors.<br>
<br>
Patches welcome.<br>
<br>
>    —<br>
>    Reply to this email directly or [1]view it on GitHub.<br>
> <br>
> References<br>
> <br>
>    1. https://github.com/OfflineIMAP/offlineimap/issues/231#issuecomment-135530756<br>
<br>
-- <br>
Nicolas Sebrecht<br>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OfflineIMAP/offlineimap/issues/231#issuecomment-135551349">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AKFSEIXzHBsvjmIR5JU4b_n9l2GLyTwhks5or28lgaJpZM4FzkWX.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OfflineIMAP/offlineimap/issues/231#issuecomment-135551349"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>