How to re-create the Quarantine Account

How to re-create the Quarantine Account

   KB 5811        Last updated on 2015-07-11  

(0 votes)

(a) null out the current value for the quarantine account

    zmprov mcf zimbraAmavisQuarantineAccount ''

(b) Generate the new quarantine account (all in one line)

  zmprov ca virus-quarantine.Zhn3PtuhNv@<YOUR_DOMAIN> fvKg1rQKUA amavisBypassSpamChecks TRUE zimbraAttachmentsIndexingEnabled FALSE zimbraIsSystemResource TRUE zimbraHideInGal TRUE zimbraMailMessageLifetime 7d zimbraMailQuota 0 description 'System account for Anti-virus quarantine.'

(c) link the global config attribute "zimbraAmavisQuarantineAccount" to the new account

zmprov mcf zimbraAmavisQuarantineAccount virus-quarantine.Zhn3PtuhNv@<>

(d) flush the cache

 zmprov fc config

(e) check the av_notify LC

 zmlocalconfig av_notify_user=<admin@YOUR_DOMAIN>
 zmlocalconfig av_notify_domain<Domain_name>
av_notify_domain is used to set the mydomain setting in amavis. 
 This is used in local_domain_maps to determine various default settings. 
It will trigger a restart of amavis via zmconfigd/zmmtaconfig (depending on version). 
Alternatively you can restarted amavis by hand after making a change to this setting.

(f) verify that it is working.

Download the eicar test virus file and send it to your email account.
check the new qurantine account for the message you sent. Also check your account
and the admin account for quarantine notification.

Verified Against: Zimbra Collaboration 8.0, 7.0 Date Created: 04/16/2014
Article ID: Date Modified: 2015-07-11

Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »

Jump to: navigation, search