Disable Mailbox Archiving

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
sheehanje
Posts: 20
Joined: Sat Sep 13, 2014 2:25 am

Disable Mailbox Archiving

Post by sheehanje »

Is there a way to disable archiving for all Mailboxes?

We went with a 3rd party product for archival, and I disabled it at the server level and removed the archive COS and domain, but each mailbox is still sending an email to the domain and now it's trying to go outbound.

Thanks,

John
sheehanje
Posts: 20
Joined: Sat Sep 13, 2014 2:25 am

Re: Disable Mailbox Archiving

Post by sheehanje »

So I ran this:

for i in $(zmprov -l gaa); do zmarchiveconfig disable $i; done


But it still shows the mailbox as enabled in the web aministration. Just to check, I ran the command on a single mailbox and the same thing.

Any ideas?
sheehanje
Posts: 20
Joined: Sat Sep 13, 2014 2:25 am

Re: Disable Mailbox Archiving

Post by sheehanje »

I figured it out, didn't need zmarchiveconfig - instead used zmprov ma <account> zimbraArchiveEnabled FALSE

Actually - a reply from one of my older messages from L. Mark Stone helped me out - so if you see this, thanks a million!

John
Tinsara
Posts: 1
Joined: Thu Oct 12, 2017 6:04 am

Re: Disable Mailbox Archiving

Post by Tinsara »

Is there a way to disable archiving for all Mailboxes?
sheehanje
Posts: 20
Joined: Sat Sep 13, 2014 2:25 am

Re: Disable Mailbox Archiving

Post by sheehanje »

Make sure you turn if off on the COS and servers. For the mailboxes, I ran this script:

Code: Select all

#!/bin/bash

path="/opt/zimbra/bin"

for account in $(/opt/zimbra/bin/zmprov -l gaa)

do
        echo -ne "Disabling Archive on Account: $account \n"
        zmprov ma $account zimbraArchiveEnabled FALSE;

done

Hope that helps.

John
Post Reply