Download clapf - Clapf project is a clamav based network filter for postfix
Software Index
Linux Software E-Mail Tools  


download download home home   report broken
important software information
company name:
license: Freeware
minimum requirements: · Clam AntiVirus
functional limitations:
clapf description
Clapf project is a clamav based network filter for postfix. Now clapf includes an experimental bayesian antispam module.


- 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/quarantine
chown -R av:av /opt/av
chmod -R 700 /opt/av

If 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/ 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 /tmp
I suggest you to change this setting with the TMPDIR environment variable (as shown above)
Be careful that clapf needs enough space under $TMPDIR

If 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 $TMPDIR

Notice 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). . page descirpionstart
Similar software
Coccinella (Popularity: ) : Coccinella is a Jabber client with a whiteboard. The whiteboard is a shared desktop which supports text, drawings, images, and multimedia in a number of formats, such as MP3 and video.

Coccinella runs in two main modes, a peer-to-peer configuration and ...

BaShare (Popularity: ) : BaShare is an utility that allows you to send large files to your friends quickly.

BaShare (Basic Share) is a very simply and user-friendly file sharing tool over the Internet and private LAN too.

Basically BaShare is a http server with ...

User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
Rate me
supported os's
downloads 11
version 0.4.2/0.4.3 RC1
size in Kb 502
user rating 0/10
our rating 0 Stars
share info
Recommend clapf
Report spyware
New Software
Popular Software
Latest Reviews