[Cyrus Imap 3.0] Doc wrong archive_maxsize

Bron Gondwana brong at fastmail.fm
Thu Oct 13 17:50:11 EDT 2016


How is that backwards? (apart from the >= rather than > maybe)  If it's
bigger than that, then return 1 (archive now), otherwise don't.


On Fri, 14 Oct 2016, at 04:56, Carlos Velasco via Cyrus-devel wrote:
> Hi,
>
>  I was testing latest beta of 3.0 and see this new setting:
>
>  ===
>  archive_maxsize: 1024
>
>      The size in kilobytes of the largest message that *won’t* be
>      archived immediately. Default is 1Mb
>  ===
>
>  Looking into code this is backwards:
>
>  imap/mailbox.c
>      /* always archive big messages */
>      if (record->size >= maxsize)
>          return 1;
>
>  Regards,
>  Carlos Velasco
>

--
  Bron Gondwana
  brong at fastmail.fm

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.andrew.cmu.edu/pipermail/cyrus-devel/attachments/20161014/3c0cdd2e/attachment.html>


More information about the Cyrus-devel mailing list