On 25.7.2013, at 19.43, Timo Sirainen <t...@iki.fi> wrote:

> On 25.7.2013, at 19.29, /dev/rob0 <r...@gmx.co.uk> wrote:
> 
>> We're using sieve with LMTP. We want to have lda_mailbox_autocreate 
>> and lmtp_save_to_detail_mailbox. Is there a way to make the "detail" 
>> case-insensitive? If so I have not found it yet.
>> 
>> I suppose we could lowercase the input string for the SQL userdb 
>> query, but that's not what is wanted. The idea being that if a user 
>> makes a mailbox called "Test" is that user+t...@example.com and 
>> user+t...@example.com should both go to that "Test" mailbox. If it 
>> was lowercased, a mailbox called "Test" would be ignored and "test" 
>> used.
>> 
>> With autocreate, this could be a problem if mail is delivered to 
>> autocreated case-sensitive mailboxes that the user won't see.
> 
> If you used case-insensitive filesystem, it would already work like that. 
> Maybe a new setting to make mailboxes case-insensitive also with 
> case-sensitive filesystems..

Oh, except then you get into trouble with non-ASCII characters. Which unicode 
chars should be equal? Maybe i;unicode-casemap would work well enough, since 
it's also used for other purposes.

Reply via email to