[Cyrus Imap 3.0] Doc wrong archive_maxsize

Carlos Velasco carlos.velasco at nimastelecom.com
Thu Oct 13 18:11:10 EDT 2016


Bron,

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.

Mmm... I have used right now the (infamous) google translator to check if I am wrong, and translation to spanish (my native) is:
"El tamaño en kilobytes del mensaje más grande que no será archivada de inmediato"
Believe me... it is backwards :(

What about something like this instead?
The size, if greater or equal, in kilobytes of the message that will be archived immediately regardless of archive_days setting. Default is 1Mb

Regards,
Carlos Velasco

-------- Original Message --------
Subject: Re: [Cyrus Imap 3.0] Doc wrong archive_maxsize
From: Bron Gondwana via Cyrus-devel <cyrus-devel at lists.andrew.cmu.edu>
To: cyrus-devel at lists.andrew.cmu.edu
Date: 13/10/2016 23:50:11
> 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;
>>
>>

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


More information about the Cyrus-devel mailing list