help the newbie install DCC?

Chris Fortune cfortune@telus.net
Thu Mar 4 03:05:39 UTC 2004


Hello,

Installed DCC on Linux RH 8.  I want to use dccifd in conjunction with a perl cgi script, run from a browser, or from a cron job.

So far, this command line:

perl dccif-test.pl -Itest.eml

produces: 
result=A
\n
\n
\n
for all emails tested with (about 1000 so far).

Obviously I have done something terribly wrong.  Here is the dcc_conf file

#! /bin/sh

# set parameters for DCC start and cron scripts

# from Rhyolite Software DCC 1.2.32-1.35 $Revision$
DCC_CONF_VERSION=3

# don't set DCC_HOMEDIR since if we got here, it must be set
DCC_LIBEXEC=/var/dcc/libexec
DCC_RUNDIR=/var/run/dcc

# DCC user name
DCCUID=root


DCCD_ENABLE=off
# DCC server-IDs must be globally unique.
SRVR_ID=
# BRAND can be any short alphanumeric string that hints about the identity
#   of the server.
BRAND=
# used to start dccd
# A value for `dccd -t` computed from DCCM_REJECT_AT is assumed to set
#   default flooding threshold.
DCCD_ARGS=


GREY_ENABLE=off
# GREY_SRVR_ID must be set to run dccd for greylisting.
#   DCC server-IDs must be globally unique, but greylisting dccd servers
#   are usually in small, isolated networks.  If you have a DCC server,
#   you can use its server-ID.  Add -G to DCCM_ARGS or DCCIFD_ARGS to
#   use a local greylist server.
GREY_SRVR_ID=$SRVR_ID
# used to start dccd for grey listing
GREY_DCCD_ARGS=


DCCM_ENABLE=off
# used to start dccm
#   a common value is
#   DCCM_ARGS="-SHELO -Smail_host -SSender -SList-ID"
DCCM_ARGS=
DCCM_LOGDIR=log
DCCM_WHITECLNT=whiteclnt
DCCM_USERDIRS=userdirs
# set DCCM_LOG_AT to a number that determines "bulk mail" for your situation.
#   50 is a typical value.
# Leave DCCM_REJECT_AT blank until you are confident that most sourced of
#   solicited bulk mail have been white-listed.  Then set it to the number
#   that defines "bulk mail" for your site.  Note that this rejection
#   or "bulk" threshold does not affect the blacklisting effects of the
#   DCCM_WHITECLNT white list file.
# Add '-aIGNORE' to DCCM_ARGS to ignore the bulkiness of mail except to
#   add X-DCC headers.
DCCM_LOG_AT=25
DCCM_REJECT_AT=50
# override basic list of checksums controlling rejections or logging
DCCM_CKSUMS=
# additional checksums worthy of rejections or logging
DCCM_XTRA_CKSUMS=


DCCIFD_ENABLE=on
# used to start dccifd
#   a common value is
#   DCCIFD_ARGS="-SHELO -Smail_host -SSender -SList-ID"
DCCIFD_ARGS=
DCCIFD_LOGDIR="$DCCM_LOGDIR"
DCCIFD_WHITECLNT="$DCCM_WHITECLNT"
DCCIFD_USERDIRS="$DCCM_USERDIRS"
DCCIFD_LOG_AT="$DCCM_LOG_AT"
DCCIFD_REJECT_AT="$DCCM_REJECT_AT"
# override basic list of checksums controlling rejections or logging
DCCIFD_CKSUMS="$DCCM_CKSUMS"
# additional checksums worthy of rejections or logging
DCCIFD_XTRA_CKSUMS="$DCCM_XTRA_CKSUMS"

# days to keep files in DCC log directories
DBCLEAN_LOGDAYS=14
# used to start dbclean, including -e and -E
DBCLEAN_ARGS=


# optionally set to something like "local5" or "local5.notice" for
#   dccd, dbclean, and dccm
DCC_INFO_LOG_FACILITY=
DCC_ERROR_LOG_FACILITY=


# ensure that the log facilities include levels and that $DCC_LOGGER
#   has a default.
if test ! -z "$DCC_INFO_LOG_FACILITY"; then
    if expr "$DCC_INFO_LOG_FACILITY" : '.*\..*' >/dev/null; then
        :
    else
        DCC_INFO_LOG_FACILITY="$DCC_INFO_LOG_FACILITY.notice"
    fi
    DCC_LOG_ARGS="$DCC_LOG_ARGS -Linfo,$DCC_INFO_LOG_FACILITY"
fi
if test -z "$DCC_ERROR_LOG_FACILITY"; then
    # for $DCC_LOGGER
    DCC_ERROR_LOG_FACILITY=mail.err
else
    if expr "$DCC_ERROR_LOG_FACILITY" : '.*\..*' >/dev/null; then
        :
    else
        DCC_ERROR_LOG_FACILITY="$DCC_ERROR_LOG_FACILITY.err"
    fi
    DCC_LOG_ARGS="$DCC_LOG_ARGS -Lerror,$DCC_ERROR_LOG_FACILITY"
fi
DCC_LOGGER="logger -s -p ${DCC_ERROR_LOG_FACILITY-mail.err} -t DCC"
(END)





More information about the DCC mailing list

Contact vjs@rhyolite.com by mail or use the form.