Create mailfile in background

Hi,

issue : create mailfile in background (using adminp) with option : StoreIDInMailfile = true

problem : we created a database for userregistration. Since release 6.5.1 there is an option StoreIDInMailfile in the registrationclass. Id has to be store in mailfile for sending encrypted mail with iNotes Web Access.

Mailfiles has to be created in background, because they are located on a remoted server.

Adminp doc has to be created manually (using lotusscript) because there is no method in the NotesAdministrationProcess class (damned).

When the id-files is attached to the adminp-doc an error appears : “Document has been modified or corrupted since signed! (data)”

Without the id-file, mailfile will be created correctly (but without idfile attached).

Please help.