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

Pàgina inicial
Delete this message
Reply to this message
Autor: Kjetil Torgrim Homme
Data:  
A: Marc Haber
CC: exim-dev
Assumpte: Re: [exim-dev] exim overzealously cleaning local parts of mail addresses
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\""@???>

> 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.

> 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.
--
Kjetil T.