File: virus.rst.txt

package info (click to toggle)
cyrus-imapd 3.6.1-4%2Bdeb12u3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 80,688 kB
  • sloc: ansic: 255,928; perl: 97,730; javascript: 9,266; sh: 5,537; yacc: 2,651; cpp: 2,128; makefile: 2,099; lex: 660; xml: 621; python: 388; awk: 303; asm: 262
file content (43 lines) | stat: -rw-r--r-- 1,220 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
.. _install-virus:

=============
Virus Scanner
=============

About virus scan support
========================

Cyrus can use an external virus scanner to check for infected mail. Currently,
only `ClamAV`_ is supported.

Infected mail can be reported on, or removed.

It is possible to use Cyrus's virus scanner support **without** a virus scanner,
by passing in an IMAP SEARCH string. Messages matching that string are treated
as infected.

For more information, see :cyrusman:`cyr_virusscan(8)`.

.. _ClamAV: https://www.clamav.net

Virus Scanner Configuration
===========================

General configuration
---------------------

Once the virus scanner has been installed, Cyrus must be recompiled: the
configure step will detect the presence of a supported virus library and
use it.

:cyrusman:`cyr_virusscan(8)` can be run manually, or configured to run
periodically by cron(8) via crontab(5) or your preferred method
(i.e. /etc/cron.hourly), or by :cyrusman:`master(8)` in the EVENTS{} section in
:cyrusman:`cyrus.conf(5)`.

ClamAV
------

Cyrus does not need any special configuration to work with `ClamAV`_:
once ClamAV is installed, compiling Cyrus will automatically detect and use
the ClamAV libraries.