Programmatic Control of Mail file Archive Settings?

we would like to set up a new users archive settings up in advance for them and would also like to update existing databases out there with similar settings.

I have looked at the code for the archive agents in a mail database and they make references to methods that are not documented. For example, db.archiveNow() and uidb.archiveSettings().

Does anyone know there any way to programmatically set archive settings for a database using Java or LotusScript?

Subject: Programmatic Control of Mail file Archive Settings?

The archiving uses a profile document in the database. You can look at changing this.

Subject: Programmatic Control of Mail file Archive Settings?

Why not use policies instead?

Subject: Aha! Perfect. Thanks.

I was looking for a pointer and you gave me exactly the clue I was looking for.

Thank you Nathan.