You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by "chibenwa (via GitHub)" <gi...@apache.org> on 2024/04/15 19:06:44 UTC
[PR] JAMES-4030 Carry over Bouncer exceptions [james-project]
chibenwa opened a new pull request, #2204:
URL: https://github.com/apache/james-project/pull/2204
This results on a nack of the underlying mailqueue, thus not loosing the email
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
Re: [PR] JAMES-4030 Carry over Bouncer exceptions [james-project]
Posted by "chibenwa (via GitHub)" <gi...@apache.org>.
chibenwa commented on PR #2204:
URL: https://github.com/apache/james-project/pull/2204#issuecomment-2058328807
forgotten
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
Re: [PR] JAMES-4030 Carry over Bouncer exceptions [james-project]
Posted by "Arsnael (via GitHub)" <gi...@apache.org>.
Arsnael commented on code in PR #2204:
URL: https://github.com/apache/james-project/pull/2204#discussion_r1566668574
##########
server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/DSNBounce.java:
##########
@@ -295,6 +295,7 @@ public Optional<String> getSubjectPrefix(Mail newMail, String subjectPrefix, Mai
@Override
public void service(Mail originalMail) throws MessagingException {
+ System.out.println(originalMail.getState());
Review Comment:
debug spotted
##########
server/mailet/integration-testing/src/test/java/org/apache/james/mailets/BounceIntegrationTest.java:
##########
@@ -126,11 +126,13 @@ void dsnBounceMailetBouncedMailShouldBeAdressedToTheSenderInEnvelopeAndHeader(@T
"Please bounce me to the return address\r\n"
);
- MimeMessage mimeMessage = MimeMessageUtil.mimeMessageFromString(testIMAPClient.connect(LOCALHOST_IP, jamesServer.getProbe(ImapGuiceProbe.class).getImapPort())
+ String string = testIMAPClient.connect(LOCALHOST_IP, jamesServer.getProbe(ImapGuiceProbe.class).getImapPort())
.login(SENDER, SENDER_PASSWORD)
.select(TestIMAPClient.INBOX)
.awaitMessage(awaitAtMostOneMinute)
- .readFirstMessage());
+ .readFirstMessage();
+ System.out.println(string);
Review Comment:
debug spotted
##########
server/mailet/mailetcontainer-impl/src/main/java/org/apache/james/mailetcontainer/impl/JamesMailetContext.java:
##########
@@ -377,7 +377,9 @@ public void sendMail(MailAddress sender, Collection<MailAddress> recipients, Mim
@Override
public void sendMail(Mail mail) throws MessagingException {
- sendMail(mail, Optional.ofNullable(mail.getState()).orElse(Mail.DEFAULT));
+ String state = Optional.ofNullable(mail.getState()).orElse(Mail.DEFAULT);
+ System.out.println("Send amil " + state);
Review Comment:
debug spotted
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org
Re: [PR] JAMES-4030 Carry over Bouncer exceptions [james-project]
Posted by "Arsnael (via GitHub)" <gi...@apache.org>.
Arsnael merged PR #2204:
URL: https://github.com/apache/james-project/pull/2204
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org