james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam R (JIRA)" <server-...@james.apache.org>
Subject [jira] [Updated] (JAMES-2785) DNSBounce message without boundaries
Date Tue, 04 Jun 2019 19:01:00 GMT

     [ 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:
{code:java}
ByteArrayOutputStream outStream = new ByteArrayOutputStream();
msg.writeTo(outStream);
String content = outStream.toString();
 LOGGER.info("Raw DSN message: \r\n" + content);{code}


> 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


Mime
View raw message