Hi People,
What I've got is a requirement to do everything in my power to ensure that all user email is archived.
I've got raw file archive of messages running to a 4TB NAS, and I've got a scalix server instance which is independant of all other instances, that is set to receive a copy of all mail as it comes in, for each user.
So I have a rule on each user that forwards email destined for them to the same email address at archscalix.domain.com. This way I have a copy of their inbox and everything that ever went in there. This will be backed up monthly as well, and then the users mailbox flushed.
What I desire, is a method of:
1.) Dumping a list of scalix users running on the 'live' or real mail servers, then running a script on the archive server based on that file that makes sure all the users exist, and if they dont, create them. This will ensure that I dont get mail bouncing because a user was created on the live environment but not on the archive box.
2.) Flushing a users mailbox, without deleting the user account. That is, remove all mail from their inbox, to avoid oversize problems, after having backed it up to a file, so that archival can continue.
Is there a way of scripting this easily with the scalix tools available?
I realise its a complex requirement and I might be tackling it from the wrong angle, but I will let you be the judge of that.