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/30 15:18:00 UTC
[jira] [Closed] (JAMES-3571) S3 PUT fails for SMTP mail without
body
[ https://issues.apache.org/jira/browse/JAMES-3571?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benoit Tellier closed JAMES-3571.
---------------------------------
Resolution: Fixed
Merged both on master (upcoming 3.7.0) and on 3.6.x for the 3.6.1.
> S3 PUT fails for SMTP mail without body
> ---------------------------------------
>
> Key: JAMES-3571
> URL: https://issues.apache.org/jira/browse/JAMES-3571
> Project: James Server
> Issue Type: Bug
> Components: Blob
> Affects Versions: 3.6.0
> Environment: James: built from james-project-3.6.0 tag
> Blobstore: MinIO latest
> OS: Linux
> Reporter: Karsten Otto
> Priority: Major
> Fix For: 3.7.0, 3.6.1
>
> Time Spent: 50m
> Remaining Estimate: 0h
>
> When I send a mail via SMTP and provide only headers (no separator nor body, i.e. ending DATA with a . immediately after the headers), then the S3 PUT operation for the body fails with "400 Bad Request: null". Debug output shows that James provides a "Content-Length: -2", likely the cause of this error.
> This only happens since I upgraded to James built from the james-project-3.6.0 tag. A version built from master a month before accepted the mail and stored an empty blob (size 0) in S3.
> Admittedly this is an edge case, but easily happens on copy+paste to an open SMTP connection.
--
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