How to re-create the Quarantine Account: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Archive}}{{WIP}}(a) null out the current value for the quarantine account | {{BC|Community Sandbox}} | ||
__FORCETOC__ | |||
<div class="col-md-12 ibox-content"> | |||
=How to re-create the Quarantine Account= | |||
{{KB|{{Unsupported}}|{{ZCS 8.0}}|{{ZCS 7.0}}|}} | |||
{{Archive}}{{WIP}} | |||
(a) null out the current value for the quarantine account | |||
zmprov mcf zimbraAmavisQuarantineAccount <nowiki>''</nowiki> | zmprov mcf zimbraAmavisQuarantineAccount <nowiki>''</nowiki> | ||
Line 28: | Line 34: | ||
http://bugzilla.zimbra.com/show_bug.cgi?id=59398 | http://bugzilla.zimbra.com/show_bug.cgi?id=59398 | ||
{{Article Footer|Zimbra Collaboration 8.0, 7.0|04/16/2014}} |
Latest revision as of 20:18, 11 July 2015
How to re-create the Quarantine Account
- This is archive documentation, which means it is not supported or valid for recent versions of Zimbra Collaboration.
- This article is a Work in Progress, and may be unfinished or missing sections.
(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