do the UIDs need to be sequential for imap? could you hash on the messages' unique id header, or the message itself?
-tim (i'm not affiliated with Apache James, just thoughts) On Aug 17, 2012, at 10:58 AM, Joshua Armstrong wrote: > Hi, James users. > > My company is using James to handle voicemail storage and retrieval and would > like to have a multiple server scenario where users can access their messages > from either server. We wanted to use IMAP to keep mail synchronized between > the servers but we're running to a problem with message UIDs colliding. Take > the following scenario: > > Server A gets a message for mailbox foo and assigns it UID 1. Server B also > gets a message for mailbox foo before Server A can forward a copy of its > message to server B. Now the new message on Server B has UID 1 so when > Server A forwards its message, Server B assigns it UID 2. When user foo goes > to check their voicemail, they might get routed to either server. If they > play message 1 on Server B, they'll get a different message than if they'd > played message 1 on Server A. > > That's the dilemma I'm trying to solve. Does anyone have any hints for me? > If it helps, we're using IBM Solid DB 7.0 as a back end and the front end is > a proprietary voicemail system. We currently have James running fine as a > single-server voicemail store but would like to add message-level replication > capabilities. > > -- > Joshua M. Armstrong > Software Engineer > Centurion, Inc. > > > --------------------------------------------------------------------- > 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]
