From server-dev-return-38622-apmail-james-server-dev-archive=james.apache.org@james.apache.org Wed Jul 07 05:12:36 2010 Return-Path: Delivered-To: apmail-james-server-dev-archive@www.apache.org Received: (qmail 55877 invoked from network); 7 Jul 2010 05:12:35 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 7 Jul 2010 05:12:35 -0000 Received: (qmail 77167 invoked by uid 500); 7 Jul 2010 05:12:35 -0000 Delivered-To: apmail-james-server-dev-archive@james.apache.org Received: (qmail 76953 invoked by uid 500); 7 Jul 2010 05:12:32 -0000 Mailing-List: contact server-dev-help@james.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "James Developers List" Reply-To: "James Developers List" Delivered-To: mailing list server-dev@james.apache.org Received: (qmail 76938 invoked by uid 99); 7 Jul 2010 05:12:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 05:12:31 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of norman.maurer@googlemail.com designates 74.125.82.177 as permitted sender) Received: from [74.125.82.177] (HELO mail-wy0-f177.google.com) (74.125.82.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Jul 2010 05:12:24 +0000 Received: by wyb32 with SMTP id 32so3369862wyb.22 for ; Tue, 06 Jul 2010 22:12:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Kdb4qf5gkyLCZSiTYI1xWgh5jkJn/t6au7BrZ7VGVes=; b=mYWhsC9Aa867QjrwRxz1W4tTK1IWujDRfW5j5MGn1tZxhdt+2m21W/ptawmm0iHWPs L5n5yfGrxdkXMLp0uDMU7Vr828OBNXz+MnjKk1heoxHT1W9zwiUyGeBamiUdWWRiR34O u69gMvwYajwaM6xCFltOuDuVAxuDZ9X7T+el8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; b=Vj2KccNEGo40XgD6Zc49io37kPgODUMGUlsZgFzmKYj6ECOm7HMeIY8QcXQB6tP+uj MilsILdUv8EjT2KCojAQVhmOL78Vh5m21EXwan3X+9Adz3F6aDFE/nSoSob4tWOymayR yoZQvBxPmr015uctNep1lpqoDqTtKTmBiIaio= MIME-Version: 1.0 Received: by 10.227.147.206 with SMTP id m14mr4401261wbv.130.1278479524119; Tue, 06 Jul 2010 22:12:04 -0700 (PDT) Sender: norman.maurer@googlemail.com Received: by 10.216.73.77 with HTTP; Tue, 6 Jul 2010 22:12:04 -0700 (PDT) Date: Wed, 7 Jul 2010 07:12:04 +0200 X-Google-Sender-Auth: SPSIGou0MLBPXU7FmHuladFYXDg Message-ID: Subject: [IMAP Maildir] Using absolute path as Key of Mailbox From: Norman Maurer To: Tim-Christian Mundt Cc: James Developers List Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org Hi Tim, yesterday while playing with cassandra (to build a cassandra backend for imap) I noticed some problem with your current implementation of the mailbox key. You use the absolute path to the mailbox folder as key. This works fine as long as you don't rename the mailbox. If you rename the mailbox the path will change and so the key too.. But the key should not change during the lifetime of the mailbox, because if it would change you would need to update all key relations to it. So you will need to generate the id a differently... Bye, Norman --------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org For additional commands, e-mail: server-dev-help@james.apache.org