Arsnael commented on code in PR #2022:
URL: https://github.com/apache/james-project/pull/2022#discussion_r1505240328


##########
server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/RecipientRewriteTableProcessor.java:
##########
@@ -182,7 +186,8 @@ public RecipientRewriteTableProcessor(RecipientRewriteTable 
virtualTableStore, D
     }
 
     public RecipientRewriteTableProcessor(RecipientRewriteTable 
virtualTableStore, DomainList domainList, MailetContext mailetContext) {
-        this(virtualTableStore, domainList, mailetContext, new 
ProcessingState(Mail.ERROR), !REWRITE_SENDER_UPON_FORWARD);
+        this(virtualTableStore, domainList, mailetContext, new 
ProcessingState(Mail.ERROR), !REWRITE_SENDER_UPON_FORWARD,
+            false);

Review Comment:
   ```suggestion
               !FORWARD_AUTOMATED_EMAILS);
   ```
   
   That or delete `FORWARD_AUTOMATED_EMAILS` as it does not seem used if not 
for this



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to