[ http://issues.apache.org/jira/browse/JAMES-296?page=all ]
Soren Hilmer resolved JAMES-296:
--------------------------------
Resolution: Fixed
> James does not handle Source Routing
> ------------------------------------
>
> Key: JAMES-296
> URL: http://issues.apache.org/jira/browse/JAMES-296
> Project: James
> Type: Bug
> Components: Mailet API
> Versions: 2.2.0
> Reporter: Soren Hilmer
> Assignee: Soren Hilmer
> Fix For: 2.3.0
>
> 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.
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]