But what happens with messages that are split into multiple messages (because of a matcher)? Do they get the same message-id? And what if the message has been changed in such a way that the message is no longer similar to the original message? Should it get a new message-id when the message content has been changed completely? Martijn Brinkers
On Sun, 2008-10-05 at 00:31 +0200, Stefano Bagnara wrote: > Hi all, > > I just updated my local server to include the patch I proposed in JAMES-875. > > This basically adds this code to MimeMessageWrapper: > ----- > protected void updateMessageID() throws MessagingException { > if (getMessageID() == null) super.updateMessageID(); > } > ------- > > This way my Message-IDs are presereved after Javamail's > mimeMessage.saveChanges calls. > > Most of our mailets are otherwise altering the Message-ID and this can > lead to many issues (SpamAssassin score increased, Domain-Key > verification failing...). > > I think this should be applied ASAP to trunk and also backported to 2.3 > branch. > > Opinions? > > Stefano > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]