"SfR Fresh" - the SfR Freeware/Shareware Archive 
Member "tulp-4.2.1/src/conf.h" of archive tulp-4.2.1.tar.gz:
As a special service "SfR Fresh" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting with prefixed line numbers.
Alternatively you can here view or download the uninterpreted source code file.
That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
1 /*
2 * conf.h,v 1.10 2000/03/07 22:16:29 kim Exp
3 *
4 * Copyright (C) 1991-2000 Kimmo Suominen, Christophe Wolfhugel
5 *
6 * Please read the files COPYRIGHT and AUTHORS for the extended
7 * copyrights refering to this file.
8 *
9 * Configuration information for use by LISTSERV.
10 * Change these as appropriate for your system.
11 */
12
13 /*
14 * TULPDIR defines the directory where all service files are
15 * accessible, such as list of lists, etc... TULP chdir()'s to
16 * that at startup.
17 */
18
19 #define TULPDIR "/var/listserv"
20
21 /*
22 * QUEUEDIR is relative to TULPDIR and defines the place where
23 * the messages are queued for future processing.
24 */
25
26 #define QUEUEDIR "queue"
27
28 /*
29 * UMASK to apply to files.
30 */
31
32 #define UMASK 022
33
34 /*
35 * Place where programs sendmail and mailx lie on your system.
36 *
37 * To run sendmail interactively use "-odi" instead of "-odq".
38 * To run sendmail in background use "-odb" instead of "-odi".
39 * This will result in faster LISTSERV replies, but increases
40 * load on your system because of the many sendmail processes.
41 *
42 * Note: with the new "windowed" popen, it is preferable to use
43 * the interactive delivery mode.
44 */
45
46 #define SENDMAIL "/usr/sbin/sendmail -oi -odq -oem -oMrTULP"
47 #define SMTPMAIL "/usr/sbin/sendmail -bs" /* not used yet */
48
49 /*
50 * Following string is the shutdown command, when sent to the
51 * listserv makes a clean and safe shutdown. Useful if there are
52 * several admins and some may not have access to the system
53 * running the server process.
54 *
55 * Change this from the default! Multi words is OK.
56 *
57 * If undefined, the option is not hardcoded. Don't forget the
58 * newline in the string.
59 */
60
61 /* #define SHUTDOWN "shitdown\n" */
62
63 /*
64 * If you don't have support for syslog, but want a facsimile,
65 * define FAKESYSLOG to be the name of a file to which to log
66 * stuff, otherwise the standard syslog will be used.
67 *
68 * #define FAKESYSLOG "/usr/adm/listlog"
69 */
70
71 /* #define FAKESYSLOG "syslog" */
72
73 /*
74 * This is frequently used text, rename to fit your needs
75 */
76
77 #define VERSION "4.2.1" /* No longer than this! */
78
79 /*
80 * If undefined then the statistics junk at the end of a command
81 * message about CPU usage and other stuff will not be sent to
82 * the user. Some dislike to get those lines.
83 */
84
85 /* #define CPUTYPE "IBM RS/6000" */
86
87 /*
88 * NICENESS is the process priority decrement to be used.
89 *
90 * Usually message forwarding is not considered critical and
91 * thus you should choose a value over 0. If the normal
92 * priority on your system is 20, then 19 is the maximum
93 * niceness you should use, because the lowest priority is
94 * usually 39. Using values above that (more decrement) may
95 * cause unpredictable results. Under HP-UX your process might
96 * get stuck sometimes when using an invalid value.
97 */
98
99 #define NICENESS 15
100
101 /*
102 * BATCHSIZE is the maximum number of recipients in each batch
103 * sent. Does not limit the number of people on any single
104 * list. Use a value between 20 to 40, do NOT exceed 40. The
105 * smaller the value, the more often sendmail will be called.
106 * If you run sendmail in background, a small value results in
107 * many sendmail processes running for a large list!
108 */
109
110 #define BATCHSIZE 30
111
112 /*
113 * TULP_PROCESSES is the maximum number of subprocesses the
114 * server will run. This will limit the load on your server.
115 */
116
117 #define TULP_PROCESSES 6
118
119 /*
120 * Define ADD_SENDER, if you want a "Sender: list-errors"
121 * header. This implies the need of the list-errors alias to
122 * someone (not listserv). If your mail agent handles correctly
123 * envelopes and if you did trust listserv and if you use
124 * ADD_REQUEST it might be possible to keep this undefined.
125 */
126
127 #undef ADD_SENDER
128
129 /*
130 * Define ADD_REQUEST, if you prefer envelope sender of
131 * listname-request. Also, listserv job requests will be from
132 * listserv-request, so you will need that defined as an alias
133 * to someone (not listserv itself). This needs listserv as a
134 * trusted user in your sendmail configuration. Add a line like
135 * "Tlistserv" after the other T-lines in "sendmail.cf".
136 *
137 * It is strongly recommended to keep this line defined (and
138 * create the appropriate aliases, listserv-request and
139 * xxx-request for each list). By undefining this option you may
140 * reate loops in case of error messages being bounced. Take
141 * care...
142 */
143
144 #define ADD_REQUEST
145
146 /*
147 * If you want the Received: headers to be stripped from
148 * incoming messages (to be redistributed) define this option.
149 * Default is undefined and it is extremely dangerous to strip
150 * those vital lines. You may generate deadly loops, for you and
151 * for the network if you define this.
152 */
153
154 #undef STRIP_RECEIVED /* Keep undefined please */
155
156 /*
157 * Choose one of the three ways to get your hostname
158 * 1) USE_GETHOSTNAME use gethostname and gethostbyname
159 * 2) USE_UNAME use uname and gethostbyname
160 * 3) HOST use the static string
161 *
162 * Using gethostbyname in 2) and 3) will result in your fully
163 * qualified domain name (FQDN), if your system is properly
164 * configured. That is, if you don't use Domain Name Service,
165 * the FQDN must be the first name for your address in
166 * /etc/hosts or NIS-map hosts.byname. This is the standard
167 * way, so there should be no trouble.
168 */
169
170 #undef USE_GETHOSTNAME /* Use gethostname */
171 #undef USE_UNAME /* Use uname */
172 #define USE_DOMAINFILE /* Use a file */
173 /* #define HOST "mx.gw.com" */ /* Max 50 characters */
174
175 /*
176 * If your system does not have the strcase functions, define
177 * following option.
178 */
179
180 /* #define NEED_STRCASE */ /* Need str{,n}casecmp */
181
182 /*
183 * You should probably better not change following defines, but
184 * in case the defaults do not fit your needs. Be sure of what
185 * you do. Those values have been fetched from Sendmail-IDA
186 * (conf.h) and are unchanged for TULP.
187 */
188
189 #define MAXLINE 1024 /* max line length */
190 #define MAXFIELD 4096 /* max length of a hdr field */
191
192 #include "internal.h"