On Sep 27, 2009, at 1:31 PM, mr.freeze wrote: > > Not sure if it matters but RFC 2142 is from 1997 .RFC 2821 is from > 2001. But as a matter of practicality, I would just do like google > and make them case insensitive.
2821 is just a requirement that SMTP MTAs preserve mailbox case; web2py should be case-insensitive. > > On Sep 27, 3:21 pm, Thadeus Burgess <[email protected]> wrote: >> http://tools.ietf.org/html/rfc2142 >> >> Says that mailbox names are supposed to be case insensitive. >> >> -Thadeus >> >> On Sun, Sep 27, 2009 at 3:20 PM, Thadeus Burgess >> <[email protected]>wrote: >> >>> RFC 2142 Section 2, Paragraph 2 >> >>> 2. INVARIANT..... >> >>> Mailbox names must be recognized independent of character >>> case. For >> >>> example, POSTMASTER, postmaster, Postmaster, PostMaster, and even >>> PoStMaStEr are to be treated the same, with delivery to the same >>> mailbox. >> >>> Implementations of these well known names need to take account >>> of the >> >>> expectations of the senders who will use them. Sending back an >>> automatic mail acknowledgement is usually helpful (though we >>> suggest >>> caution against the possibility of "duelling mail robots" and the >> >>> resulting mail loops). >> >>> -Thadeus >> >>> On Sun, Sep 27, 2009 at 2:15 PM, mdipierro >>> <[email protected]>wrote: >> >>>> It is not obvious to me that upper and lower case in emails >>>> should be >>>> equivalent? Is the an RFC about this? >> >>>> On Sep 27, 11:46 am, "mr.freeze" <[email protected]> wrote: >>>>> I use a custom auth table and apply the TO_LOWER validator on >>>>> email >>>>> and username for this reason. I agree, something like this >>>>> should be >>>>> done in the default auth table. >> >>>>> On Sep 27, 2:07 am, Thadeus Burgess <[email protected]> wrote: >> >>>>>> If you sign up with an account that has a capital letter in the >>>>>> email, >>>> it >>>>>> will say invalid login when you attempt to sign in. >> >>>>>> It only works if your email is all lower case. >> >>>>>> I have requires email confirmation, and requires approval >>>>>> turned on. >> >>>>>> Also, the email field seems to be case SENSITIVE, meaning I can >>>>>> sign >>>> up with >>>>>> the same email if I capitalize different letters. >> >>>>>> -Thadeus > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

