<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body><div>I think some of the confusion comes from the fact that the setting name -- "archive max size" -- very strongly implies (incorrectly) something like "the largest size of message that will be archived" / "messages larger than this will not be archived at all".  It takes a fair bit of attentive reading to overcome that initial implication and reach the correct understanding, that "messages larger than this will be archived immediately, without waiting for archive_days".<br></div>
<div><br></div>
<div>But I haven't thought  of a better name for this setting either.<br></div>
<div><br></div>
<div>On Fri, Oct 14, 2016, at 09:11 AM, Carlos Velasco via Cyrus-devel wrote:<br></div>
<blockquote type="cite"><div>Bron,<br></div>
<div> <br></div>
<div> IMHO, it makes sense when you know how it works, or when you develop
    the sentence, but the part "won't be archived immediately" is
    confusing. Sorry I am not native english and this could count, I got
    confused about the text that's because I had to look into code.<br></div>
<div> <br></div>
<div> Mmm... I have used right now the (infamous) google translator to
    check if I am wrong, and translation to spanish (my native) is:<br></div>
<div> "El tamaño en kilobytes del mensaje más grande que no será archivada
    de inmediato"<br></div>
<div> Believe me... it is backwards :(<br></div>
<div> <br></div>
<div> What about something like this instead?<br></div>
<div> The size, if greater or equal, in kilobytes of the message that will
    be archived immediately regardless of archive_days setting. Default
    is 1Mb<br></div>
<div> <br></div>
<div> Regards,<br></div>
<div> Carlos Velasco<br></div>
<div> <br></div>
<div> <br></div>
<div><div>-------- Original Message --------<br></div>
<div> Subject: Re: [Cyrus Imap 3.0] Doc wrong archive_maxsize<br></div>
<div> From: Bron Gondwana via Cyrus-devel <a href="mailto:cyrus-devel@lists.andrew.cmu.edu"><cyrus-devel@lists.andrew.cmu.edu></a><br></div>
<div> To: <a href="mailto:cyrus-devel@lists.andrew.cmu.edu">cyrus-devel@lists.andrew.cmu.edu</a><br></div>
<div> Date: 13/10/2016 23:50:11<br></div>
</div>
<blockquote type="cite" cite="mid:1476395411.459762.755343033.00C9DA8A@webmail.messagingengine.com" style="padding-top:0px;padding-right:15px;padding-bottom:0px;padding-left:15px;margin-top:8px;margin-right:2px;margin-bottom:8px;margin-left:2px;border-left-width:2px !important;border-left-style:solid !important;border-left-color:rgb(0, 153, 0) !important;border-right-width:2px !important;border-right-style:solid !important;border-right-color:rgb(0, 153, 0) !important;"><div style="font-family:Arial;">How is that backwards? (apart from
        the >= rather than > maybe)  If it's bigger than that,
        then return 1 (archive now), otherwise don't.<br></div>
<div><br></div>
<div><br></div>
<div>On Fri, 14 Oct 2016, at 04:56, Carlos Velasco via Cyrus-devel
        wrote:<br></div>
<blockquote type="cite" style="padding-top:0px;padding-right:15px;padding-bottom:0px;padding-left:15px;margin-top:8px;margin-right:2px;margin-bottom:8px;margin-left:2px;border-left-width:2px !important;border-left-style:solid !important;border-left-color:rgb(0, 153, 0) !important;border-right-width:2px !important;border-right-style:solid !important;border-right-color:rgb(0, 153, 0) !important;"><div style="font-family:Arial;">Hi,<br></div>
<div style="font-family:Arial;"><br></div>
<div style="font-family:Arial;">I was testing latest beta of
          3.0 and see this new setting:<br></div>
<div style="font-family:Arial;"><br></div>
<div style="font-family:Arial;">===<br></div>
<div style="font-family:Arial;">archive_maxsize: 1024<br></div>
<div style="font-family:Arial;"><br></div>
<div style="font-family:Arial;">    The size in kilobytes of
          the largest message that *won’t* be archived immediately.
          Default is 1Mb<br></div>
<div style="font-family:Arial;">===<br></div>
<div style="font-family:Arial;"><br></div>
<div style="font-family:Arial;">Looking into code this is
          backwards:<br></div>
<div style="font-family:Arial;"><br></div>
<div style="font-family:Arial;">imap/mailbox.c<br></div>
<div style="font-family:Arial;">    /* always archive big
          messages */<br></div>
<div style="font-family:Arial;">    if (record->size >=
          maxsize)<br></div>
<div style="font-family:Arial;">        return 1;<br></div>
<div style="font-family:Arial;"><br></div>
</blockquote></blockquote></blockquote><div><br></div>
</body>
</html>