We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Capital letters in local part of email addresses

Options
John_Gray
John_Gray Posts: 5,843 Forumite
Part of the Furniture 1,000 Posts Name Dropper Photogenic
Has anyone experienced a problem where emails sent to
[EMAIL="Joe.Bloggs@domain.co.uk"]Joe.Bloggs@domain.co.uk[/EMAIL]
are rejected 'somewhere', whereas emails sent to
[EMAIL="joe.bloggs@domain.co.uk"]joe.bloggs@domain.co.uk[/EMAIL]
are accepted?

The only problem I've ever had with mixed-case email addresses is with sending to O2.co.uk, about 18 months ago, and I haven't had occasion to try since.

I am aware that the RFC 2821, the standard that defines how email transport works, says: 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. In particular, for some hosts the user "smith" is different from the user "Smith". However, exploiting the case sensitivity of mailbox local-parts impedes interoperability and is discouraged.

However, in the very many years since the standard was written, the convention seems to have become that UpperCase characters are acceptable in the 'local part' of the email address.

Can anyone give recent real examples where this does not apply?

Comments

  • esuhl
    esuhl Posts: 9,409 Forumite
    Part of the Furniture 1,000 Posts Name Dropper
    I presume it depends entirely on how the mail server interprets characters. Windows is generally not case-sensitive (with filenames, at least), while Linux is. Perhaps it just depends on the OS running on the server...?
  • asbokid
    asbokid Posts: 2,008 Forumite
    edited 19 May 2011 at 3:04PM
    exim, the open source mail server or "MTA", developed for Linux/Unix by the University of Cambridge, and favoured by many reputable organisations, is case-sensitive by default.

    So case-sensitivity, at least for exim, but no doubt for sendmail (yuck) and other MTAs, is determined by the local server administrator.

    From the Exim Specifications...
    RFC 2822 states that the case of letters in the local parts of addresses cannot be assumed to be non-significant. Exim preserves the case of local parts of addresses, but by default it uses a lower-cased form when it is routing, because on most Unix systems, usernames are in lower case and case-insensitive routing is required. However, any particular router can be made to use the original case for local parts by setting the caseful_local_part generic router option.

    If you must have mixed-case user names on your system, the best way to proceed, assuming you want case-independent handling of incoming email, is to set up your first router to convert incoming local parts in your domains to the correct case by means of a file lookup.......
    At an individual username level on a Unix system, you could use aliasing.. so that mail for Fr3D@localhost was an alias of fred@localhost.

    It's obviously not practical using aliasing when you are managing 5,000 email accounts.

    However, I would expect most large organisations to use aliasing to ensure that commonly mis-spelt or mis-addressed mail that is intended for a VIP in the organisation, still reaches its destination. For example...

    [EMAIL="bettywindsor@royal.gov.uk"]bettywindsor@royal.gov.uk[/EMAIL]
    [EMAIL="TheQueen@royal.gov.uk"]TheQueen@royal.gov.uk[/EMAIL]
    [EMAIL="QueenElizabethII@royal.gov.uk"]QueenElizabethII@royal.gov.uk[/EMAIL]
    [EMAIL="elizabethwindsor@royal.gov.uk"]elizabethwindsor@royal.gov.uk[/EMAIL]
    [EMAIL="brenda@royal.gov.uk"]brenda@royal.gov.uk[/EMAIL]
    [EMAIL="grannywindsor@royal.gov.uk"]grannywindsor@royal.gov.uk[/EMAIL]

    could all be aliases of the same mail account...

    [EMAIL="elizabethalexandramary@saxecoburgandgotha.gov.uk"]elizabethalexandramary[/EMAIL][EMAIL="elizabethalexandramary@saxecoburgandgotha.gov.uk"]saxecoburgandgotha[/EMAIL][EMAIL="elizabethalexandramary@saxecoburgandgotha.gov.uk"]@royal.gov.uk[/EMAIL]
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 350.8K Banking & Borrowing
  • 253.1K Reduce Debt & Boost Income
  • 453.5K Spending & Discounts
  • 243.8K Work, Benefits & Business
  • 598.7K Mortgages, Homes & Bills
  • 176.8K Life & Family
  • 257.1K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.