File: config.h

package info (click to toggle)
gup 0.5.13
  • links: PTS
  • area: main
  • in suites: lenny, squeeze, wheezy
  • size: 188 kB
  • ctags: 168
  • sloc: ansic: 1,609; sh: 213; makefile: 57
file content (44 lines) | stat: -rw-r--r-- 1,513 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* ACTIVE_PATH is the full pathname for your news active file. This
 * file is used to validate newgroup names. */
#define ACTIVE_PATH	"/var/lib/news/active"

/* NEWSGROUPS_PATH is the fill pathname for your newsgroups file. This
 * file is used to provide descriptions for each newsgroup. */
#define NEWSGROUPS_PATH	"/var/lib/news/newsgroups"

/* BACKSTOP_MAILID is used if gup cannot find a FROM: or a REPLY-TO: or
 * a valid site command, this is where the mail goes to. */
#define BACKSTOP_MAILID	"news"

/* MAIL_COMMAND is the mailer that accepts a mail with rfc822 headers and
 * body from stdin. */
#define MAIL_COMMAND	"/usr/sbin/sendmail -oi -t"

/* With a command like "include alt.*" the resultant list is, long.
 * LOG_MATCH_LIMIT, defines the upper bound on the number of pattern
 * matches that will be printed out for the include, exclude and delete
 * commands. */
#define LOG_MATCH_LIMIT	50

/* The UMASK to use when creating files and directories. */
#define UMASK	022

#define	CONFIG_FILENAME		"config"
#define	SITE_DIRECTORY		"sites"
#define	EXCLUSIONS_FILENAME	"exclude"
#define	BODY_FILENAME		"groups"
#define	NEWBODY_FILENAME	"groups.new"
#define	OLDBODY_FILENAME	"groups.old"

/* I'll enable it. I hope it will not break anything. -- Md */
/* No luck, it needs more code. */
/* #define STDIO_READGROUP */

/* allow cleartext passwords in the config file */
#define CLEARTEXT_PWD

/* this should always be OK */
/* but is not NFS safe! -- Md */
/* #define USE_DOTLOCK */
#define USE_FLOCK