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 "Adam R (JIRA)" <se...@james.apache.org> on 2019/06/04 19:01:00 UTC

[jira] [Updated] (JAMES-2785) DNSBounce message without boundaries

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

Adam R updated JAMES-2785:
--------------------------
    Description: 
Email sent to [no-such-user@domain.com|mailto:no-such-user@domain.com] should to create a DNS bounce MIME multipart message with DSN reason message as first BodyPart and DSN report-type with action and status as second BodyPart but DSNBounce message doesn't contain boundaries for each BodyPart which causes problems to process it.

Code used to dump DSNBounce message:
{code:java}
ByteArrayOutputStream outStream = new ByteArrayOutputStream();
msg.writeTo(outStream);
String content = outStream.toString();
 LOGGER.info("Raw DSN message: \r\n" + content);{code}

  was:
Email sent to [no-such-user@domain.com|mailto:no-such-user@domain.com] should to create a DNS bounce MIME multipart message with DSN reason message as first BodyPart and DSN report-type with action and status as second BodyPart but DSNBounce message doesn't contain boundaries for each BodyPart which causes problems to process it.

Code used to dump DSNBounce message:

{{ByteArrayOutputStream outStream = new ByteArrayOutputStream();
}}{{msg.writeTo(outStream); }}
{{String content = outStream.toString();
LOGGER.info("Raw DSN message: \r\n" + content);
}}{{}}


> DNSBounce message without boundaries
> ------------------------------------
>
>                 Key: JAMES-2785
>                 URL: https://issues.apache.org/jira/browse/JAMES-2785
>             Project: James Server
>          Issue Type: Bug
>          Components: Matchers/Mailets (bundled)
>    Affects Versions: 3.0-beta4
>            Reporter: Adam R
>            Priority: Major
>
> Email sent to [no-such-user@domain.com|mailto:no-such-user@domain.com] should to create a DNS bounce MIME multipart message with DSN reason message as first BodyPart and DSN report-type with action and status as second BodyPart but DSNBounce message doesn't contain boundaries for each BodyPart which causes problems to process it.
> Code used to dump DSNBounce message:
> {code:java}
> ByteArrayOutputStream outStream = new ByteArrayOutputStream();
> msg.writeTo(outStream);
> String content = outStream.toString();
>  LOGGER.info("Raw DSN message: \r\n" + content);{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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