We have experienced issues while migrating a customer from Lotus Notes to Microsoft Exchange. The issue centered around any encrypted messages that they try to migrate over to Exchange would not be able to be read by the migration tool.

Fortunately for us, Lotus (IBM) has a technote which allows you to remove encryption from messages in these messages. First, you need to create a view called Encrypted.

Then create a LotusScript menu action:

 

Sub Initialize

    ' This script was copied from the IBM Knowledge base tech doc 1089495 - How to Remove Encryption
    ' from Mail Documents (When Converting Licenses from NA to International) - ZW

    Dim s As New notessession
    Dim db As notesdatabase
    Dim view As notesview
    Dim doc As notesdocument
    Dim nextdoc As notesdocument

    Set db = s.currentdatabase
    Set view = db.getview("Encrypted")
    Set doc = view.getfirstdocument

    While Not doc Is Nothing
        Set nextdoc = view.getnextdocument(doc)
        ' The below loop is mandatory to ensure that all $FIle entries are unecrypted (sic - ZW)
        Forall i In doc.items
            If i.isencrypted Then
                i.isencrypted=False
            End If
        End Forall

        'Must have at least 1 field encrypted in order to call Encrypt method
        Dim temp As New NotesItem(doc,"tempjunk","temp")

        temp.IsEncrypted=True
        Call doc.encrypt
        Call doc.save(True, False)

        'This portion can now remove the fields relative to encrypting the single token encrypted field.

        Call doc.removeitem("$Seal")
        Call doc.removeitem("$SealData")
        Call doc.removeitem("SecretEncryptionKeys")
        Call doc.removeitem("Encrypt")
        Call doc.removeItem("tempjunk")
        Call doc.save(True, False)
        Set doc = nextdoc
    Wend

End Sub

 

 

 

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.