clapf

clapf is a clamav-based antivirus content filter for Postfix.
Download

clapf Ranking & Summary

Advertisement

  • Rating:
  • License:
  • zlib/libpng License
  • Price:
  • FREE
  • Publisher Name:
  • SJ
  • Publisher web site:
  • http://dev.acts.hu/clapf/

clapf Tags


clapf Description

clapf is a clamav-based antivirus content filter for Postfix. Clapf project is a clamav based network filter for postfix. Now clapf includes an experimental bayesian antispam module.Installation:- edit parameters in config.h- if you don't want to compile the antispam module type "make av_only"; otherwise type "make", it should compile cleanly- create a dedicated group and user for clapf such as "av"groupadd av; useradd -g av -d /opt/av -s /bin/false av- lock the user out:usermod -L av- create a directory for clapf:mkdir -p /opt/av/quarantinechown -R av:av /opt/avchmod -R 700 /opt/avIf you plan to put clapf into a chroot jail make sure te create a /tmp directory there.I recommend you put the spool directory to a separate disk for a better performance.- start the filter application:su av -c 'export TMPDIR=/opt/av; /path/to/clapf &'The util/check_clapf.sh script is planned to run regularly to check whether clapf is running and restart it if necessary.Note that clapf (I mean the clamav library) usually tries to unpack CVD files in /tmpI suggest you to change this setting with the TMPDIR environment variable (as shown above)Be careful that clapf needs enough space under $TMPDIRIf you see messages like"LibClamAV Error: cli_cvdload(): Can't create temporary directory /tmp/clamav-a0480b63a7872f98""LibClamAV Error: Wrote 0 instead of 512 (/tmp/clamav-75668d156e64018e/main.db).LibClamAV Error: cli_cvdload(): Can't unpack CVD file.""cl_loaddbdir: CVD extraction failure."that means clapf has no enough space under $TMPDIRNotice the following messages in syslog (typically /var/log/maillog):'clapf < VERSION > starting''Loaded 22548 signatures.''using /opt/av/tokens.cdb as spamicity file' (if you configured to use the antispam module)Configure postfix:1. add the following line to main.cf:content_filter = smtp::100252. add the following lines to master.cf:127.0.0.1:10026 inet n - n - 10 smtpd -o content_filter=-o receive_override_options=no_address_mappings3. restart postfix Requirements: · Clam AntiVirus · Postfix What's New in This Release: · The Web UI has been rewritten using the MVC model, the following features have been added: AD import, domain admin role, and message history view. · This release simplifies logging, revises the black hole feature, and adds policy support for SQLite3 storage.


clapf Related Software