Can I write an agent that will update DB Properties?

Hi,

I’ve come across a user who has been updating his DB Properties on his mail file, to prevent it’s design being updated. Sounds strange I know, but we have a mixture of R5 and ND6 clients, and according to our Administrator this prevents her from enforcing mail size quotas.

As a result, i’ve created some code in the mail template which displays dialog boxes to users who are over their limit. My problem is, one particular smart-ass (our Network Manager no less) has discovered how to change the DB Properties and has re-named the “Inherit From Master Template” field.

To make matters worse, our company policy is not to allow even Administrators to have Manager access to mail db’s (never heard of the like myself) so i’d really like to just write an agent that will over-write this property every night with the correct one.

As far as I can tell, the property is read-only in LS so i’m not sure where to go from here. I don’t really have any Java or C skills so I don’t know if those languages would help?

Thanks

Subject: How about this …

Hi,

just an idea but it might be very easy to set up:

Create a scheduled program document in your Domino directory which will execute an “convert” on the mail file

load convert mail\user.nsf * mail6.ntf

It is actually very similar as you would set a template name and run the designer.

Its not really a nice solution but might work fine. :-))

Bye

Hynek

Subject: Can I write an agent that will update DB Properties?

You can hack away at database properties by tweaking attributes of the database icon note in a database. This link gives a few clues:

… however, I imagine that fiddling with this stuff still requires Designer access or better.

HTH

Subject: RE: Can I write an agent that will update DB Properties?

Cheers Ben i’ll take a look.