Hi, 

just now found time to test clapf on the ldap machine... I just finished
compiling when i saw the announcement :)

Short config: Ubuntu 10.04, ./configure --prefix=/usr/local/clapf/current
--with-userdb=ldap --enable-blackhole --enable-whitelist --enable-rbl
--enable-lmtp --enable-language-detection --with-store=fs
--with-tokendb=mysql --with-clapf-user=_clapf

I plan to
 - use clapf for spam filtering w/ postfix as an after-queue content
filter
 - utilize webui for users to train the filter
 - use merged token database (you can wreck only your personal tokens by
mistraining or not training, but you will have the advantages of a global
token set)
 - clapf in TUM mode
 - mail users in ldap, fully virtual environment, no shell and unix users
for mailusers

I copied init.d/clapf.ubuntu to /etc/init.d/clapf.ubuntu but it fails to
start clapf, it was the same with -rc3

/etc/init.d/clapf.ubuntu start
id: clapf: No such user
 * Starting Clapf email content filter service: clapf                     
                                           [fail]

logs say

Sep 16 16:07:55 phoenix clapf[3452]: created directory:
*/usr/local/clapf/current/var/lib/clapf/queue*
Sep 16 16:07:55 phoenix clapf[3452]: could not create directory:
*/usr/local/clapf/current/var/spool/clapf*
Sep 16 16:07:55 phoenix clapf[3452]: could not create directory:
*/usr/local/clapf/current/var/spool/clapf/tmp*
Sep 16 16:07:55 phoenix clapf[3452]: workdir:
*/usr/local/clapf/current/var/spool/clapf/tmp*
Sep 16 16:07:55 phoenix clapf[3452]: ERR: chdir() to working directory
failed
Sep 16 16:07:55 phoenix clapf[3452]: clapf has been terminated

if i manually create "/usr/local/clapf/current/var/spool/" and i change
ownership of "spool" to _clapf:_clapf then the daemon successfully starts,
but

Sep 16 16:12:12 phoenix clapf[3647]: clapf 0.4.5 starting
Sep 16 16:12:12 phoenix clapf[3648]: cannot write pidfile:
/usr/local/clapf/current/var/lib/clapf/clapf.pid

if i give "/usr/local/clapf/current/var/lib/clapf/" to _clapf:_clapf then
pid file is there,and the init script works fine.

I will report back as configuration progress further. If i did anything
wrong, please advise.


On Thu, 16 Sep 2010 15:31:28 +0200, Janos SUTO <s...@acts.hu> wrote:
> Dear clapf-users,
> 
> I have just released the final 0.4.5 release of clapf.

-- 
Péter

XMPP, MSN: peter.laszlo.sz...@gmail.com

Reply via email to