comparison debian/dcc-server.default @ 2:f6716cb00029

Replace buggy stuff in deb dir, never make phone calls while working
author Peter Gervai <grin@grin.hu>
date Tue, 10 Mar 2009 14:29:12 +0100
parents
children
comparison
equal deleted inserted replaced
1:9b8d79ac0dc3 2:f6716cb00029
1 # start server with default local ID specified in /etc/dcc/ids
2 OPTIONS="-i 32702"
3
4 ########
5 # the following is taken from upstream dcc-conf
6 ########
7
8 # set parameters for DCC start and cron scripts
9 # from Rhyolite Software DCC 1.2.50-1.40 $Revision: 1.1 $
10 DCC_CONF_VERSION=3
11
12 # don't set DCC_HOMEDIR since if we got here, it must be set
13 DCC_LIBEXEC=/usr/lib/dcc
14 DCC_RUNDIR=/var/run
15
16 # DCC user name
17 DCCUID=dcc
18
19
20 DCCD_ENABLE=off
21 # DCC server-IDs must be globally unique.
22 SRVR_ID=
23 # BRAND can be any short alphanumeric string that hints about the identity
24 # of the server.
25 BRAND=
26 # used to start dccd
27 # A value for `dccd -t` computed from DCCM_REJECT_AT is assumed to set
28 # default flooding threshold.
29 DCCD_ARGS=-6
30
31
32 # Client greylist parameters such as 'on' or 'noIP'
33 # GREY_CLIENT_ARGS sets the `dccm -G` and `dccifd -G` value
34 # and turns on the local greylist dccd server unless GREY_ENABLE=off
35 GREY_CLIENT_ARGS=
36 # turns local greylist server 'on' or 'off', but does not effect dccm, dccifd
37 GREY_ENABLE=
38
39 # GREY_SRVR_ID DCC server-IDs must be globally unique, but greylisting dccd
40 # servers are usually isolated. If you have more than one greylist server,
41 # ensure that they use distinct server-IDs and that they flood each other
42 # with entries in /var/dcc/flod
43 GREY_SRVR_ID=$SRVR_ID
44 # used to start dccd for grey listing; see also GREY_ENABLE
45 GREY_DCCD_ARGS=-6
46
47
48 DCCM_ENABLE=on
49 # used to start dccm
50 # a common value is
51 # DCCM_ARGS="-SHELO -Smail_host -SSender -SList-ID"
52 DCCM_ARGS=
53 DCCM_LOGDIR=log
54 DCCM_WHITECLNT=whiteclnt
55 DCCM_USERDIRS=userdirs
56 # set DCCM_LOG_AT to a number that determines "bulk mail" for your situation.
57 # 50 is a typical value.
58 # Leave DCCM_REJECT_AT blank until you are confident that most sourced of
59 # solicited bulk mail have been white-listed. Then set it to the number
60 # that defines "bulk mail" for your site. Note that this rejection
61 # or "bulk" threshold does not affect the blacklisting effects of the
62 # DCCM_WHITECLNT white list file.
63 # Add '-aIGNORE' to DCCM_ARGS to ignore the bulkiness of mail except to
64 # add X-DCC headers.
65 DCCM_LOG_AT=5
66 DCCM_REJECT_AT=
67 # override basic list of DCC server checksums controlling rejections or logging
68 DCCM_CKSUMS=
69 # additional DCC server checksums worthy of rejections or logging
70 DCCM_XTRA_CKSUMS=
71
72
73 DCCIFD_ENABLE=off
74 # used to start dccifd
75 # a common value is
76 # DCCIFD_ARGS="-SHELO -Smail_host -SSender -SList-ID"
77 DCCIFD_ARGS=
78 DCCIFD_LOGDIR="$DCCM_LOGDIR"
79 DCCIFD_WHITECLNT="$DCCM_WHITECLNT"
80 DCCIFD_USERDIRS="$DCCM_USERDIRS"
81 DCCIFD_LOG_AT="$DCCM_LOG_AT"
82 DCCIFD_REJECT_AT="$DCCM_REJECT_AT"
83 # override basic list of checksums controlling rejections or logging
84 DCCIFD_CKSUMS="$DCCM_CKSUMS"
85 # additional DCC server checksums worthy of rejections or logging
86 DCCIFD_XTRA_CKSUMS="$DCCM_XTRA_CKSUMS"
87
88 # days to keep files in DCC log directories
89 DBCLEAN_LOGDAYS=14
90 # used to start dbclean, including -e and -E
91 DBCLEAN_ARGS=
92
93
94 # optionally set to something like "local5" or "local5.notice" for
95 # dccd, dbclean, and dccm
96 DCC_INFO_LOG_FACILITY=
97 DCC_ERROR_LOG_FACILITY=
98
99
100 # ensure that the log facilities include levels and that $DCC_LOGGER
101 # has a default.
102 if test ! -z "$DCC_INFO_LOG_FACILITY"; then
103 if expr "X$DCC_INFO_LOG_FACILITY" : 'X.*\..*' >/dev/null; then
104 :
105 else
106 DCC_INFO_LOG_FACILITY="$DCC_INFO_LOG_FACILITY.notice"
107 fi
108 DCC_LOG_ARGS="$DCC_LOG_ARGS -Linfo,$DCC_INFO_LOG_FACILITY"
109 fi
110 if test -z "$DCC_ERROR_LOG_FACILITY"; then
111 # for $DCC_LOGGER
112 DCC_ERROR_LOG_FACILITY=mail.err
113 else
114 if expr "X$DCC_ERROR_LOG_FACILITY" : 'X.*\..*' >/dev/null; then
115 :
116 else
117 DCC_ERROR_LOG_FACILITY="$DCC_ERROR_LOG_FACILITY.err"
118 fi
119 DCC_LOG_ARGS="$DCC_LOG_ARGS -Lerror,$DCC_ERROR_LOG_FACILITY"
120 fi
121 DCC_LOGGER="logger -s -p ${DCC_ERROR_LOG_FACILITY-mail.err} -t DCC"
122
123
124 # do not change the following
125 Configure_DCC_LIBEXEC=/usr/lib/dcc
126 Configure_DCC_RUNDIR=/var/run