james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danny Angus" <da...@apache.org>
Subject RE: ID-mail
Date Thu, 06 Mar 2003 22:31:44 GMT
Yes message-ID calls to MimeMessage.saveChanges() generate a new message-ID.

This is expected behaviour. The theory is that any changes made make this a different message
o the previous version.
I don't agree with that, but its not going to change.
The trick is to get the message id before you save changes and put it back once the save is
done.

d.

> -----Original Message-----
> From: Scherer Pierre [mailto:scherer_pierre@ibelgique.com]
> Sent: 06 March 2003 18:05
> To: James-dev
> Subject: ID-mail
> 
> 
> 
> Hi again,
> 
> Is it possible that the ID of a message change during is life-cycle in the
> spoolmanager?
> Because in my log file 'tracking', I have a change of ID for the same mail
> when mail change of processor (root -> transport)
> like this :
> 
> ----------
> 06/03/03 18:48:07 INFO  tracking: Journal : Mailet 
> [AddFooterTrack], Sender
> [test2@127.0.0.1], recipient [test3@scherer.be], message id
> [<NJEIIFLAJEDLJCIHHKMAEEJGCCAA.test2@127.0.0.1>], subject [Test local
> delivery], remoteIpAddr [127.0.0.1], state [root], size [722.0], size body
> [13], info [addFooter : Helloworld]
> 
> 06/03/03 18:48:07 INFO  tracking: Journal : Mailet 
> [AddHeaderTrack], Sender
> [test2@127.0.0.1], recipient [test3@scherer.be], message id
> [<NJEIIFLAJEDLJCIHHKMAEEJGCCAA.test2@127.0.0.1>], subject [Test local
> delivery], remoteIpAddr [127.0.0.1], state [root], size [722.0], size body
> [13], info [header add : name [X-MailetHeader]; value [TEST]]
> 
> 06/03/03 18:48:07 INFO  tracking: Journal : Mailet [ToProcessorTrack],
> Sender [test2@127.0.0.1], recipient [test3@scherer.be], message id
> [<NJEIIFLAJEDLJCIHHKMAEEJGCCAA.test2@127.0.0.1>], subject [Test local
> delivery], remoteIpAddr [127.0.0.1], state [root], size [722.0], size body
> [13], info [pass to transport processor]
> 
> 06/03/03 18:48:08 INFO  tracking: Journal : Mailet [LocalDeliveryTrack],
> Sender [test2@127.0.0.1], recipient [test3@scherer.be], message id
> [<8303462.1046972887801.JavaMail.piepierre@pipo>], subject [Test local
> delivery], remoteIpAddr [127.0.0.1], state [transport], size [727.0], size
> body [13], info [Mail is stroring in the local mailbox of :
> test3@scherer.be]
> 
> 06/03/03 18:48:08 INFO  tracking: Journal : Mailet [LocalDeliveryTrack],
> Sender [test2@127.0.0.1], recipient [test3@scherer.be], message id
> [<8303462.1046972887801.JavaMail.piepierre@pipo>], subject [Test local
> delivery], remoteIpAddr [127.0.0.1], state [ghost], size [727.0], 
> size body
> [13], info [Mail comes GHOST]
> ----------
> 
> There is a change of ID between 3 and 4 log.
> 
> Thanks evreyone for your constant help!!!!
> 
> -Pierre
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: james-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: james-dev-help@jakarta.apache.org
> 


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


Mime
View raw message