File: config.h

package info (click to toggle)
cron 3.0pl1-190
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 3,692 kB
  • sloc: ansic: 52,192; xml: 1,499; perl: 733; sh: 461; makefile: 446; python: 43
file content (109 lines) | stat: -rw-r--r-- 3,864 bytes parent folder | download | duplicates (2)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
/* Copyright 1988,1990,1993,1994 by Paul Vixie
 * All rights reserved
 *
 * Distribute freely, except: don't remove my name from the source or
 * documentation (don't take credit for my work), mark your changes (don't
 * get me blamed for your possible bugs), don't alter or remove this
 * notice.  May be sold if buildable source is provided to buyer.  No
 * warrantee of any kind, express or implied, is included with this
 * software; use at your own risk, responsibility for damages (if any) to
 * anyone resulting from the use of this software rests entirely with the
 * user.
 *
 * Send bug reports, bug fixes, enhancements, requests, flames, etc., and
 * I'll try to keep a version up to date.  I can be reached as follows:
 * Paul Vixie          <[email protected]>          uunet!decwrl!vixie!paul
 */

/* config.h - configurables for Vixie Cron
 *
 * $Id: config.h,v 2.6 1994/01/15 20:43:43 vixie Exp $
 */

#if !defined(_PATH_SENDMAIL)
# define _PATH_SENDMAIL "/usr/lib/sendmail"
#endif /*SENDMAIL*/

/*
 * these are site-dependent
 */

#ifndef DEBUGGING
#error DEBUGGING not defined
#define DEBUGGING 1	/* 1 or 0 -- do you want debugging code built in? */
#endif

			/*
			 * choose one of these MAILCMD commands.  I use
			 * /bin/mail for speed; it makes biff bark but doesn't
			 * do aliasing.  /usr/lib/sendmail does aliasing but is
			 * a hog for short messages.  aliasing is not needed
			 * if you make use of the MAILTO= feature in crontabs.
			 * (hint: MAILTO= was added for this reason).
			 */

#define MAILCMD _PATH_SENDMAIL					/*-*/
#define MAILARGS "%s -FCronDaemon -i -B8BITMIME -oem  %s"	/*-*/
			/* -Fx	 = set full-name of sender
			 * -i    = don't terminate on "." by itself
			 * -B8BITMIME = 8-bit processing
			 * -odi	 = Option Deliverymode Interactive
			 * -oem	 = Option Errors Mailedtosender
 			 * -t    = read recipient from header of message
			 * -or0s = Option Readtimeout -- don't time out
			 * XXX: sendmail doesn't allow -or0s when invoked
			 * by joe user.  --okir
			 */

/* #define MAILCMD "/bin/mail"			/*-*/
/* #define MAILARGS "%s -d  %s"			/*-*/
			/* -d = undocumented but common flag: deliver locally?
			 */

/* #define MAILCMD "/usr/mmdf/bin/submit"	/*-*/
/* #define MAILARGS "%s -mlrxto %s"		/*-*/

/* #define MAIL_DATE				/*-*/
			/* should we include an ersatz Date: header in
			 * generated mail?  if you are using sendmail
			 * for MAILCMD, it is better to let sendmail
			 * generate the Date: header.
			 */

			/* Content-Transfer-Encoding used in mail sent
			 * if CONTENT_TRANSFER_ENCODING is not set.
			 *
			 * "8bit", the previous default, does not do
			 * any encoding and will fail with long lines
			 * (> 998 characters according to RFC 5322).
			 *
			 * "auto" means some suitable encoding (currently
			 * quoted-printable) which cron will do internally.
			 *
			 * In contrast, setting this define or
			 * CONTENT_TRANSFER_ENCODING to quoted-printable means
			 * the command output must be encoded already.
			 */
/*#define DEFAULT_CONTENT_TRANSFER_ENCODING "8bit"			/*-*/
#define DEFAULT_CONTENT_TRANSFER_ENCODING "auto"			/*-*/

			/* if ALLOW_FILE and DENY_FILE are not defined or are
			 * defined but neither exists, should crontab(1) be
			 * usable only by root?
			 */
/*#define ALLOW_ONLY_ROOT			/*-*/

			/* if you want to use syslog(3) instead of appending
			 * to CRONDIR/LOG_FILE (/var/cron/log, e.g.), define
			 * SYSLOG here.  Note that quite a bit of logging
			 * info is written, and that you probably don't want
			 * to use this on 4.2bsd since everything goes in
			 * /usr/spool/mqueue/syslog.  On 4.[34]bsd you can
			 * tell /etc/syslog.conf to send cron's logging to
			 * a separate file.
			 *
			 * Note that if this and LOG_FILE in "pathnames.h"
			 * are both defined, then logging will go to both
			 * places.
			 */
#define SYSLOG	 			/*-*/