Enable the real-time attachment scanning for outgoing mail sent via the Web Client

Enable the real-time attachment scanning for outgoing mail sent via the Web Client

   KB 21723        Last updated on 2022-12-12  

(0 votes)


Starting with ZCS 8.5, it is possible to enable real-time scanning of attachments in outgoing emails sent via the Web Client. If enabled, when someone adds an attachment to an email, it will be scanned via ClamAV prior to being able to send the message. If ClamAV detects a virus, it will block attaching the file to the message. In Zimbra 8.5 and above, customers have the opportunity to enable an real-time antivirus in the attachments for outgoing mail using Web Client.


By default, scanning is configured for a single node installation. To enable in a single node:

In ZCS 8.6.x and later: It is possible to enable/disable attachment scanning globally or per server.

To enable in a multi-node environment, using multiple MTAs for scanning is supported. zimbraClamAVBindAddress is set *per server* on the MTA nodes. It tells the clamav process what hostname to bind to.

zmprov ms <mta_server> zimbraClamAVBindAddress <mta_server>
zmprov mcf zimbraAttachmentsScanURL clam://<mta_server>:3310/
zmprov ms <mailbox_server> zimbraAttachmentsScanEnabled TRUE

In ZCS 8.5.x:

zmprov ms serverhostname.com zimbraAttachmentsScanURL clam://localhost:3310/
zmprov ms <mailbox_server> zimbraAttachmentsScanEnabled TRUE

Additional Content

Verified Against: Zimbra Collaboration 8.5, 8.6 Date Created: 02/20/2015
Article ID: https://wiki.zimbra.com/index.php?title=Enable_the_real-time_attachment_scanning_for_outgoing_mail_sent_via_the_Web_Client Date Modified: 2022-12-12

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 »

Wiki/KB reviewed by Jeff Quanah Jenny Last edit by Dawood Shaikh
Jump to: navigation, search