Zimbra Tips : How To Define Default COS for a Domain

Posted by

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 😀

5 comments

  1. 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 ?

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.