[PATCH][CVS IMAPd 2.1] lmtp_downcase_rcpt implementation (2)

John Alton Tamplin jtampli at sph.emory.edu
Mon Jan 13 16:48:49 EST 2003


Lawrence Greenfield wrote:

>   Date: Mon, 13 Jan 2003 16:31:15 -0500
>   From: John Alton Tamplin <jtampli at sph.emory.edu>
>
>   Lawrence Greenfield wrote:
>
>   >I'm kinda unhappy about the limited scope of the patch. It makes
>   >usernames case-insensitive during delivery, but they're case-sensitive
>   >everywhere else. I'm not sure this is a great idea.
>   >
>   >Maybe a global switch of case-sensitive mailbox names would make more
>   >sense (thus LeG+detail -> user.leg.Detail, and "LEG" could log
>   >in). I'm not sure, though.
>   >  
>   >
>   I made that suggestion, and the only response at the time was negative.
>
>I'm very fickle.
>I think also a global case-sensitivity switch is considerably hard
>than the patch Henrique proposed, but somehow I feel that the patch
>Henrique proposed better belongs in the MTA.
>
>I dunno. Maybe we should just commit it, solve this problem, and go on
>with life.
>  
>
There seem to be 3 places that have to be dealt with:
 1) login
 2) message delivery
 3) mailbox names

It seems like 1 is very localized and a trivial change in 
auth_canonifyid (if it isn't appropriate for Kerberos, then the switch 
could just be ignored in auth_krb*.c) .  2 is easy enough and a small 
variant of Henrique's patch should do it. 3 is much harder, since you 
potentially have to handle select Shared Folders/user/JTampli/Test to 
resolve to user/jtampli/Test and similar situations.  I think it is less 
of an issue because most clients are just going to show the user what 
LIST/etc return (and any running altnamespace won't see them except for 
other users that have granted permissions to one of their folders), so I 
would be happy with a patch that solves only 1 & 2 (and in fact I will 
probably implement it myself for local use if nobody is interested in 
getting into the official distribution).

-- 
John A. Tamplin                               Unix System Administrator
Emory University, School of Public Health     +1 404/727-9931







More information about the Info-cyrus mailing list