Hi Ilja,
> >dbmail should be case sensitive I think, because the most wide spread
> >imap servers like Cyrus are.
>
> I agree, but I think we should wait until after the release of 2.0 to
> change this.
That's an important feature to be able to transfer from another imap
server to dbmail so it's quite important I think?
I've checked the sources. There is only place to change concerning
database access, it's attached. With that patch I can create mailboxes
INBOX/Spam and INBOX/spam, I can rename Spam to spam I can select and
use both mailboxes, copy mails to the boxes and I can delete the
mailboxes.
Everything seems to be fine, but can it be that simple?
Thomas
--
http://www.tmueller.com for pgp key (95702B3B)
--- db.c.orig 2004-04-27 07:16:49.000000000 +0000
+++ db.c 2004-05-10 14:18:17.000000000 +0000
@@ -2113,11 +2113,10 @@
assert(mailbox_idnr != NULL);
*mailbox_idnr = 0;
- /* if we check the INBOX, we need to be case insensitive */
if (strncasecmp(name, "INBOX", 5) == 0) {
snprintf(query, DEF_QUERYSIZE,
"SELECT mailbox_idnr FROM mailboxes "
- "WHERE LOWER(name) = LOWER('%s') "
+ "WHERE name = '%s' "
"AND owner_idnr='%llu'", name, owner_idnr);
} else {
snprintf(query, DEF_QUERYSIZE,