How to re-create the Quarantine Account: Difference between revisions

No edit summary
No edit summary
Line 1: Line 1:
(a) null out the current value for the quarantine account
{{Archive}}{{WIP}}(a) null out the current value for the quarantine account


     zmprov mcf zimbraAmavisQuarantineAccount <nowiki>''</nowiki>
     zmprov mcf zimbraAmavisQuarantineAccount <nowiki>''</nowiki>

Revision as of 17:23, 25 March 2015

(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@<domain.com>

(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.

http://bugzilla.zimbra.com/show_bug.cgi?id=59398

Jump to: navigation, search