Slashdot Mirror


Ask Slashdot: Name Conflicts In Automatically Generated Email Addresses?

New submitter matteocorti writes "I work at medium-sized university and we are considering reducing the number of domains used for email addresses (now around 350): the goal is to have all the 30K personal addresses in a single domain. This will increase the clashes for the local part of the address for people with the same first and last name (1.6%). We are considering several options: one of them is to use 'username@domain.tld' and the other is to use 'first.last@domain.tld.' The first case will avoid any conflict in the addresses (usernames are unique) but the second is fancier. Which approach does your organization use? How are name conflicts (homonyms) solved? Manually or automatically (e.g., by adding a number)?"

37 of 383 comments (clear)

  1. Go with usernames. by pushing-robot · · Score: 5, Interesting
    --
    How can I believe you when you tell me what I don't want to hear?
    1. Re:Go with usernames. by Ark42 · · Score: 2

      Most of these are valid, but seriously, if you fall outside of:
      11. People’s names are all mapped in Unicode code points.
      or
      40. People have names.

      Then, well, wtf....

    2. Re:Go with usernames. by Scoth · · Score: 5, Funny

      I wish the designer of my company's setup had read that. I called an analyst from India who moved here Fnu for about a year before someone finally gold me that was an acronym for "First name unknown" and her real name was her "Last" name.

    3. Re:Go with usernames. by UnknownSoldier · · Score: 3, Informative

      I was going to post the same but I see you were first. ;-)

      People need to stop assuming everyone has a legal First and Last name.

      Using an auto incremented name is a bad idea.
            john.doe.5
      I now know that there are at least 4 other John Does out there!

      This is one of the reasons Blizzard's Battle.net tag assigns a random 4-digit number instead.
            John.Doe.4231
      Good luck guessing how many other John Doe's there are and what there numbers are!

    4. Re:Go with usernames. by Anonymous Coward · · Score: 2, Insightful

      People need to stop assuming everyone has a legal First and Last name.

      Everyone has a name, which people pronounce out loud. English uses characters and combinations of characters to represent sounds. Thus, everyone has a Name which can be translated into English. In our society, people are assumed to have a first and last name, if you only have one name then the other can be assumed to be blank, empty, NULL, etc. but it is easily compensated for in any society which can grasp the concept of "zero" or "nothing". It's a trivial task to program for, if you can't handle an empty value then you have no business being involved in this type of process to begin with.

      Where I work, we do the Surname up to 12 characters, followed by a random 4 digit number which has not already been allocated with that Surname. If you were to only have one name, we'd use that one, but even after dealing with many, many foreign workers who only have one name we've never encountered this. Why? Because they are smart enough to understand that When in Rome, Do as the Romans, and have a compatible "Western" name which they go by on a day to day basis. If you're looking to go on some kind of Cultural Acceptance Crusade, do it on your own time- either you understand how to adapt yourself to the communication methods of your clients, or you suffer a disadvantage. That's life, deal with it.

    5. Re:Go with usernames. by Trepidity · · Score: 3, Informative

      On the first point: Someone may be named using archaic Chinese characters in their native language, but if they're studying in, say, Germany, or in the United States, they're required to choose a Latin form of their name, which is what will be used for legal purposes. If they're studying in Russia, they must render it in the Cyrillic alphabet, and in Greece, in the Greek alphabet. If you're in one of those legal contexts, you can assume all employees and students have a name conforming to the local legal requirements. I have students from many countries in my classes, but they all use names written in Latin characters when signing up for courses or turning in homework.

      On the second: The artist legally named Prince Rogers Nelson never changed his name. He's just used a variety of stage names.

    6. Re:Go with usernames. by tepples · · Score: 2

      People have exactly N names, for any value of N.

      So how many people have a uncertain number of names at any given time?

      I think the assumption here is that N is a compile-time constant.

    7. Re:Go with usernames. by Anonymous Coward · · Score: 3, Interesting

      My daughter was born in another country (Australia), her last name is my name and her mother's name with a hyphen in between.

      The consulate of my country (Belgium) did not accept double names, so they only put my name on her passport.

      When my daughter and her mother returned to my country a couple of months before I did, the local community (Schaerbeek) had a conflict with the ministry of foreign affairs and they were doing a boycot action: they unlawfully did not recognize any foreign birth certificates, so they inscribed my daughter under her mother's name and denied to recognize that I was her father.

      I took us about 3 years before that mess was sorted out. Until then she had 3 different official last names.

    8. Re:Go with usernames. by ArsenneLupin · · Score: 2
      He's even on LinkedIn (as are many of his namesakes...).

      Especially funny, there's even a guy whose last name is LNU: Fnu LNU...

    9. Re:Go with usernames. by vux984 · · Score: 2

      40. People have names.

      Newborn infants are often not named immediately. Whether they need an email address, user name, and permission to access a corporate domain prior to receiving a name is an entirely separate question.

      But the point stands that there -are- people who are not named.

    10. Re:Go with usernames. by Dragonslicer · · Score: 3, Informative

      Everyone has a name, which people pronounce out loud. English uses characters and combinations of characters to represent sounds. Thus, everyone has a Name which can be translated into English.

      If this last statement has an accuracy requirement, then it is demonstrably false. Many (most? all?) languages do not have characters representing every sound that a human can make. For example, there is no letter or combination of letters in English that represent the sound of the guttural (I don't know the accurate linguistic term) letters Het and Haf. Conversely, Hebrew has no letter for the sound of the English combinations ch and th, though there is a letter for sh. You can get close enough for most purposes, such as using h or ch for those Hebrew letters, but if you pronounce them as if they were English, you'll be pronouncing the name incorrectly.

  2. Middle Initial by TheNinjaroach · · Score: 2

    We've had two username collisions at our company, we avoided them by adding a middle initial.

    --
    I went to eat some animal crackers and the box said, "Do not eat if seal is broken." I opened the box and sure enough..
    1. Re:Middle Initial by i+kan+reed · · Score: 4, Insightful

      Or you could, you know, conventionally assume the conventions of where your company is based, and treat special cases as special cases.

  3. Re:USERNAMES by mk1004 · · Score: 3, Insightful

    Then let them use a private, on-line account.

    In a professional environment, you always use your real name. Yes, I know this is a university, but someday the students are going to need to learn how the business world works.

    --
    I can mend the break of day, heal a broken heart, and provide temporary relief to nymphomaniacs.
  4. a few ideas by stewsters · · Score: 5, Funny

    I have 3 solutions.
    First is to misspell names. Science has proven that you can unjumble all but the first character.
    john.doe@company.com
    jhon.doe@company.com
    jnho.doe@company.com

    Second one is to increment the punctuation. This may be a bit confusing, but at least everyone has their correct name.

    john.doe@company.com
    john,doe@company.com
    john_doe@company.com
    john-doe@company.com
    etc.

    Third idea is to have them share. Why do they all need their own? Things will be addressed to the correct name. If don't want to share emails, just change your name.

    1. Re:a few ideas by Anonymous Coward · · Score: 2

      Intentional misspelling like that is the dumbest thing I've ever seen suggested.

    2. Re:a few ideas by ssam · · Score: 4, Interesting

      also remember that its lots of fun to receive email (and post) intended for someone else in your company with the same (or similar) name. especially if you are a student, and they are a professor.

      (i guess its why we have @student.uni.ac.uk. @postgrad.uni.ac.uk and @uni.ac.uk for staff)

    3. Re:a few ideas by hcs_$reboot · · Score: 2

      Another solution is to add the abbreviated department john.doe.ft@company.com or and reduce even more the collision risk, add the birthdate (only month day), john.doe.0229@company.com. And nobody will forget your birthday anymore!

      --
      Slashdot, fix the reply notifications... You won't get away with it...
    4. Re:a few ideas by ssam · · Score: 4, Funny

      how about firstname.lastname.dateofbirth.mothersmaidenname.bankaccountnumber.banksortcode.creditcardpin.homeaddress@domain.tld

    5. Re:a few ideas by Jaruzel · · Score: 2

      Gmail does this. first.last@gmail.com is the same as firstlast@gmail.com.

      --
      Together, We Can Make Slashdot Better. I Do NOT Mod ACs. - Check Me Out
  5. KISS by gmuslera · · Score: 3, Insightful

    If usernames won't give conflicts, then use them. And for the people that wants fancier emails, you can put aliases as firstname.lastname while there are no duplicates

  6. "Why not both?" by Jaryn · · Score: 3, Insightful

    My university takes the unique usernames approach ( abc123@mail.domain.tld ), but also creates aliases for everyone ( generally in the form first.last@domain.tld , but the user actually can choose whatever they want, if there's a collision). Seems to work well enough.

    1. Re:"Why not both?" by Local+ID10T · · Score: 2

      This is essentially what I went with for my business.

      username@domain.tld is the actual email address, with an automatic alias of firstname.lastname@domain.tld, and (if the user requests it) an additional alias of nickname@domain.tld I have only refused one request for an alias -I decided it was stretching the bounds of "business appropriate" a bit too far.

      It makes email addresses easy to remember. It works for us. YMMV

      --
      "You want to know how to help your kids? Leave them the fuck alone." -George Carlin
  7. Put the old domain in the name by Mr.+Sketch · · Score: 2

    I presume the old format looked like:

    emailname@subdomain.domain.com

    Make the new ones:

    emailname.subdomain@domain.com

    This should prevent any name clashes and still move all the emails to one domain and even preserve the similar format the users already have. New users may not even need their own .subdomain after the email name, but you'll be adding them as you go forward and can check for clashes when they are added and maybe just add a .subdomain to them, or numbers to the end.

    1. Re:Put the old domain in the name by Shoten · · Score: 2

      I presume the old format looked like:

      emailname@subdomain.domain.com

      Make the new ones:

      emailname.subdomain@domain.com

      This should prevent any name clashes and still move all the emails to one domain and even preserve the similar format the users already have. New users may not even need their own .subdomain after the email name, but you'll be adding them as you go forward and can check for clashes when they are added and maybe just add a .subdomain to them, or numbers to the end.

      What happens when their subdomain changes because they change jobs or departments? This effectively re-instates one of the reasons to get away from 350 different domain/subdomain combinations in the first place, as the OP is doing.

      --

      For your security, this post has been encrypted with ROT-13, twice.
  8. Re:DO NOT ASSUME WESTERN NAMES! by wisnoskij · · Score: 3, Insightful

    It is a Western university.

    First off, no one wants a 200 character email address and we are limited to Western characters.

    Anyone going to a Western university has a Western style name to use in cases such as this.

    --
    Troll is not a replacement for I disagree.
  9. Re:DO NOT ASSUME WESTERN NAMES! by Trepidity · · Score: 2

    If the person is a United States resident, at least, they have something filled in in the "surname" and "given name" sections of their birth certificate (if born in the US) naturalization certificate, green card, or visa document. That might not be true in all western countries, but I know it's true in Denmark as well: to work or study legally in the country you need to register with the Citizen Register and list something in those boxes. Then the university will just use whatever your state registration says.

  10. Remember your turnover by stevenmu · · Score: 2

    Keep in mind that as a university you are going to have a much larger turnover than a standard organisation, so their strategies may not be suitable for you. I would suggest that using any combination of First Name and Last Name will give you a pretty large amount of collisions, either with current users, or with past users. Collisions with past users may not seem like a huge problem until you get a ton of new users asking you why their accounts filled up with donkey porn spam on the first day. Of course you could do something like including their first year in the account, i.e. joe.bloggs.2013@uni.edu. But it's probably just easier to use the username (as long as that is unique of course)

  11. Re:Do not use usernames in email addresses by radiumsoup · · Score: 5, Funny

    "Hey there, I'm Gary Wilson. I'd like to get more information about this petition you're circulating, but I'm running late to class... can you email me more info?"
    "Sure, Gary. Thanks for your interest. What's your email address? Gary.Wilson@myuniversity.edu?"
    "No, it's generated using a salted hashing algorithm, it's actually 8msMWlk09$1)_23@myuniversity.edu"
    "uh...... yeah, why don't I just give you my card, you can contact me later."

  12. Are you actually solving a problem? by SecurityGuy · · Score: 2

    This is the first question you should ask. Once upon a time I worked for a department that managed its own email, and hence had it's own domain. Someone had the bright idea of consolidating to just use the central email solution in the interest of saving time/money, in spite of the fact that managing mail took very little time and very little money. Transitioning everyone took a lot more time than managing the original process, shoehorned people into arbitrarily small mail quotas (hint: do not tell people who cost $100+/hour that they need to manage their email to fit in an amount of disk that you can buy for a dollar), made them less efficient and less happy as they had to switch from mail clients they knew well and were happy with to unfamiliar ones they didn't like.

    In the end, we spent more time and money making everyone less happy and less efficient than if we'd just left it alone.

    As far as simply avoiding clashes, consider that this is one of the benefits of there being a hierarchy in DNS. You can have bob.smith@finance.domain.com, bob.smith@engineering.domain.com, bob.smith@sales.domain.com, etc. Is there an actual requirement for everyone to be @domain.com, or is someone just empire building?

  13. Re:DO NOT ASSUME WESTERN NAMES! by larry+bagina · · Score: 3, Funny

    I prefer full.name@.

    Sincerely,
    Pen Islicker

    --
    Do you even lift?

    These aren't the 'roids you're looking for.

  14. Re:Let Them Pick A Unique Name by gnasher719 · · Score: 4, Interesting

    Here's a solution to this problem: If there is more than one John Doe, you change them _all_ to john.doe followed by a random but unique three digit number. john.doe itself is redirected and automatically gives a reply containing the list of correct john.doe email addresses plus some information that makes them identifiable.

    So if I wanted to email John Doe in accounting, I'll get an email back telling me the CEO is john.doe386, there is john.doe196 in accounting, and the janitor john.doe412.

  15. Re:fname.lname.incrementer by Sique · · Score: 2

    I don't want a middle initial. It was completely useless, if it weren't for filling out forms designed by stupid data collectors.
    My father's three names are those of his grandfather, his father and this own given name. Reversing the order of the names to fit into a form is pointless, dropping one is pointless too, and accepting his grandfather's name as his own for the sake of some silly database is too.
    It gets worse if you have people whose names don't follow the "a name consists of exactly one word" rule. What's your rule to convert Antonio dell'Acqua into an email address?

    --
    .sig: Sique *sigh*
  16. Re:fname.lname.incrementer by spazdor · · Score: 2

    Those people should probably not correspond from their university email, and instead sign up for a Gmail account. It's free, you know.

    --
    DRM: Terminator crops for your mind!
  17. Re:fname.lname.incrementer by bill_mcgonigle · · Score: 4, Interesting

    But I've seen a kind of "artificial" middle initial, where the first John Smith gets the email address john.smith@organisation.tld, the second becomes john.a.smith@organisation.tld, the third one john.b.smith@organisation.tld etc.pp.

    My early big-systems computing life was with the e-mail system at Dartmouth that went to real names in the 80's. There were twenty thousand-ish users and there definitely were a few name collisions with the First.M.Last standard.

    There were two solutions. First was a user-editable nickname field. Just a space separated list that could be used to add to matching rules.

    So, I had a proper e-mail left part of 'William.P.McGonigle' but my nickname field consisted of 'bill wpm skynet photographer sigep' to help other people find me. Only the real address was guaranteed unique but for phone conversations I could tell people wpm@ (it was unique at the time). People could get me at my machine name that way, look me up in the directory, address me as bill.mcgonigle, etc. (it would combine all dot separated parts with nicknames and department names to find matches).

    So, if there were 20,000 people happily using this system, there were four people who it didn't work for, and those were people with the exact same name as somebody who was already on campus. The usual choice was to adopt a different middle initial, use a full middle name, or to accept the nickname as the real first name.

    Now, there was always a contingent of people (I won't say aspy nerds because that would be rude) who insisted that those were WRONG and that the addressing scheme had to work exactly the same way for everybody. They probably advocated bmcgo654@ for my e-mail address. But what they missed was that the utility of the system that was in use was so high that it greatly outvalued having a 'perfect' system that had very low utility.

    If we lived in a world where every e-mail user could easily query the other institution's LDAP and not run the risk of spam, then that might be fine. But we don't, so easy to use addresses makes the computers easier to use.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  18. Over 110K names, some turnover, how we did it by BenEnglishAtHome · · Score: 4, Interesting

    Where I last worked, there were over 110K employees and we had plenty of people sharing the same name. Here's how it went.

    Default: first.last@xxx.gov

    Same names: first.middleinitial.last@xxx.gov

    Still the same: Senior employee got first.middleinitial.last@xxx.gov. Junior employee got first.x.last@xxx.gov.

    Still the same? Increment the middle initial. The first person with the same name as someone else got an "x", the second person got a "y", the third got a "z", and I don't think we ever needed to exceed that. If necessary, we would have just continued through the alphabet, starting back at "a".

    The biggest single problem we had with names and email addresses was employees who were legally empowered to use a different identity when dealing with the public. Anything that the public might see (their name or signature on a document, their email address, etc.) was a pseudonym, yet we had to use their legal names for internal purposes. Undercovers are a pain but I assume the OP won't be dealing with that. :-)

  19. Re:fname.lname.incrementer by cheater512 · · Score: 3, Funny

    My name is a hyperintelligent shade of the colour blue.