Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JAMES-296

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JAMES-296
    Summary: James does not handle Source Routing
       Type: Bug

     Status: Open
   Priority: Major

    Project: James
 Components: 
             Mailet API
   Fix Fors:
             2.2.1
   Versions:
             2.2.0RC5

   Assignee: Soren Hilmer
   Reporter: Soren Hilmer

    Created: Wed, 9 Jun 2004 1:17 AM
    Updated: Wed, 9 Jun 2004 1:17 AM

Description:
Old RFC-821 style addresses like:
 @YYY.XXX.DK:[EMAIL PROTECTED]

Makes James (SMTPServer, but the actual bug is in the mailet api's MailAddress): 

ERROR smtpserver: Error parsing sender address:  @YYY.XXX.DK:[EMAIL PROTECTED]: No 
local-part (user account) found at position 1

Which is logical as MailAddress is not designed to handle source routes.

But according to RFC-2821 appendix F.2:

"SMTP servers MUST continue to accept source route syntax as specified in the main 
body of this document and in RFC 1123.  They MAY, if necessary, ignore the routes and 
utilize only the target domain in the address.  If they do utilize the source route, 
the message MUST be sent to the first domain shown in the address.  In particular, a 
server MUST NOT guess at shortcuts within the source route."


So to be compliant James actually MUST accept this syntax

Proposed fix is to ignore the source routes and use the target domain as suggested in 
the quote above. This is also the way the Postfix mailserver handles this.





---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to