From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076340321316.tru64-unix-managers.marc@archive.invalid> From: Jorge Futoshi Yamamoto Date: Wed, 02 Oct 1996 22:24:49 +0000 To: tru64-unix-managers Subject: SUMMARY: how to create long names in e-mail addresses X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076340321316 My original question was: "I would like to create long names for users in their e-mail addresses. An example: jimi.hendrix@guitar.play.com ^^^^^^^^^^^^ Is it necessary to do login names with more than 8 characteres? If the answer is "yes", how can I do it?" Thanks for all: *Leon Troeth Make a mail alias. Have a look at the file /etc/aliases, and add a line like this: jimi.hendrix:jimi Where jimi.hendrix is the mail alias and jimi is the user's real login name. After you edit the file, run the program newaliases * Gyula Szokoly No, actually it's not even supported on every platform. You create mail aliases instead. * danno@large.com (Dan Notov) Try man aliases. You can create these alias entries in the file /var/adm/sendmail/aliases. Aliases are entered in the following form: alias: name1, name2, ..., namen. So, you can try the following: jimi.hendrix: jhendrix@guitar.play.com Then, run sendmail -bi to re-create the dbm database files. * Michel.Royer@iut-nantes.univ-nantes.fr (Michel.Royer) If hou use sendmail as central mail program, you can use aliases ----> man aliases. * Lucio Chiappetti NO, e-mail addresses may be just entries in the aliases file. Depending on how your network is set up, this can be a local file on the mail hub (/etc/aliases on most systems, /var/adm/sendmail/aliases on OSF), or a NIS-mantained network-wide map. In the alias file you have just entries of the form : nickname: loginname@machine * Herve DEMARTHE (CEA France) Just use E-mail aliases. Locally : /var/adm/sendmail/aliases + newaliases With NIS : /car/yp/src/mail.aliases + make * Benoit Maillard - Digital France- dtn: "858-1243 / ext: 33 1 69 87 12 43" Just add an entry in the /etc/aliases file like the following: jimi.hendrix:Real_UserName@machine.domain Then rebuild the aliases database with newaliases(8) * Murthy Hebbar You don't have to have the same name for logins. You can map the corresponding email address with the login name using /etc/aliases. *David Hoyt use /usr/adm/sendmail/aliases entries follow joe.user: joeu@machine.domain.dom * Matti Saarinen The answer is "no". Only thing you must do is to define alias for login name in the mail alias file. The location of the alias file is usually under /var/adm/sendmail. * Jean-Loup.Risler@genetique.uvsq.fr (Jean-Loup Risler) You must do the following things. - Let us suppose your login name is yamamoto (which is probable...) - you want your e-mail address to be Futoshi.Yamamoto 1) in /usr/var/adm/sendmail create a file called revaliases if it does not already exist. In this file put one line: yamamoto: futoshi.yamamoto NO blank at the beginning, ONE blank after the : 2) In the same directory there should be a file called aliases Add one line: futoshi.yamamoto:yamamoto WITHOUT any blank 3) type newaliases so that the new alias in "aliases" are known 4) type /usr/lib/sendmail -bi -oA/usr/var/adm/sendmail/revaliases ^ letter, not zero so that the revalias is known And that's all. Of course you can add several revaliases and aliases in one pass before typing the two above commands. * rioux@ip6480nl.ce.utexas.edu (Tom Rioux) look into /usar/var/adm/sendmail/aliases man aliases * huber@kodak.com (Ron Huber) The simple way is to use aliases. * Jim Neeland You may already have received many answers, but, just in case... Use the alias facility. Look at the file /var/adm/sendmail/aliases for the format of entries. After modifying the file, be sure to issue the 'newaliases' command to get sendmail to recognize the changes. ---------------------------------------------- | real name: | Jorge Futoshi Yamamoto | | e-mail: | jorge.yamamoto@hcnet.usp.br | | organization:| CIA - HC - FMUSP | | geography: | Sao Paulo - Brazil | ---------------------------------------------- ****************************************************** "The chicken was the egg's idea for getting more eggs" Samuel Butler ******************************************************