OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Address Extensions with virtual maps are always converted to lowercase.

From: Wietse Venema (wietseporcupine.org)
Date: Thu Jan 12 2006 - 15:49:34 CST


Andrzej Adam Filip:
> Victor Duchovni wrote:
> > On Thu, Jan 12, 2006 at 07:53:20PM +0100, Remko Molier wrote:
> >>For the last two days I have been - unsuccessfully - trying to get the
> >>address extension in postfix to work for address extensions that use
> >>capitals letters (e.g. rmolier+Junkmore-it.com) and are mapped
> >>(virtual) to different e-mail addresses. In one way or the other postfix
> >>always seems to convert them to lowercase.
> >>
> >>Looking at the code, it made it obvious that in global/mail_addr_map.c
> >>the extension, which is taken from the call to mail_addr_find() and
> >>saved for propagating the extension to the addresses found is always in
> >>lowercase.
> >
> > This is not a bug. It is intentional behaviour. RFC822 addresses are case
> > insensitive. If your configuration depends on the case of the extension,
> > it is wrong.
>
> *YOU* ARE WRONG.
>
> RFC recomendations "discontinues" the long standing tradition.
>
> http://www.ietf.org/rfc/rfc2821.txt
> [...] The local-part of a mailbox MUST BE treated as case sensitive.
> Therefore, SMTP implementations MUST take care to preserve the case of
> mailbox local-parts. Mailbox domains are not case sensitive.

There is such a thing as technically correct (case sensitive
mailbox names) and practically correct.

I would be missing a lot of mail just because some systems to
map all or part of my address to upper case. I don't care that
those systems are broken, I want to receive my mail.

        Wietse