Few days ago, i am implement Zimbra NE in my client with multi server schema. They are 1 LDAP server, 2 Mailboxes Server and 1 MTA+Proxy server. One mailbox server for real account and one another mailbox for archive. By default, account for archive is using domain @domainname.archive. Every create/enable account for archive, automatically Zimbra will create account with name date-real-account@domainname.archive. The location mailbox for archive is usually using random mailbox and sometime using mailbox for archive, sometime using mailbox for real account.
Because the archive account already has a special mailbox, i want to every account with domain @domainname.archive should be using mailbox for archive. Finally, i am create a COS and given name archive and ensure at Server Pool on COS select mailbox for archive only. For enforce domain @domainname.archive using COS archive who has been created, perform the following steps on domain.
# Find ZimbraId for COS archive
[zimbra@mail ~]$ zmprov gc archive | grep -i zimbraid zimbraId: ce85c78c-57c1-495a-b375-c2cf56feff6e
After get information about zimbraId of COS, you can apply on your domain like this
zmprov md domainname.archive zimbraDomainDefaultCOSId ce85c78c-57c1-495a-b375-c2cf56feff6e
# Restart Zimbra for ensure configuration has been applied
zmcontrol restart
Voila, finally the archive account always using mailbox who has been provided for archiving.
Good luck and hopefully useful 😀
the easy way to config is you should get COS ID
zmprov gc | grep -i zimbraid
And then go to web admin (https://test.local.com:7071)
copy ID COS to: attribute Default Class Of Service of domain you want to apply.
Hi Hoang,
Yes. Your guidance same as my guidance. But you are use Zimbra Admin to define it 😉
As usual your articles are always useful, thank you buddy
zmprov md domain.com zimbraDomainDefaultCOSId eb6b9458-8f29-42e6-a663-85cc9d1b4058
setting zimbraCOSId in domain level and it’s inheriting in account level but not adding in LDAP level.
what can i do ?
Hi Javier,
I am not understand what do you mean. Could you give me an example?