Ecole des Mines de Paris

SourceForge.net Logo

Running Joe's j-chkmail


Table of Contents

j-chkmail binaries

j-chkmail comes with three binaries : Please check these commands man pages to get more information about options and return codes.
 

j-chkmail daemon control

Main j-chkmail control tasks can be done by the j-chkmail init script which is installed by default at /etc/init.d directory.

This script has the usual behavior of scripts placed inside this directory. So it has answers to the following options :

    /etc/init.d/jchkmail start      - start j-chkmail
    /etc/init.d/jchkmail stop       - stop j-chkmail
    /etc/init.d/jchkmail restart    - stop and start j-chkmail
    /etc/init.d/jchkmail reload     - reload j-chkmail configuration files
    /etc/init.d/jchkmail dumpstats  - dump internal counters
    /etc/init.d/jchkmail clearstats - reset internal counters
restart, reload, dumpstats and clearstats are options added to help sending signals to j-chkmail daemon.

Configuring j-chkmail

You shall take a look at configuration files and modify them to meet your needs before launch j-chkmail the first time. You should read and understand what you do before activating some features as you may lost messages if your filter is wrongly configured.


j-chkmail and signals

j-chkmail answers to signals HUP, USR1 and USR2. Note that signals shall be sent to the father process. It's his job to decide if a signal shall be sent to a child or if it's best to communicate to his children by other means.

Monitoring j-chkmail activity



Command line options

You can also get a summary of command line options if you launch j-chkmail with the -h option :
martins@calloway:~> /usr/sbin/j-chkmail -h
Usage : j-chkmail options
  Joe's j-chkmail v1.1
  Compiled at May 29 2002 14:11:57
        -p  : socket
              inet:2000@localhost
              local:/var/sock
        -i  : 2000  (AF_INET)
        -u  : /var/sock (AF_UNIX)
        -d  : inet domain
        -h  : help
        -c  : configuration file
        -l  : log level
        -v  : version / runtime configuration
        -vv : version / compile time configuration

Joe's j-chkmail v1.1 - Copyright Ecole des Mines de Paris - (C) 2002
martins@calloway:~> 


Jose Marcio Martins da Cruz - martins@ensmp.fr
j-chkmail - © Ecole des Mines de Paris - Centre de Calcul
Last modified: Fri May 17 11:07:47 MEST 2002