New sentence, new line.
[netbsd-mini2440.git] / usr.sbin / cron / config.h
blob8da4fb431ef75f3de6a3bc04be9d46aa3d8c7bc7
1 /* $NetBSD: config.h,v 1.6 1999/04/09 02:47:03 cjs Exp $ */
3 /* Copyright 1988,1990,1993,1994 by Paul Vixie
4 * All rights reserved
6 * Distribute freely, except: don't remove my name from the source or
7 * documentation (don't take credit for my work), mark your changes (don't
8 * get me blamed for your possible bugs), don't alter or remove this
9 * notice. May be sold if buildable source is provided to buyer. No
10 * warrantee of any kind, express or implied, is included with this
11 * software; use at your own risk, responsibility for damages (if any) to
12 * anyone resulting from the use of this software rests entirely with the
13 * user.
15 * Send bug reports, bug fixes, enhancements, requests, flames, etc., and
16 * I'll try to keep a version up to date. I can be reached as follows:
17 * Paul Vixie <paul@vix.com> uunet!decwrl!vixie!paul
20 /* config.h - configurables for Vixie Cron
22 * Id: config.h,v 2.6 1994/01/15 20:43:43 vixie Exp
25 #if !defined(_PATH_SENDMAIL)
26 # define _PATH_SENDMAIL "/usr/lib/sendmail"
27 #endif /*SENDMAIL*/
30 * these are site-dependent
33 #ifndef DEBUGGING
34 #define DEBUGGING 1 /* 1 or 0 -- do you want debugging code built in? */
35 #endif
38 * choose one of these MAILCMD commands. I use
39 * /bin/mail for speed; it makes biff bark but doesn't
40 * do aliasing. /usr/lib/sendmail does aliasing but is
41 * a hog for short messages. aliasing is not needed
42 * if you make use of the MAILTO= feature in crontabs.
43 * (hint: MAILTO= was added for this reason).
46 #define MAILCMD _PATH_SENDMAIL /*-*/
47 #define MAILARGS "%s -FCronDaemon -odi -oem -oi -t" /*-*/
48 /* -Fx = set full-name of sender
49 * -odi = Option Deliverymode Interactive
50 * -oem = Option Errors Mailedtosender
51 * -t = read recipient from header of message
54 /* #define MAILCMD "/bin/mail" */
55 /* #define MAILARGS "%s -d %s" */
56 /* -d = undocumented but common flag: deliver locally?
59 /* #define MAILCMD "/usr/mmdf/bin/submit" */
60 /* #define MAILARGS "%s -mlrxto %s" */
62 /* #define MAIL_DATE */
63 /* should we include an ersatz Date: header in
64 * generated mail? if you are using sendmail
65 * for MAILCMD, it is better to let sendmail
66 * generate the Date: header.
69 /* if ALLOW_FILE and DENY_FILE are not defined or are
70 * defined but neither exists, should crontab(1) be
71 * usable only by root?
73 /*#define ALLOW_ONLY_ROOT */
75 /* The maximum size of a crontab, in bytes, if
76 MAXTABSIZE_FILE doesn't exist.
78 #define MAXTABSIZE_DEFAULT (1024*32)
80 /* if you want to use syslog(3) instead of appending
81 * to CRONDIR/LOG_FILE (/var/cron/log, e.g.), define
82 * SYSLOG here. Note that quite a bit of logging
83 * info is written, and that you probably don't want
84 * to use this on 4.2bsd since everything goes in
85 * /usr/spool/mqueue/syslog. On 4.[34]bsd you can
86 * tell /etc/syslog.conf to send cron's logging to
87 * a separate file.
89 * Note that if this and LOG_FILE in "pathnames.h"
90 * are both defined, then logging will go to both
91 * places.
93 #define SYSLOG /*-*/