You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/04/27 10:31:00 UTC

[jira] [Issue Comment Deleted] (JAMES-3572) SMTP server does not recognize LF only separator

     [ https://issues.apache.org/jira/browse/JAMES-3572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benoit Tellier updated JAMES-3572:
----------------------------------
    Comment: was deleted

(was: This is due to a bad computation in the body size in case the line separators are missing.

https://github.com/apache/james-project/pull/407 would fix this.)

> SMTP server does not recognize LF only separator
> ------------------------------------------------
>
>                 Key: JAMES-3572
>                 URL: https://issues.apache.org/jira/browse/JAMES-3572
>             Project: James Server
>          Issue Type: Bug
>          Components: SMTPServer
>    Affects Versions: 3.6.0
>         Environment: James: built from james-project-3.6.0 tag
> OS: Linux
>            Reporter: Karsten Otto
>            Priority: Major
>             Fix For: 3.7.0, 3.6.1
>
>
> When I send a mail via SMTP and the blank line between headers and body consists only of an LF instead of CR LF, then James does not recognize it as the separator. Instead, it stores any subsequent body as part of the header blob, I assume as continuation of the last header line.
> I also observed this in DSN bounces, where the last part had the rfc822-headers type but included the mail body, when it was sent with an LF-only separator.
> I am not sure if this is indeed a bug or just a strict interpretation of the standard. If this is not a bug in your opinion, please feel free to close this ticket.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org