Well you have got me thinking about this ... perhaps another approach would be to check the active sessions and if you know somebody should not be logged in at a certain time you could flag it. You can get a list of them using
Code:
su - zimbra
zmsoap -z -t admin GetSessionsRequest @type=soap