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 FW: DO NOT REPLY [Bug 5118] New: - spaces in mail from address are not supported
Date Tue, 27 Nov 2001 14:58:04 GMT


> -----Original Message-----
> From: Tony Nys [mailto:Tony.Nys@aditel.be]
> Sent: Tuesday, November 27, 2001 2:28 PM
> To: Danny Angus
> Cc: Evgeniy M. Smoliar
> Subject: RE: DO NOT REPLY [Bug 5118] New: - spaces in mail from address
> are not supported
> 
> 
> Hi,
> I also looked at the rfc and I think the mailfrom is ok since it is
> quoted
> (sorry, forgot to add the quotes)
> 
> Anyway, I think that the mailfrom should be accepted (->not using
> stringtokenizer)
> I could change the code in SmtpServer.java.parsecommand() but this would
> be not longer
> apache mailserver
> 
> this was the mailfrom address causing the problem (which was correctly
> received
> by our Exchange mailserver)
> 
> "/G=UNISO1209/S=UNISOURCE TEST
> 2/OU=UBN/ADMD=400NET/C=NL/"@x400gw.kpnrelay.nl
> 
> Cheers
> Tony
> -----Original Message-----
> From: Danny Angus [mailto:danny@thought.co.uk]
> Sent: Tuesday, November 27, 2001 2:38 PM
> To: James Developers List
> Cc: Tony Nys
> Subject: RE: DO NOT REPLY [Bug 5118] New: - spaces in mail from address
> are not supported
> 
> 
> 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