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

No edit summary
No edit summary
Line 15: Line 15:
(e) check the av_notify LC
(e) check the av_notify LC
   zmlocalconfig av_notify_user=<admin@YOUR_DOMAIN>
   zmlocalconfig av_notify_user=<admin@YOUR_DOMAIN>
  zmlocalconfig av_notify_domain<Domain_name>
<pre>
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.
</pre>
(f) verify that it is working.
(f) verify that it is working.
  Download the eicar test virus file and send it to your email account.
  Download the eicar test virus file and send it to your email account.

Revision as of 08:32, 27 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@betson.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