Archiving not keeping mailfile structure

When certain users archive mail from their mail file. The archive mail does not appear in the same structure as the mailfile. In the archive all the messages are in the all documents view instead of the folders they were originally filed in on the mailfile.Does anybody know how to

  1. Fix this problem on the archive file

  2. Archive mail in a way that all the archive mail file will look have the same structure as the mailfile and keep all the messages in their respective folders as they were on the users mailfile.

Thanks.

Subject: Archiving not keeping mailfile structure

First time, the archive is created, the folder structure is copied to the archive. Newly created folders are not synchronized with the archive. This makes no sense to the user, but it should also be noted, that deleted or moved folders are not synchronized too. An archive is not an replica. We take a mail archive as an snapshot of data at a special moment of time. Example: Yearly creation of an new archive for all mail data of the preceding year.

I know, this is no solution, but I hope this helps a little.

Kind regards,

Dirk

Subject: Archiving not keeping mailfile structure

Folder structure problems existed in R5. We have this button that fixed the issue with folders, not sure if it works in ND6, but here is the code:

Sub Initialize

Dim s As New notessession

Dim db As notesdatabase

Dim folder As notesview

Dim doc As notesdocument

Dim unid As String



Set db=s.currentdatabase



Forall v In db.views

	If v.IsFolder Then

'Un-Comment out the next 2 lines to check modDate while running

'modDate = v.LastModified

'Messagebox "View: " + v.Name + " LastMod: "+ Cstr(modDate)

’ get a handle on folder as a NotesDocument using UNID

		unid = v.universalID

		Set doc = db.getdocumentbyUNID( unid )

		doc.test=""

		Call doc.save( False, False )

'Un-Comment out the next 2 lines to check modDate while running

'modDate = v.LastModified

'Messagebox "View: " + v.Name + " LastMod: "+ Cstr(modDate)

	End If

End Forall

End Sub

Subject: RE: Archiving not keeping mailfile structure

It pains me to see the working code and it still doesn’t work liek that out of the box in R6.5.1.

Nice code though. Thanks…

Subject: RE: Archiving not keeping mailfile structure

Sonia Lopes, your codes are very good. I addedit to my mail agent “archive” and works very well.

Yet how can I make it work on server for every

client? I set up archiving policy and deny clients’ function already.

I’d like to keep their file struction sync between live and archive

databases. It’s 6.5.1 on Windows 2000

server.

Thanks.

Subject: Archiving not keeping mailfile structure

The purpose of the archive is to provide a place for historical data.

The archive structure matches the “Live” database at the time that it is created. Should you delete folders from the “Live” database, they will not be deleted from the archive.

New folders that have been created “SHOULD” be created in the archive at the time that an email contained in that folder is archived. I know that it doesn’t always work properly though.

The archive is not designed to be an exact replica. You might want to consider regulatory compliance requirements before you implement something that will cause the archive to delete folders in order to match the structure of the “Live” database.

Subject: Keeping the folder structure

ReduceMail Pro (http://reducemail.com) will keep the folder structure intact when archiving.