Manage Learn to apply best practices and optimize your operations.

Remove Encryption from Mail

While converting users from North American to International licenses (which requires a new ID in 4.X), I discovered a problem -- users who had encrypted mail in their mail file could not read any of the encrypted documents using the new ID. This agent removes the encryption from the documents so the user can read all their old messages with the new ID.


First, create a view called "Encrypted" with the following view selection formula:

SELECT (Form = "Memo" | Form = "Reply") & Encrypt = "1"

View column formulas don't matter. I just used the columns from the Inbox.

Create an agent with the following code. Set it to run manually from Actions menu, on all documents in the database.

Sub Initialize
Dim session As New notessession
Dim database As notesdatabase
Dim view As notesview
Dim document As notesdocument

Set database = session.currentdatabase
Set view = database.getview("Encrypted")
Set document = view.getfirstdocument

While Not document Is Nothing
Call document.removeitem("$Seal")
Call document.removeitem("$SealData")
Call document.removeitem("Encrypt")

Call document.save(True, False)

Set document = view.getfirstdocument
Wend
End Sub

You can then create the new ID and the user will have no problems.

This was last published in November 2000

Dig Deeper on Lotus Notes Domino Email Encryption

Join the conversation

1 comment

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

Interesting workaround. I'll add it to my notes.
Cancel

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchExchange

SearchContentManagement

Close