Сравнение версий

Ключ

  • Эта строка добавлена.
  • Эта строка удалена.
  • Formatting was changed.
Комментарий: Migrated to Confluence 5.3

Although in the majority of cases, Архива receives emails for archiving after they have already been processed by the mail server's antivirus scanner, for extra protection, it is possible to configure Архива to perform additional antivirus scanning.  To enable this feature, it is necessary to install the ClamAV antivirus scanner (preferably on the same machine running Архива)

 

Windows Setup Instructions

 

Please refer to the Clam-AV website. Modify the clamd.conf file as in the Ubuntu setup instructions below.

 

Ubuntu Setup Instructions

 

Install the ClamAV antivirus scanner from the terminal prompt as follows:

 

apt-get install clamav
apt-get install clamav-daemon

 

...

В большинстве случаев, Архива получает электронную почту для архивирования после того, как она была обработана антивирусным сканером почтового сервера, для дополнительной защиты, можно настроить Архива для выполнения дополнительного антивирусного сканирования. Чтобы включить эту функцию, необходимо установить ClamAV антивирус (желательно на той же машине работает Архива)

Настройки для Windows

Пожалуйста, обратитесь к сайту ClamAV. Измените файл clamd.conf, как и в установке для Ubuntu инструкция ниже.

Настройки для Ubuntu

Установите антивирус ClamAV сканер в терминальной строке следующим образом:

Code Block
languagenone
apt-get install clamav
apt-get install clamav-daemon

измените файл /etc/clamav/clamd.

...

conf как показано ниже:

...

Code Block
languagenone
LocalSocket /var/run/clamav/clamd.ctl

...


TCPSocket 3310

...


FixStaleSocket true

...


LocalSocketGroup clamav

...


LocalSocketMode 666

...


# TemporaryDirectory is not set to its default /tmp here to make overriding

...


# the default with environment variables TMPDIR/TMP/TEMP possible

...


User clamav

...


AllowSupplementaryGroups true

...


ScanMail true

...


ScanArchive true

...


ArchiveBlockEncrypted false

...


MaxDirectoryRecursion 15

...


FollowDirectorySymlinks false

...


FollowFileSymlinks false

...


ReadTimeout 180

...


MaxThreads 12

...


MaxConnectionQueueLength 15

...


LogSyslog false

...


LogFacility LOG_LOCAL6

...


LogClean false

...


LogVerbose false

...


PidFile /var/run/clamav/clamd.pid

...


DatabaseDirectory /var/lib/clamav

...


SelfCheck 3600

...


Foreground false

...


Debug false

...


ScanPE true

...


ScanOLE2 true

...


ScanHTML true

...


DetectBrokenExecutables false

...


ExitOnOOM false

...


LeaveTemporaryFiles false

...


AlgorithmicDetection true

...


ScanELF true

...


IdleTimeout 30

...


PhishingSignatures true

...


PhishingScanURLs true

...


PhishingAlwaysBlockSSLMismatch false

...


PhishingAlwaysBlockCloak false

...


DetectPUA false

...


ScanPartialMessages false

...


HeuristicScanPrecedence false

...


StructuredDataDetection false

...


CommandReadTimeout 50

...


SendBufTimeout 200

...


MaxQueue 100

...


ExtendedDetectionInfo true

...


OLE2BlockMacros false

...


StreamMaxLength 25M

...


LogFile /var/log/clamav/clamav.log

...


LogTime true

...


LogFileUnlock false

...


LogFileMaxSize 0

...


Bytecode true

...


BytecodeSecurity TrustSigned

...


BytecodeTimeout 60000

...


OfficialDatabaseOnly false

...


CrossFilesystems true

 

Note: The line TCPSocket 3310 was added to the configuration above. This causes Clam to listen on port 3310 for scanning jobs.

 

After modifying the configuration as above, reconfigure clamd as follows:

 

dpkg-reconfigure clamav-base

 

Архива Clam-AV Setup

 

Thereafter, login to the Архива console. From Configuration->Archive modify the Clamd configuration to point to the newly installed Clam deamon.

 

Antivirus OptionsImage Removed

 

 

Identifying Viruses

 

Emails that contain viruses are still archived for record keeping purposes, however, they show up with a Bug icon in the search results. The intention is to warn users that the email may contain a virus.

 

Info

Линия TCPSocket 3310 была добавлена в файл. Это настраивает Clam на прослушивание порта 3310 для сканирования.

После произведенных модификаций, переконфигурируйте clamd как показано ниже:

 

Code Block
languagenone
dpkg-reconfigure clamav-base

Настройте Архива для сканирования на вирусы

Определение вирусов

Письма, содержащие вирусы по-прежнему архивируются, однако, они появляются со знчком жука в результатах поиска. Намерение состоит в том, чтобы предупредить пользователей о том, что электронная почта может содержать вирус.

AntivirusImage Modified