james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Angus" <da...@thought.co.uk>
Subject RE: DO NOT REPLY [Bug 5118] New: - spaces in mail from address are not supported
Date Tue, 27 Nov 2001 13:37:49 GMT
As far as I understand the issue here..

Spaces are Illegal in RFC822 mail addresses,<me and me@mycomp.com> should
not work,
however <me><and><me@mycomp.com> should

as I understand it this (from RFC822)
"local-part  =  word *("." word)             ; uninterpreted
                                             ; case-preserved"

means that the local part of an address can be any number of words,
delimited by dots. No mention of space, therefore space isn't allowed.

If you feel, on the other hand, that the handling of illegal addresses is
unsatisfactory, let us know why, and what behaviour you think James ought to
display.

Further.. if you think that a behaviour which is *not* in keeping with the
RFC's is in general use, provide some examples and we can make that
behaviour an optional setting as in the case of the case-insensitive address
local-part (not enforced by RFC822, see above, but supported in practice by
most servers)

d.


> -----Original Message-----
> From: bugzilla@apache.org [mailto:bugzilla@apache.org]
> Sent: Tuesday, November 27, 2001 11:19 AM
> To: james-dev@jakarta.apache.org
> Subject: DO NOT REPLY [Bug 5118] New: - spaces in mail from address are
> not supported
>
>
> DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
> RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
> <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5118>.
> ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
> INSERTED IN THE BUG DATABASE.
>
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5118
>
> spaces in mail from address are not supported
>
>            Summary: spaces in mail from address are not supported
>            Product: James
>            Version: 1.2.1
>           Platform: All
>         OS/Version: Windows NT/2K
>             Status: NEW
>           Severity: Blocker
>           Priority: Other
>          Component: James Core
>         AssignedTo: james-dev@jakarta.apache.org
>         ReportedBy: tony.nys@aditel.be
>                 CC: tony.nys@aditel.be
>
>
> Spaces in the MAIL FROM:<me and me@mycomp.com> will not work
> error 501
>
> SmtpServer.parseCommand() uses a StringTokenizer with "space" and
> ":" as tokens
> but if an email address has spaces, the tokens are not correct
>
> Better use String.indexOf() in stead of stringtokenizer
>
> --
> To unsubscribe, e-mail:
<mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:james-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:james-dev-help@jakarta.apache.org>


Mime
View raw message