I am trying to set the MailMessageLifetime to 90 days from the default of forever (0).
zimbra@mail:~> zmprov gac -v |grep zimbraMailMessageLifetime
zimbraMailMessageLifetime: 0
zimbra@mail:~> zmprov modifyCos zimbraMailMessageLifetime 90
usage: modifyCos(mc) {name|id} [attr1 value1 [attr2 value2...]]
Is there an obvious mistake in the syntax?
Modifying COS Provisioning commands
-
- Outstanding Member
- Posts: 687
- Joined: Fri Sep 12, 2014 10:24 pm
Modifying COS Provisioning commands
Yes, you need to specify the name of the CoS.
zmprov modifyCos Default zimbraMailMessageLifetime 90
zmprov modifyCos Default zimbraMailMessageLifetime 90
Modifying COS Provisioning commands
you're missing the name of the cos you want to modify