Maybe you guys or girls know the answer?
HSM is based on policies. Is it possible to create a policy that only implies to a specific account/email?
Full explenation with possible answer:
A copy of every mail is being sent to the "backup user" account with email address: firstname.lastname@example.org. Email is kept for 6 months.
If for some reason needed, we can search that account.
Now we use several HSM policies,
but I would like to add an aditional policy:
- account: email@example.com older than 5 days.
is following correct?
zmprov mcf +zimbraHSMPolicy 'message:before:-5day EMAIL_ADDR:firstname.lastname@example.org'
I could not find much about EMAIL_ADDR: and finding out what has been transfered? No idea how to find out.
the search querry cannot filter on account. The EMAIL_ADDR stated in the query.txt is to be filled in, but not an option on itself.
I solved it by creating a rule in the email@example.com account to forwardall incomming email to a folder "backup-456411383".
From thereon you can create an additional HSMpolicy to search in that folder:
zmprov mcf +zimbraHSMPolicy 'message:before:-5day in:zmprov mcf +zimbraHSMPolicy 'message:before:-5day EMAIL_ADDR:backup-456411383'