Showing posts from August, 2012

Sync unread marks between two clustered mailboxes


Do you take advantage of Domino clusters in your company or for your customers? Just for mailboxes or also for Notes applications?

Over the last years Notes clustering is much more interesting:
for example there is an advanced Notes database property that forces Domino clustered servers to replicate ALSO unread marks.

That setting is interesting because Notes users need to use their mail without knowing whether that mailbox is on server A or server B: exchanging unread marks is a great option for a "consistent" mail experience.

Unfortunately the setting described above is useless if the 2 clustered mailboxes are not initially in sync, I mean "unread marks" counting.
Sometimes unread marks counts are not initially the same for clustered mailboxs, and the advanced db property setting does not solve the problem!

Ok, you can "force" that status of each Notes document using the "Ins" key, but that is time-consuming and must be done…

Unable to start the Domino 852 server as a service and run the Java Controller on Windows 2008 R2 server.

Domino Administrator has installed a Domino 8.5.2 server on a Windows 2008 R2 machine. However, the service for the "Lotus Domino Server" does not start up either manually by clicking "start" service or automatically when the Operating System is rebooted.
It gives the below error, when trying to start the service manually.

Also, when the administrator tries to start the Lotus Domino Console i.e. the Java Controller for Domino, it gives the below error message.

"Either the Server Controller is not running on the host INMAIL01/Acme or is not listening on port 2050"

In the java controller log, it shows the below errors. The log for the java controller will be located in Domino\data\dcntrlrdcntrlr201010051228.out. The numbers indicate the date and time when the file was created.
createServerSocket=Unrecognized Windows Sockets error: 0: JVM_Bind
Unable to open listener socket: Unrecognized Windows Soc…

Automatic HTTP-Login via HTTP link and redirecting to a database

I used this way to get a xPages based view displayed in an external application like an embedded view.


With this way the authentication was made with the login credentials and was directly rerouted to the needed database

How to move the Resource & Reservations database to a different server

 Technote (FAQ)

Question How do you move a Resource & Reservations (R&R) database on one Lotus Notes server to another server within the same domain? 

Answer Moving an R&R database from one server to another.
1. Pull a new replica of the R&R database from the old server to the new server.

2. Open the access control list (ACL) of the R&R database on the new server. a) Change the Server ACL to the new server.

b) Set the Manager and [Create Resource] (if needed) ACL to the new Manager and Resource Creator.

c) Select the Advanced icon and set the Administration server to the new server name.

* To open the ACL in Notes releases prior to 8, choose File --> Database --> Access Control.

* To open the ACL in Notes 8 and later releases, choose File --> Application --> Access Control.
3. The following agent can be run on the Lotus Domino Directory to change the room/resource mail-in documents from the old server name to the new server name. You do not have to worry about the…

Get Rules From Users Mailfile

A few days ago I was asked to create a report about all rules in all mailfiles. The easiest way to do this is to write an agent to examine the mailfiles.
The result of this scan is stored in a Notes database.
Put the following code into an agent ( start: manually from menue, target: All Selected Documents 

Sub Initialize
Dim session AsNewNotesSession
Dim NAB AsNotesDatabase
Dim resultDocs AsNotesDocumentCollection
Dim MailFiles AsNotesDocumentCollection

Dim doc AsNotesDocument
Dim NABDoc AsNotesDocument
Dim rtitem AsVariant
Dim MailFileItem AsNotesItem
Dim i AsInteger
Dim NabDocCounter AsInteger
Dim fNAME AsString
Dim logline AsString
Set NAB = session.CurrentDatabase
Set MailFiles = NAB.UnprocessedDocuments

Dim RetCode AsInteger
Dim MailServer AsString
Dim MailFile AsString

Dim db_AllDocsCol AsNotesDocumentCollection
Dim db_User AsString
Dim archiveDb AsNewNotesDatabase( "", "RULEZ.NSF" )
Dim k AsInteger
For Na…

'Set Config' parameter does not alter the parameter in the Domino server configuration document

Quelle: Dennis´ Domino Blog
1. Set ENABLE_SRVCFG_NAB_UPDATE=1 in your Notes.ini
2. Pass in the keyword "update" on the SET CONFIG command, such as

When you issue a "set config" command at the Domino™ server console (for example, "set config server_restricted=2") to change the value of an existing Notes.ini parameter, the value change for the parameter is not reflected in the Configuration document. The Configuration document parameter stays the same, and soon afterwards the parameter reverts back to its old value. 
This issue was reported to Lotus software Quality Engineering; however, it was determined not to be a software problem. To have such console commands be reflected in the Configuration document, you need to do one of two things: 

    "set config server_restricted=0 update"

NOTES.INI-Eintrag "TypeAheadShowServerFirst"

Immer wieder gibt es Probleme bei der Mailadressierung, weil immer die lokalen Adressbücher vor den auf den Server liegenden durchsucht werden.
Beginnend mit IBM Notes/Domino 9 gibt es einen Eintrag für die NOTES.INI am Client, der dieses Problem behebt:

Mit diesem Eintrag wird dem Client mitgeteilt, zuerst die Adressbücher am Server und erst danach die lokalen zu durchsuchen. Diese Einstellung kann über die Desktop-Einstellung an die Clients ausgerollt werden.