Thread View: news.software.readers
5 messages
5 total messages
Started by Stefan Haller
Fri, 17 Oct 1997 00:00
case sensitivity in email addresses
Author: Stefan Haller
Date: Fri, 17 Oct 1997 00:00
Date: Fri, 17 Oct 1997 00:00
30 lines
1664 bytes
1664 bytes
My mail and news reader, MacSOUP, treats the local part of email addresses as case sensitive, and the domain part as case insensitive, as required. So it considers <xyz@host.domain> and <XYZ@host.domain> to be two different addresses. Now I just came across the following problem: when a user wants to cancel a news article, I compare the "From:" address of the article with the user's address (as supplied by the user; being on a Mac, I have no other way to get at the user's address) to find out if the user is allowed to cancel that article. What happened is this: a user entered his address as "xyz@host.domain"; when posting, my newsreader created a From: header with this address; the server (or rather, the gateway; it's an online service) rewrote the From: header as "Xyz@host.domain"; my newsreader won't allow that user to cancel his article. Now I'm wondering if I should just give in and always treat email addresses as case insensitive in their entirety. Any advice would be appreciated. -- Stefan Haller Berlin, Germany http://www.inx.de/~stk/
Re: case sensitivity in email addresses
Author: Barry Margolin
Date: Fri, 17 Oct 1997 00:00
Date: Fri, 17 Oct 1997 00:00
37 lines
2201 bytes
2201 bytes
In article <m3hgagdj0j.fsf@phrodo.texas.net>, Al Castanoli <afcasta@texas.net> wrote: >stk@berlin.snafu.de (Stefan Haller) writes: > >> My mail and news reader,[whatever], treats the local part of email >> addresses as case sensitive, and the domain part as case insensitive, as >> required. So it considers <xyz@host.domain> and <XYZ@host.domain> to be >> two different addresses. > >[...] > >> Now I'm wondering if I should just give in and always treat email >> addresses as case insensitive in their entirety. >> >> Any advice would be appreciated. > >When in doubt, you could always consult RFC 822. RFC 822 says that the news server he's using, which automatically translates xyz@host.domain to Xyz@host.domain, is violating the spec. The local part of an address is supposed to be preserved exactly, so that you can send mail to people whose mail system is case sensitive. I think Stefan should implement his mail/news reader with case sensitivity, and complain to the maintainer of that server about the fact that it modifies addresses inappropriately. Its behavior could result in users not being able to receive replies to their posts, if the mail system only accepts mail for xyz@host.domain and not Xyz@host.domain. -- Barry Margolin, barmar@bbnplanet.com GTE Internetworking, Powered by BBN, Cambridge, MA Support the anti-spam movement; see <http://www.cauce.org/> Please don't send technical questions directly to me, post them to newsgroups.
Re: case sensitivity in email addresses
Author: Al Castanoli
Date: Fri, 17 Oct 1997 00:00
Date: Fri, 17 Oct 1997 00:00
26 lines
1591 bytes
1591 bytes
stk@berlin.snafu.de (Stefan Haller) writes:
> My mail and news reader,[whatever], treats the local part of email
> addresses as case sensitive, and the domain part as case insensitive, as
> required. So it considers <xyz@host.domain> and <XYZ@host.domain> to be
> two different addresses.
[...]
> Now I'm wondering if I should just give in and always treat email
> addresses as case insensitive in their entirety.
>
> Any advice would be appreciated.
When in doubt, you could always consult RFC 822. Many news/email
contraptions ignore the standards and create problems such as yours.
When we start telling people communicating via VT-52 terminals that
they can no longer post, then we can change the standards.
--
Al Castanoli | home - afcasta@texas.net | work - afcasta@aia.af.mil
| alternates - afn22800@afn.org & ah446@rgfn.epcc.edu
Computers save time like kudzu prevents soil erosion.
Re: case sensitivity in email addresses
Author: Sylvan Butler
Date: Fri, 17 Oct 1997 00:00
Date: Fri, 17 Oct 1997 00:00
25 lines
1841 bytes
1841 bytes
stk@berlin.snafu.de (Stefan Haller) wrote:
>Now I'm wondering if I should just give in and always treat email
>addresses as case insensitive in their entirety.
Probably. Most systems do.
I looked briefly and couldn't find the reference, but I seem to recall
that systems must treat the domain portion insensitive but are required
to preserve the case of the local portion because they don't know if the
destination is case sensitive or not.
Now granted, that doesn't directly answer your question. It does
indicate the gateway you mentioned is broken...
sdb
--
| Sylvan Butler | Not speaking for Hewlett-Packard | sbutler.boi.hp.com |
| Watch out for my e-mail address. Thank UCE. #### change ^ to @ #### |
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. --Benjamin Franklin, 1759
(Or was that Nov 11 1755, from the Pennsylvania Assembly ?)
"Don't Tread On Me!"
Re: case sensitivity in email addresses
Author: Stefan Haller
Date: Tue, 21 Oct 1997 00:00
Date: Tue, 21 Oct 1997 00:00
25 lines
1429 bytes
1429 bytes
Barry Margolin <barmar@bbnplanet.com> wrote: > RFC 822 says that the news server he's using, which automatically > translates xyz@host.domain to Xyz@host.domain, is violating the spec. It's not really a server, but a gateway to a German online service. Actually this gateway has lots of other problems besides this... > I think Stefan should implement his mail/news reader with case sensitivity, > and complain to the maintainer of that server about the fact that it > modifies addresses inappropriately. That's what I thought too; I just wanted to be sure. Thanks to anyone who answered. The email replies I got also agreed with this. -- Stefan Haller Berlin, Germany http://www.inx.de/~stk/
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads