DAMO replication

When I’m out of the office, I read my mail using the iNotes interface.But when I’m in the office, I read it using MS Outlook which connects to the domino server using DAMO.

The problem is that when I’ve read my message using iNotes, they are marked as unread when I’m receiving my mails later on in outlook.

The other way around it’s the same problem: when I read my mails in outlook and later on I’m connecting to the iNotes interface because I’m out of the office, those messages are marked as unread.

This is very annoying.

Is there a way to mark a message as read “for always” as soon as it is read in one of the clients (being it outlook using DAMO, iNotes or the Notes client), meaning the message will also be marked as read when it is retrieved by all other clients (cfr imap) ?

Subject: This TechNote will explain …

HI Guy,

Below, please find TechNote #7003399 which provides an explanation of the behavior you are seeing. DAMO uses Notes replication to synchronize the Outlook/DAMO client with the server based file copy just as a Notes client with a local replica would. So as ou read below, DAMO is acting just as a Notes client acts.

http://www-1.ibm.com/support/docview.wss?rs=0&q1=7003399+AND+Domino+AND&uid=swg27003399&loc=en_US&cs=utf-8&cc=us&lang=en

Thanks, Mike

Lotus Software Knowledge Base

Title:

Unread Marks and Domino Web Access (iNotes)

Product:

Lotus Domino Web Access > Lotus Domino Web Access > 6.x, 5.x

Platform:

Platform Independent

Date:

09/11/2004

Doc Number:

7003399

Abstract

This document discuses how unread marks work in Domino Web Access (iNotes), including when accessing multiple replicas of a mail file with Domino Web Access and accessing a mail file from both the Notes Client and Domino Web Access client.

Content

Unread Marks and Domino Web Access (iNotes)

Unread marks for a database are tracked through an Unread Mark table that is stored in the database. This Unread Mark table lists the note ids for unread documents. These tables are stored according to the User Name associated with the Unread Mark activity.

When a document is read in the Domino Web Access mail file, unread mark processing similar to the unread mark processing used in the Notes Client updates a copy of the unread mark table cached in memory, removing the noteid from the Unread Mark table. However, for the Domino Web Access client this memory copy is cached at the server, whereas for the standard Notes Client the cache is maintained at the client. When the Domino Web Access user closes the open session, the table is written back to the database in the same way that it is written when the session is closed from the Notes Client.

Accessing multiple replicas of a mail file with Domino Web Access

The Domino Web Access client does not use an Unread Mark Journal like the Notes client does to synchronize unread marks between replicas of a mail file (the standard Notes Client uses an Unread Mark Journal that is stored in the cache.dsk file). Therefore, when accessing different replicas of the Domino Web Access mailfile, no update occurs in a newly accessed replica to “synchronize” the unread marks with previously accessed replicas of the file. Unread Marks in Domino Web Access reflect activity specific to each replica. Lotus Software Quality Engineering is aware of the limitation of Domino Web Access not having use of an Unread Mark Journal.

For more information on how the Unread Mark Journal works in the Notes client and its limitations within clustered environments, refer to document 1100309, “Unread Mark Problems in Clustered Environments”.

Accessing a mail file from both the Notes Client and Domino Web Access client

Using both the Notes client and Domino Web Access client to access the same database should properly update the Unread Mark information. The Unread Mark table stored in the database is accessed and updated using the same processes, as explained above.

However, you may find that the activity from one client is not reflected in the database when accessed from the other. For instance, you may find that if you mark a new document as read in the Notes Client, it is not marked as read in the Domino Web Access client. Alternately, if you mark a new document as read in the Domino Web Access Client, you may find that it is not marked as read in the Notes Client.

This issue can occur because the Unread Mark table is specific to the spelling and case sensitivity of the ID that is in use. When accessing the file via the browser, the username that is cached at the server for authentication is used. This username is the first value that is listed in the Username entry (Fullname field) in the user’s Person document. If this name is different or in a different case from the username in the Notes ID, the user is basically working with two separate Unread Mark tables. In order to have documents marked as read in Domino Web Access display as read in the Notes client, the first value in the in the Username entry of the Person document must be the same in content and case as the username in the Notes ID (you can check the user name on the Notes ID by selecting from the Notes Client menu, 5.x: File, Tools, User ID, 6.x: File, Security, User Security).

In cases where the IWA server is using a third party method for authentication (such as LDAP authentication) ,the Notes canonical name configured in the third party product must use the same content and case as the Notes canonical name used in the ID and the Person document’s Username entry (the Username entry displays in abbreviated format but the value saved to the Fullname field is in full canonical format).

You can verify the name you are using to authenticate in Domino Web Access by setting the following notes.ini parameter at the server via the Set Config command:

set config webauth_verbose_trace=1

Related Document Links

Unread Mark Problems in Clustered Environments - Document 1100309

Subject: RE: This TechNote will explain …

Hi Mike,

as I understand it, the part titled “Accessing a mail file from both the Notes Client and Domino Web Access client” is the one that is related to my problem, if you say that DAMO acts exactly as the notes client.

If that’s the case, then it should work:

“Using both the Notes client and Domino Web Access client to access the same database should properly update the Unread Mark information.”

Unless the name used by Domino Web Access (the first name in the person document) is different or in a different case from the username in the Notes ID.

But that’s not the case, as you can see in the logs: (I enabled webauth_verbose_trace as suggested in the article)

Marked some messages as read in iNotes:


20/05/2005 17:03:22.94 [1678:0031-0DB0] WebAuth> Found user ‘CN=Guy De Schepper/O=testcompany’ in user cache.

20/05/2005 17:03:22.94 [1678:0031-0DB0] WebAuth> Found user ‘CN=Guy De Schepper/O=testcompany’ in user cache.

Closed iNotes and then opened outlook with DAMO:


20/05/2005 17:07:12.63 [16F4:004D-1664] WebAuth> User CN=Guy De Schepper/O=testcompany found in group Cache!

20/05/2005 17:07:12 Opened session for Guy De Schepper/testcompany (Release 6.5.4)

20/05/2005 17:07:13.90 [16F4:004F-13D0] WebAuth> User CN=Guy De Schepper/O=testcompany found in group Cache!

20/05/2005 17:07:13 Opened session for Guy De Schepper/testcompany (Release 6.5.4)

20/05/2005 17:07:14.05 [16F4:004E-13D0] WebAuth> User CN=Guy De Schepper/O=testcompany found in group Cache!

20/05/2005 17:07:14 Opened session for Guy De Schepper/testcompany (Release 6.5.4)

20/05/2005 17:07:18.49 [16F4:0050-13E4] WebAuth> User CN=Guy De Schepper/O=testcompany found in group Cache!

20/05/2005 17:07:18 Opened session for Guy De Schepper/testcompany (Release 6.5.4)

20/05/2005 17:07:19 Closed session for Guy De Schepper/testcompany Databases accessed: 4 Documents read: 0 Documents written: 0

File → Security → User Security shows:

Guy De Schepper/testcompany

for the Name field

So if I understand the article correctly, it should work in my situation, but it isn’t.

Subject: RE: This TechNote will explain …

I still don’t get it.

For example, when I read a message in outlook on my desktop the message is obviously marked as read.

But when I close my outlook on my desktop pc and then later on open outlook on my laptop (same version of windows, same Service Packs, same version of outlook) I receive the latest mail messages but the one I read on my desktop pc is still marked as unread on my laptop !

Even worse:

When I move a message to another folder in outlook on my desktop pc it remains in the original folder on my laptop !

In iNotes however, the message seems to be moved to the other folder.

But as I mentioned before, a message mark as read in one application not necessarily means it is also marked in the other applications (being it iNotes or another instance of outlook on another pc).

This is very strange behaviour in my opinion.

Subject: There have been some issues …

There are a couple of SPRs that address unread marks.

The best approach is to:

1 - Set the replications/synchronization frequency to a shorter period.

Tools->Options->Mail Setup->Send/Receive button

2 - In this same place, choose the option that will cause outlook to synchronize upon shutting down.

Note:

Adding REPL_PST_FORCE_SUBMIT=1 to the Notes.ini will cause the DAMO client to replicate with the server regardless of the polling results. This can be useful for testing but can have major server performance implications.

Subject: That’s the problem

Well, that’s just the problem.When I set the frequency to a shorter period (or even manually replicate/synchronize) and also the option to synch on shutdown, the problem remains.

I just did a new test:

  • made sure all options for synchronization are set (both on my laptop and on my desktop pc)

  • opened outlook on my laptop.

  • created new subfolder (inbox/testfolder)

  • moved several messages from my inbox to this new folder

  • manually clicked on send/receive

  • closed outlook on my laptop

  • opened outlook on my desktop pc

  • manually clicked on send/receive

→ messages remain in the inbox of outlook on desktop pc and are in the new subfolder inbox/testfolder of outlook on my laptop, even after several synchronizations

Maybe related to this problem is the fact that from time to time I receive a popup stating there is new mail but there isn’t.

Maybe this occurs because I did something with one or more emails (moved to another folder, deleted some messages, …) ?

Subject: Different issue but …

Hi Guy,

This is a known and intermittent issue addressed by SPR #SBOR69AUCZ which is in an Open (unresolved) state.

The process of syncronization is explained in the following TechNote #1198314

http://www-1.ibm.com/support/docview.wss?rs=0&q1=1198314&uid=swg21198314&loc=en_US&cs=utf-8&cc=us&lang=en

To trigger the synchronization process, send an email to yourself and then Send/Receive to send it to the server. The Send/Receive to cause it to populate the Inbox.

Mike