| 1 |
.. _install-virus: |
| 2 |
|
| 3 |
============= |
| 4 |
Virus Scanner |
| 5 |
============= |
| 6 |
|
| 7 |
About virus scan support |
| 8 |
======================== |
| 9 |
|
| 10 |
Cyrus can use an external virus scanner to check for infected mail. Currently, |
| 11 |
only `ClamAV`_ is supported. |
| 12 |
|
| 13 |
Infected mail can be reported on, or removed. |
| 14 |
|
| 15 |
It is possible to use Cyrus's virus scanner support **without** a virus scanner, |
| 16 |
by passing in an IMAP SEARCH string. Messages matching that string are treated |
| 17 |
as infected. |
| 18 |
|
| 19 |
For more information, see :cyrusman:`cyr_virusscan(8)`. |
| 20 |
|
| 21 |
.. _ClamAV: https://www.clamav.net |
| 22 |
|
| 23 |
Virus Scanner Configuration |
| 24 |
=========================== |
| 25 |
|
| 26 |
General configuration |
| 27 |
--------------------- |
| 28 |
|
| 29 |
Once the virus scanner has been installed, Cyrus must be recompiled: the |
| 30 |
configure step will detect the presence of a supported virus library and |
| 31 |
use it. |
| 32 |
|
| 33 |
:cyrusman:`cyr_virusscan(8)` can be run manually, or configured to run |
| 34 |
periodically by cron(8) via crontab(5) or your preferred method |
| 35 |
(i.e. /etc/cron.hourly), or by :cyrusman:`master(8)` in the EVENTS{} section in |
| 36 |
:cyrusman:`cyrus.conf(5)`. |
| 37 |
|
| 38 |
ClamAV |
| 39 |
------ |
| 40 |
|
| 41 |
Cyrus does not need any special configuration to work with `ClamAV`_: |
| 42 |
once ClamAV is installed, compiling Cyrus will automatically detect and use |
| 43 |
the ClamAV libraries. |