Usenet comp.unix.osf.misc (1992-2004)
 help / color / mirror / Atom feed
* User IDs with uppercase chars - sendmail does not like
@ 1996-01-26  5:00 Randy Kunkee
  1996-01-26  5:00 ` David Mischel
  1996-01-26  5:00 ` Kari E. Hurtta
  0 siblings, 2 replies; 17+ messages in thread
From: Randy Kunkee @ 1996-01-26  5:00 UTC (permalink / raw)


I have inherited the administration duties for a system which
is a copy of another web and mail site.  There was no control
on users for picking their login ids, and there are many login
IDs which contain uppercase characters or are all uppercase.

I cannot send mail to anyone with such a login id.  Sendmail
reports (for example):

	sendmail -d25 Kunkee2
	Version 5.65v3.2
	sendto: Kunkee2
	   ctladdr=[NULL]
	Kunkee2... User unknown

Csh has no problem:
	> echo ~kunkee2
	Unknown user: kunkee2.
	> echo ~Kunkee2
	/usr/users/Kunkee2


If there are two login ids, such as 'Kunkee2' and 'kunkee2', mail
to 'Kunkee2' will arrive in 'kunkee2's mailbox.

In all my years administering Unix systems, it would never occur
to me to create a user ID with upper case characters in it.  It
is obvious that sendmail is downshifting the user ID before looking
it up, even though the final error message report the original
login ID given to it.


This problem has me pretty baffled.  Is it even legal?  Apparently
they had this working on another system, but this one was built
up from scratch and things won't work the way they did before.
If it is legal to use case-sensitive IDs with sendmail, how do
I get it to try the case-sensitive name first?

While a debatable practice, Unix does not seem to have a problem
handling this, so this is apparently specific to sendmail.  Eudora
can even come in an snarf mail correctly from a case-mixed login id.
But getting the mail to the spool directly in the first place is
the problem.  (My Linux system at home has the same behavior.)

Any insights will be greatly appreciated.  I'd prefer email replies,
but I will follow these groups, or post a summary of replies if requested.

Randy

-- 
Randy Kunkee
Houston, TX
713-464-1340
kunkee@neosoft.com



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-01-26  5:00 User IDs with uppercase chars - sendmail does not like Randy Kunkee
  1996-01-26  5:00 ` David Mischel
@ 1996-01-26  5:00 ` Kari E. Hurtta
  1996-01-27  5:00   ` Brendan Murray
  1996-01-29  5:00   ` Randy Kunkee
  1 sibling, 2 replies; 17+ messages in thread
From: Kari E. Hurtta @ 1996-01-26  5:00 UTC (permalink / raw)


kunkee@Starbase.NeoSoft.COM (Randy Kunkee) writes:
�I have inherited the administration duties for a system which
�is a copy of another web and mail site.  There was no control
�on users for picking their login ids, and there are many login
�IDs which contain uppercase characters or are all uppercase.

�I cannot send mail to anyone with such a login id.  Sendmail
�reports (for example):

�	sendmail -d25 Kunkee2
�	Version 5.65v3.2
�	sendto: Kunkee2
�	   ctladdr=[NULL]
�	Kunkee2... User unknown

�Csh has no problem:
�	> echo ~kunkee2
�	Unknown user: kunkee2.
�	> echo ~Kunkee2
�	/usr/users/Kunkee2


�If there are two login ids, such as 'Kunkee2' and 'kunkee2', mail
�to 'Kunkee2' will arrive in 'kunkee2's mailbox.

�In all my years administering Unix systems, it would never occur
�to me to create a user ID with upper case characters in it.  It
�is obvious that sendmail is downshifting the user ID before looking
�it up, even though the final error message report the original
�login ID given to it.

Just add flag 'u' for local mailer defination in sendmail.cf, then
sendmail does not that lowercasing of user part of address.




^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-01-26  5:00 User IDs with uppercase chars - sendmail does not like Randy Kunkee
@ 1996-01-26  5:00 ` David Mischel
  1996-01-27  5:00   ` Uwe Leinberger GSI Darmstadt
  1996-01-26  5:00 ` Kari E. Hurtta
  1 sibling, 1 reply; 17+ messages in thread
From: David Mischel @ 1996-01-26  5:00 UTC (permalink / raw)


Randy Kunkee wrote:
> ...there are many login
> IDs which contain uppercase characters or are all uppercase.
> 
> I cannot send mail to anyone with such a login id....

login (and other system utilities that care about user names) respect
case in names.  smtp (mail) is case insensitive.  so all email names are
demoted to lower case.

you have to get rid of the mixed case names.

< david



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-01-26  5:00 ` David Mischel
@ 1996-01-27  5:00   ` Uwe Leinberger GSI Darmstadt
  1996-01-29  5:00     ` Bruno Wolff III
                       ` (2 more replies)
  0 siblings, 3 replies; 17+ messages in thread
From: Uwe Leinberger GSI Darmstadt @ 1996-01-27  5:00 UTC (permalink / raw)



In article <3109301B.41C6@gene.com>, David Mischel <dm@gene.com> writes:
>Randy Kunkee wrote:
>> ...there are many login
>> IDs which contain uppercase characters or are all uppercase.
>> 
>> I cannot send mail to anyone with such a login id....
>
>login (and other system utilities that care about user names) respect
>case in names.  smtp (mail) is case insensitive.  so all email names are
>demoted to lower case.
>
>you have to get rid of the mixed case names.
>
>< david
>
To my best knowledge the standard says that internet adresses are 
NOT case sensitive. So you even might be able to configure your local SW to be
cases sensitive, but then you violate the standard. This will probably create 
a lot of trouble with the outside world.

So if you want to conform to the standard, it seems you indeed have to change 
to lower case user names.

Uwe



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-01-26  5:00 ` Kari E. Hurtta
@ 1996-01-27  5:00   ` Brendan Murray
  1996-01-29  5:00   ` Randy Kunkee
  1 sibling, 0 replies; 17+ messages in thread
From: Brendan Murray @ 1996-01-27  5:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1294 bytes --]

Kari E. Hurtta (hurtta@dionysos.fmi.fi) wrote:
> kunkee@Starbase.NeoSoft.COM (Randy Kunkee) writes:
> �I have inherited the administration duties for a system which
> �is a copy of another web and mail site.  There was no control
> �on users for picking their login ids, and there are many login
> �IDs which contain uppercase characters or are all uppercase.

> �I cannot send mail to anyone with such a login id.  Sendmail
> �reports (for example):


> Just add flag 'u' for local mailer defination in sendmail.cf, then
> sendmail does not that lowercasing of user part of address.


But whoever sends mail to the user has to get the case right, and
mailers that don't preserve case in addresses (VMS) screw things up
royally. 

Downcase all the usernames. Its the only practical option, otherwise
you'll be chasing lost mail for users forever. If there's a clash ( same
name, different case ) you're gonna have to change one of them. 


All uppercase  login ids cause other problems of course - esp. the
helpful way so many unix's assume that if you type in an all-upper login
id, then you must have a teletype that isn't capable of lower case.

Probably
ought to hunt down the idiot who let the users choose their names and
make him/her sort it out, or maybe just kill him.





^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-01-27  5:00   ` Uwe Leinberger GSI Darmstadt
  1996-01-29  5:00     ` Bruno Wolff III
@ 1996-01-29  5:00     ` Neil Hoggarth
  1996-01-29  5:00     ` Randy Kunkee
  2 siblings, 0 replies; 17+ messages in thread
From: Neil Hoggarth @ 1996-01-29  5:00 UTC (permalink / raw)


In article <4ed50t$o9f@rs18.hrz.th-darmstadt.de>,
Uwe Leinberger GSI Darmstadt <leinberger@axp621.gsi.de> wrote:

> To my best knowledge the standard says that internet adresses are NOT
> case sensitive. So you even might be able to configure your local SW to
> be cases sensitive, but then you violate the standard. This will
> probably create a lot of trouble with the outside world.
> 
> So if you want to conform to the standard, it seems you indeed have to
> change to lower case user names.

This is incorrect. I checked RFCs 821 and 822 on this point only last week. 
The *domain* portion of a mail address is case insensitive but the specs
specifically say that case should be preserved in the username portion
of the address.

The only exception is that the special address "postmaster" must be
recognised in a case insensitive way (ie. mail to "postmaster",
"POSTMASTER" and "Postmaster" must all reach a human who deals with
problems with the mail service).

*However* I agree with the previous posters in this thread that it is a
good idea to avoid upper case or mixed case usernames on Unix systems if
it is at all possible. It will make life much easier in the long run.

Regards,
-- 
+-------------------------------------------------------------------------+
Neil Hoggarth                                 Departmental Computer Officer
<neil.hoggarth@physiol.ox.ac.uk>                   Laboratory of Physiology
http://www.physiol.ox.ac.uk/~njh/                     Oxford University, UK
+-------------------------------------------------------------------------+



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-01-27  5:00   ` Uwe Leinberger GSI Darmstadt
@ 1996-01-29  5:00     ` Bruno Wolff III
  1996-01-29  5:00     ` Neil Hoggarth
  1996-01-29  5:00     ` Randy Kunkee
  2 siblings, 0 replies; 17+ messages in thread
From: Bruno Wolff III @ 1996-01-29  5:00 UTC (permalink / raw)


From article <4ed50t$o9f@rs18.hrz.th-darmstadt.de>, by leinberger@axp621.gsi.de (Uwe Leinberger GSI Darmstadt):
] 
] To my best knowledge the standard says that internet adresses are 
] NOT case sensitive. So you even might be able to configure your local SW to be
] cases sensitive, but then you violate the standard. This will probably create 
] a lot of trouble with the outside world.
] 
] So if you want to conform to the standard, it seems you indeed have to change 
] to lower case user names.
] 
] Uwe

RFC 823 says that that the local part of addresses is case sensitive (except
for the postmaster address). Literal/quoted text in the domain part of an
address is also case sensitive.



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-01-27  5:00   ` Uwe Leinberger GSI Darmstadt
  1996-01-29  5:00     ` Bruno Wolff III
  1996-01-29  5:00     ` Neil Hoggarth
@ 1996-01-29  5:00     ` Randy Kunkee
  1996-01-30  5:00       ` jr
  1996-02-01  5:00       ` Nigel Metheringham
  2 siblings, 2 replies; 17+ messages in thread
From: Randy Kunkee @ 1996-01-29  5:00 UTC (permalink / raw)


In article <4ed50t$o9f@rs18.hrz.th-darmstadt.de>,
Uwe Leinberger GSI Darmstadt <leinberger@axp621.gsi.de> wrote:
>
>In article <3109301B.41C6@gene.com>, David Mischel <dm@gene.com> writes:
>>Randy Kunkee wrote:
>>> ...there are many login
>>> IDs which contain uppercase characters or are all uppercase.
>>> 
>>> I cannot send mail to anyone with such a login id....
>>
>>login (and other system utilities that care about user names) respect
>>case in names.  smtp (mail) is case insensitive.  so all email names are
>>demoted to lower case.
>>
>>you have to get rid of the mixed case names.
>>
>>< david
>>
>To my best knowledge the standard says that internet adresses are 
>NOT case sensitive. So you even might be able to configure your local SW to be
>cases sensitive, but then you violate the standard. This will probably create 
>a lot of trouble with the outside world.
>
>So if you want to conform to the standard, it seems you indeed have to change 
>to lower case user names.
>
>Uwe

Actually, as I read RFCs 821 and 822, the destination mailbox (which is
not required to be a user) is to be preserved for final interpretation
by the destination system.  In  other words, SMTP software must not
mess with the case of the mailbox (usually a user ID).  The remaining
portion (system, domain name, etc) is insensitive to case
as you say.  I can quote lines from the RFCs on this.

I like one other guy's answer, which is to simply hunt down and shoot
the person who let this happen in the first place (and downshift all
user IDs), but there are laws against that :-).  And my customer seems
quite adamant that I should support mixed case login IDs.

Randy
-- 
Randy Kunkee
Houston, TX
713-464-1340
kunkee@neosoft.com



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-01-26  5:00 ` Kari E. Hurtta
  1996-01-27  5:00   ` Brendan Murray
@ 1996-01-29  5:00   ` Randy Kunkee
  1996-01-30  5:00     ` Kari E. Hurtta
  1996-01-30  5:00     ` Tilo Schuerer
  1 sibling, 2 replies; 17+ messages in thread
From: Randy Kunkee @ 1996-01-29  5:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1993 bytes --]

In article <4eb8q5$2j2@kronos.fmi.fi>,
Kari E. Hurtta <hurtta@dionysos.fmi.fi> wrote:
>kunkee@Starbase.NeoSoft.COM (Randy Kunkee) writes:
>�I have inherited the administration duties for a system which
>�is a copy of another web and mail site.  There was no control
>�on users for picking their login ids, and there are many login
>�IDs which contain uppercase characters or are all uppercase.
>
>�I cannot send mail to anyone with such a login id.  Sendmail
>�reports (for example):
>
>�	sendmail -d25 Kunkee2
>�	Version 5.65v3.2
>�	sendto: Kunkee2
>�	   ctladdr=[NULL]
>�	Kunkee2... User unknown
>
>�Csh has no problem:
>�	> echo ~kunkee2
>�	Unknown user: kunkee2.
>�	> echo ~Kunkee2
>�	/usr/users/Kunkee2
>
>
>�If there are two login ids, such as 'Kunkee2' and 'kunkee2', mail
>�to 'Kunkee2' will arrive in 'kunkee2's mailbox.
>
>�In all my years administering Unix systems, it would never occur
>�to me to create a user ID with upper case characters in it.  It
>�is obvious that sendmail is downshifting the user ID before looking
>�it up, even though the final error message report the original
>�login ID given to it.
>
>Just add flag 'u' for local mailer defination in sendmail.cf, then
>sendmail does not that lowercasing of user part of address.
>

Okay, I tried this, but it still doesn't work right.  I'm baffled.
I've also spoken with a couple of people at DEC, who insist (and
have tested it on their systems) that I should not be getting the
behavior I am seing.  Consider the following:

% grep i 
kunkee:k3Fvb44UOSgZo:13:15:Randy Kunkee:/usr/users/kunkee:/bin/csh
Kunkee:Ee57ab70DYSy.:304:15:Randy Kunkee:/usr/users/Kunkee:/bin/csh
Kunkee2:xW5mBYG6oftD.:305:15:Randy Kunkee:/usr/users/Kunkee2:/usr/bin/csh
Kunkee3:qzCUJxYQ/xWW2:306:70:Randall Kunkee:/OnePlace/home/Kunkee3:/bin/false
% /usr/bin/sendmail -v Kunkee3
Kunkee3... User unknown
%

That's it in a nutshell.

-- 
Randy Kunkee
Houston, TX
713-464-1340
kunkee@neosoft.com



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-01-29  5:00   ` Randy Kunkee
  1996-01-30  5:00     ` Kari E. Hurtta
@ 1996-01-30  5:00     ` Tilo Schuerer
  1 sibling, 0 replies; 17+ messages in thread
From: Tilo Schuerer @ 1996-01-30  5:00 UTC (permalink / raw)


Hi Randy,

> % grep i
> kunkee:k3Fvb44UOSgZo:13:15:Randy Kunkee:/usr/users/kunkee:/bin/csh
> Kunkee:Ee57ab70DYSy.:304:15:Randy Kunkee:/usr/users/Kunkee:/bin/csh
> Kunkee2:xW5mBYG6oftD.:305:15:Randy Kunkee:/usr/users/Kunkee2:/usr/bin/csh
> Kunkee3:qzCUJxYQ/xWW2:306:70:Randall Kunkee:/OnePlace/home/Kunkee3:/bin/false
> % /usr/bin/sendmail -v Kunkee3
> Kunkee3... User unknown
> %

This is a local problem of your sendmail which can be avoided
when using the "u"-flag to your local mail delivering software.
I used:


Mlocal, P=/usr/bin/deliver, F=lsDFMShPu, S=10, R=20/40, A=deliver $u
                                      ^
Using this flag sendmail preserves the case when calling
deliver - and everything went fine!

Hope, this helps!

Tilo Schuerer



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-01-29  5:00   ` Randy Kunkee
@ 1996-01-30  5:00     ` Kari E. Hurtta
  1996-02-07  5:00       ` Randy Kunkee
  1996-01-30  5:00     ` Tilo Schuerer
  1 sibling, 1 reply; 17+ messages in thread
From: Kari E. Hurtta @ 1996-01-30  5:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1002 bytes --]

kunkee@Starbase.NeoSoft.COM (Randy Kunkee) writes:
<...>
�% /usr/bin/sendmail -v Kunkee3
�Kunkee3... User unknown
�%

hurtta@dionysos:~% grep OutOfBox /etc/passwd
OutOfBox:z:995:997:Out of Box Experience:/usr/people/tour:/bin/csh
hurtta@dionysos:~% /usr/lib/sendmail -bv OutOfBox
OutOfBox... deliverable: mailer local, user OutOfBox
hurtta@dionysos:~% /usr/lib/sendmail -bv outofbox
outofbox... User unknown
hurtta@dionysos:~% /usr/lib/sendmail -d0.1 -bv Postmaster
Version 8.7.3
 Compiled with: LOG MATCHGECOS MIME8TO7 NAMED_BIND NDBM NETINET NETUNIX
                NIS SCANF XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = dionysos
  (canonical domain name) $j = dionysos.fmi.fi
         (subdomain name) $m = fmi.fi
              (node name) $k = dionysos
========================================================

\root... deliverable: mailer local, user \root
hurtta@dionysos:~% 

I don't see why it don't work :-)

[ CC'ed to questioner. ]



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-01-29  5:00     ` Randy Kunkee
@ 1996-01-30  5:00       ` jr
  1996-01-30  5:00         ` Brad Knowles
  1996-02-01  5:00         ` Randy Kunkee
  1996-02-01  5:00       ` Nigel Metheringham
  1 sibling, 2 replies; 17+ messages in thread
From: jr @ 1996-01-30  5:00 UTC (permalink / raw)


In article <4ej05p$ccc@Starbase.NeoSoft.COM>, kunkee@Starbase.NeoSoft.COM
(Randy Kunkee) wrote:

> In article <4ed50t$o9f@rs18.hrz.th-darmstadt.de>,
> Uwe Leinberger GSI Darmstadt <leinberger@axp621.gsi.de> wrote:
> >
> >In article <3109301B.41C6@gene.com>, David Mischel <dm@gene.com> writes:
> >>Randy Kunkee wrote:
> >>> ...
...
> >>
> >>you have to get rid of the mixed case names.
> >>
> >>< david
> >>
...
> >
> >So if you want to conform to the standard, it seems you indeed have to
change 
> >to lower case user names.
> >
> >Uwe
> 
....
> 
> I like one other guy's answer, which is to simply hunt down and shoot
> the person who let this happen in the first place (and downshift all
> user IDs), but there are laws against that :-).  And my customer seems
> quite adamant that I should support mixed case login IDs.
> 
   Pardon me for being alive, but,

   what's wrong with having mixed case names in any OS?

   As I see it the only caution to be taken is not to have two usernames
that are spelled (case insensitively) the same.

   Beyond that all you need is a *very simple* shell script to build
an aliases file all lower/upper/whatever case to comply with the
standard. And as you say, there are laws against that.

   I can't see any reason for not giving users mixed case names if that
makes them happier other than laziness from the part of the asministrator
or plain tradition.

   So in your case: just make an aliases file where every user is also
defined with his/her lowercase username and redirected to the appropriate
username.

   And while you are at that, you might consider making other aesthetic
aliases as well, such as including a dot or underscore between initials
and name. If that's in the user data field of your passwd file, making
a shell script to do it shoudln't be a big deal either.

   Then face you boss and tell her/him you are giving everyone the
commodity of being addressable as "JDoe", "jdoe", "J.Doe" or "J_Doe"
at their convenience so that anyone can find them while they login
with their beloved mixed case (or whatever) usernames.

      Just my 2c.

                                 jr



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-01-30  5:00       ` jr
@ 1996-01-30  5:00         ` Brad Knowles
  1996-02-01  5:00         ` Randy Kunkee
  1 sibling, 0 replies; 17+ messages in thread
From: Brad Knowles @ 1996-01-30  5:00 UTC (permalink / raw)


In article <jrvalverde-3001962119590001@b12mc6.cnb.uam.es>,
jrvalverde@samba.cnb.uam.es (jr) wrote:

>    Pardon me for being alive, but,
> 
>    what's wrong with having mixed case names in any OS?

    If all the OSes in the world supported that, it'd be fine.  Since not
all of them do, then you have to worry about what will happen at one end
or the other (or anywhere in between) if you should happen to cross a link
that violates the RFC 822 rules regarding keeping case intact on the basis
that it might make a difference for the MTA or MUA on one end or the
other.

    And any time you have to worry about converting something that could
keep two people from talking (semi-permanently), you have to wonder
whether it really is worth the hassle to keep mixed case in usernames. 
Most of the time, the answer is no.  I certainly wouldn't work anywhere
that the answer was yes, just because I have an idea of how impossible it
could be to solve this problem for the entire Internet in general -- I've
already got ulcers, I don't need ULCERS.

-- 
Brad Knowles,                                       MIME: brad@his.com
    comp.mail.sendmail FAQ Maintainer      <http://www.his.com/~brad/>

The comp.mail.sendmail FAQ is at <http://www.his.com/~brad/sendmail/>

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d+>--- s:(++) a-() C++(+++)$ UHI*++++$ P+>+++ !L !E(--) W--(+)@
N+(++) o? K? !w(---) M++ V PS+ PE-(+)@ Y+(++)@ PGP+(++) t+(+++)@
5+(++) X+(+++)@ R++(+++)@ tv-()@ b+@ DI++(+++) !D(----) G e++>+++ h+
------END GEEK CODE BLOCK------



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-01-29  5:00     ` Randy Kunkee
  1996-01-30  5:00       ` jr
@ 1996-02-01  5:00       ` Nigel Metheringham
  1996-02-01  5:00         ` Kari E. Hurtta
  1 sibling, 1 reply; 17+ messages in thread
From: Nigel Metheringham @ 1996-02-01  5:00 UTC (permalink / raw)


kunkee@Starbase.NeoSoft.COM (Randy Kunkee) writes:

>Actually, as I read RFCs 821 and 822, the destination mailbox (which is
>not required to be a user) is to be preserved for final interpretation
>by the destination system.  In  other words, SMTP software must not
>mess with the case of the mailbox (usually a user ID).  The remaining
>portion (system, domain name, etc) is insensitive to case
>as you say.  I can quote lines from the RFCs on this.

Now you make all people who may send you mail read, understand and
live by RFC822.  Done that?, OK now make the people who implement
other mail systems do the same - and fix their software.

You cannot rely on case getting through email unscathed - VAX/VMS
systems for example tend to upcase *everything*.


>I like one other guy's answer, which is to simply hunt down and shoot
>the person who let this happen in the first place (and downshift all
>user IDs), but there are laws against that :-).  And my customer seems
>quite adamant that I should support mixed case login IDs.

You just can't do it - the alias maps tend to use downcased checks
anyhow!

	Nigel.

--
[ Nigel.Metheringham@theplanet.net   - Unix Applications Engineer ]
[ *Views expressed here are personal and not supported by PLAnet* ]
[ PLAnet Online : The White House     Tel : +44 113 2345566 x 612 ]
[ Melbourne Street, Leeds LS2 7PS UK. Fax : +44 113 2345656       ]



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-02-01  5:00       ` Nigel Metheringham
@ 1996-02-01  5:00         ` Kari E. Hurtta
  0 siblings, 0 replies; 17+ messages in thread
From: Kari E. Hurtta @ 1996-02-01  5:00 UTC (permalink / raw)


nigel@theplanet.net (Nigel Metheringham) writes:
�kunkee@Starbase.NeoSoft.COM (Randy Kunkee) writes:

<...>

�>I like one other guy's answer, which is to simply hunt down and shoot
�>the person who let this happen in the first place (and downshift all
�>user IDs), but there are laws against that :-).  And my customer seems
�>quite adamant that I should support mixed case login IDs.

�You just can't do it - the alias maps tend to use downcased checks
�anyhow!

No. That depends how alias map is defined in sendmail.cf. You can specify
that key is not downcased before check.

(Assuming Sendmail 8.)
 



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-01-30  5:00       ` jr
  1996-01-30  5:00         ` Brad Knowles
@ 1996-02-01  5:00         ` Randy Kunkee
  1 sibling, 0 replies; 17+ messages in thread
From: Randy Kunkee @ 1996-02-01  5:00 UTC (permalink / raw)


In article <jrvalverde-3001962119590001@b12mc6.cnb.uam.es>,
jr <jrvalverde@samba.cnb.uam.es> wrote:
>In article <4ej05p$ccc@Starbase.NeoSoft.COM>, kunkee@Starbase.NeoSoft.COM
>(Randy Kunkee) wrote:
>
>> In article <4ed50t$o9f@rs18.hrz.th-darmstadt.de>,
>> Uwe Leinberger GSI Darmstadt <leinberger@axp621.gsi.de> wrote:
>> >
>> >In article <3109301B.41C6@gene.com>, David Mischel <dm@gene.com> writes:
>> >>Randy Kunkee wrote:
>> >>> ...
>...
>> >>
>> >>you have to get rid of the mixed case names.
>> >>
>> >>< david
>> >>
>...
>> >
>> >So if you want to conform to the standard, it seems you indeed have to
>change 
>> >to lower case user names.
>> >
>> >Uwe
>> 
>....
>> 
>> I like one other guy's answer, which is to simply hunt down and shoot
>> the person who let this happen in the first place (and downshift all
>> user IDs), but there are laws against that :-).  And my customer seems
>> quite adamant that I should support mixed case login IDs.
>> 
>   Pardon me for being alive, but,

No problem.

>
>   what's wrong with having mixed case names in any OS?

It's confusing.  I have to not only remember your login ID, I have
to also remember the case, which makes it harder for people who want
to send you mail.

>
>   As I see it the only caution to be taken is not to have two usernames
>that are spelled (case insensitively) the same.

Yes, while allowed by the standards, I think in practice allowing such
would be a very bad idea.

>
>   Beyond that all you need is a *very simple* shell script to build
>an aliases file all lower/upper/whatever case to comply with the
>standard. And as you say, there are laws against that.
>
>   I can't see any reason for not giving users mixed case names if that
>makes them happier other than laziness from the part of the asministrator
>or plain tradition.
>
>   So in your case: just make an aliases file where every user is also
>defined with his/her lowercase username and redirected to the appropriate
>username.

I will probably alias the lower-case name to the appropriate mixed case
name one I get the original problem resolved.  In the mean time, trying
to do something like "kunkee3: Kunkee3" in the aliases file causes
sendmail to blow up.

>
>   And while you are at that, you might consider making other aesthetic
>aliases as well, such as including a dot or underscore between initials
>and name. If that's in the user data field of your passwd file, making
>a shell script to do it shoudln't be a big deal either.
>
>   Then face you boss and tell her/him you are giving everyone the
>commodity of being addressable as "JDoe", "jdoe", "J.Doe" or "J_Doe"
>at their convenience so that anyone can find them while they login
>with their beloved mixed case (or whatever) usernames.
>
>      Just my 2c.
>
>                                 jr

All good ideas.  Actually, I think a properly configured sendmail will
try to match names from the GCOS field if an login id is not matched.

Thanks to all for all the suggestions.  Too bad nothing has worked.
I think I have a brain-dead sendmail.  The obvious answer, ie. to 
add 'u' to the F= flags for the local mailer, does not work.  The
local mailer will handle something like "mail -d Kunkee3" correctly,
case-sensitive and all, so it is definitely sendmail, or some hidden
system/sendmail configuration of which I am unaware.


Randy
-- 
Randy Kunkee
Houston, TX
713-464-1340
kunkee@neosoft.com



^ permalink raw reply	[flat|nested] 17+ messages in thread

* Re: User IDs with uppercase chars - sendmail does not like
  1996-01-30  5:00     ` Kari E. Hurtta
@ 1996-02-07  5:00       ` Randy Kunkee
  0 siblings, 0 replies; 17+ messages in thread
From: Randy Kunkee @ 1996-02-07  5:00 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1794 bytes --]

In article <1996-01-30.dead.letter.3@dionysos.FMI.FI>,
Kari E. Hurtta <hurtta@dionysos.fmi.fi> wrote:
>kunkee@Starbase.NeoSoft.COM (Randy Kunkee) writes:
><...>
>�% /usr/bin/sendmail -v Kunkee3
>�Kunkee3... User unknown
>�%
>
>hurtta@dionysos:~% grep OutOfBox /etc/passwd
>OutOfBox:z:995:997:Out of Box Experience:/usr/people/tour:/bin/csh
>hurtta@dionysos:~% /usr/lib/sendmail -bv OutOfBox
>OutOfBox... deliverable: mailer local, user OutOfBox
>hurtta@dionysos:~% /usr/lib/sendmail -bv outofbox
>outofbox... User unknown
>hurtta@dionysos:~% /usr/lib/sendmail -d0.1 -bv Postmaster
>Version 8.7.3
> Compiled with: LOG MATCHGECOS MIME8TO7 NAMED_BIND NDBM NETINET NETUNIX
>                NIS SCANF XDEBUG
>
>============ SYSTEM IDENTITY (after readcf) ============
>      (short domain name) $w = dionysos
>  (canonical domain name) $j = dionysos.fmi.fi
>         (subdomain name) $m = fmi.fi
>              (node name) $k = dionysos
>========================================================
>
>\root... deliverable: mailer local, user \root
>hurtta@dionysos:~% 
>
>I don't see why it don't work :-)
>
>[ CC'ed to questioner. ]


I posted a final answer on another thread (sorry).  I'll repost the
solution to my problem (using sendmail V5) one more time, and then
hopefully this thread will wither and die.  I appreciate all the
activity here.  It turns out (on advice from DEC which works) that
turning on the option "OG" in the sendmail.cf file makes everything
work quite nicely.  It even will find a mixed-case match when the
mail to to an all lowercase user name!  This is even more than I
had hoped for.  Now it's interested that this option supposedly
only applies to V8, according to my O'Reilly Sendmail book.

Randy
-- 
Randy Kunkee
Houston, TX
713-464-1340
kunkee@neosoft.com



^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~1996-02-07  5:00 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-01-26  5:00 User IDs with uppercase chars - sendmail does not like Randy Kunkee
1996-01-26  5:00 ` David Mischel
1996-01-27  5:00   ` Uwe Leinberger GSI Darmstadt
1996-01-29  5:00     ` Bruno Wolff III
1996-01-29  5:00     ` Neil Hoggarth
1996-01-29  5:00     ` Randy Kunkee
1996-01-30  5:00       ` jr
1996-01-30  5:00         ` Brad Knowles
1996-02-01  5:00         ` Randy Kunkee
1996-02-01  5:00       ` Nigel Metheringham
1996-02-01  5:00         ` Kari E. Hurtta
1996-01-26  5:00 ` Kari E. Hurtta
1996-01-27  5:00   ` Brendan Murray
1996-01-29  5:00   ` Randy Kunkee
1996-01-30  5:00     ` Kari E. Hurtta
1996-02-07  5:00       ` Randy Kunkee
1996-01-30  5:00     ` Tilo Schuerer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox