Re: [exim-dev] exim overzealously cleaning local parts of ma…

Pàgina inicial
Delete this message
Reply to this message
Autor: Marc Haber
Data:  
A: exim-dev
Assumpte: Re: [exim-dev] exim overzealously cleaning local parts of mail addresses
On Sun, Mar 20, 2005 at 06:31:44PM +0100, Kjetil Torgrim Homme wrote:
> On Sun, 2005-03-20 at 18:08 +0100, Marc Haber wrote:
> > > yes. see RFC 2821. a backslash only protects the next characters.
> > > consider the e-mail address <Smith\,John@???>
> >
> > Looks like I misinterepreted. I thought that this rule only applied
> > outside of quoted local parts, making <Smith\,John@???> the
> > same then <"Smith,John"@???>.
>
> consider an address with a quote mark in it: <"foo\""@???>


A _very_ strong point. Thanks for pointing that out to me.

> > Lowercasing all usernames is not possible if you get the user name
> > list from some entity not under your control (for example, a LDAP
> > directory).
>
> with LDAP it is simple, the LDAP server does all the work since the
> attribute should have the correct matching algorithm associated with it.


It is harder when the LDAP server is actually an Active Directory
service where people either can't configure things, or don't know
about how to configure things.

> > I'd prefer exim doing a case-insensitive comparision if
> > caseful_local_part is false. I am not sure about the implications of
> > doing this changce though.
>
> it would require quite a bit of code changes, and it would make Exim
> less efficient for everyone else (by definition _every_ existing Exim
> installation has no need for changing strcmp to strcasecmp everywhere).
> I can't say I sympathise with this request.


I can understand that.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835