Junk Mail Rules - Export / Import?

Is it possible to ‘export’ the Junk Mail Rules from one client and import to another client or the server Rules?

Subject: Junk Mail Rules - Export / Import?

Seems that Rule documents are regular documents but they do have the $KeepPrivate set to 1. So that means you can’t copy or forward them… similar to how the Notes client handles the email “do not allow copy or forward of this doc” function.

So… to copy rules from one database to another here’s what you do…

Create a view of form=“Mailrule” in both dbs

set $KeepPrivate to 0

copy/paste rule docs from Db to Db

edit the new rule doc and resave it

Subject: Junk Mail Rules - Export / Import?

Yes. It is possible. The rules are saved in the Calendar Profile, but you would need to code the export/import functionality.

I have done some work to create Junk Mail rules. I needed to use the C API in Lotuscript to compile the formula, but that’s the only hard part. Every thing else is easy.

If you don’t need to do the export/import automaticly, then you can try to copy and paste the rules from one user to the other user. I think that in the View there is Lotuscript code to automaticly generate then the approperiate rules for the user, after you have pasted the rules.

cheers

Stevan Bajic