How to re-create the Quarantine Account: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
(c) link the global config attribute "zimbraAmavisQuarantineAccount" to the new account | (c) link the global config attribute "zimbraAmavisQuarantineAccount" to the new account | ||
zmprov mcf zimbraAmavisQuarantineAccount virus-quarantine.Zhn3PtuhNv@ | zmprov mcf zimbraAmavisQuarantineAccount virus-quarantine.Zhn3PtuhNv@<domain.com> | ||
(d) flush the cache | (d) flush the cache |
Revision as of 18:20, 28 April 2011
(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.