Hello all,
given, that a user has set a individual message disposal policy in the retention tab of the Inbox Folder Properties, how can I find this in the backend?
I was not able to find it with "zmmailbox -z -m $i -v gf /Inbox".
It seems, it can be set with a zmsoap command. I found the example in the wiki (https://wiki.zimbra.com/wiki/Zmsoap).
However, i cant figure out how to get the value, if there is one.
Getting and setting this value has to be part part of my backup/restore strategy.
Can anyone please provide a sample?
Is there a wiki article, where all zmsoap commands are documented?
Actually I use Zimbra 9.0.0_ZEXTRAS_20211118 and I am in progress to switch to Zimbra 10.0.0_GA_0001
Best regards Friedhelm
Get/Set individual message disposal policy
-
- Posts: 7
- Joined: Mon Oct 31, 2016 12:49 pm
- Location: Germany
-
- Zimbra Employee
- Posts: 28
- Joined: Tue Oct 18, 2022 12:16 pm
Re: Get/Set individual message disposal policy
You can call "zmsoap -z -m <user> -v GetFolderRequest" .
As response you will get all folder details including retentionPolicy if set.
As response you will get all folder details including retentionPolicy if set.
-
- Zimbra Employee
- Posts: 19
- Joined: Wed Apr 12, 2023 6:22 am
Re: Get/Set individual message disposal policy
how to use these parameters soap api and what to set is ellaborated in https://files.zimbra.com/docs/soap_api/ ... older.html
-
- Zimbra Employee
- Posts: 19
- Joined: Wed Apr 12, 2023 6:22 am
Re: Get/Set individual message disposal policy
Also in case, you want to set soap api is FolderActionRequest (https://files.zimbra.com/docs/soap_api/ ... ction.html)
For get api is getFolderRequest (https://files.zimbra.com/docs/soap_api/ ... older.html)
For get api is getFolderRequest (https://files.zimbra.com/docs/soap_api/ ... older.html)