xref: /openbsd/usr.sbin/cron/config.h (revision 4bdff4be)
1 /*	$OpenBSD: config.h,v 1.23 2015/10/23 18:42:55 tedu Exp $	*/
2 
3 /* Copyright 1988,1990,1993,1994 by Paul Vixie
4  * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
5  * Copyright (c) 1997,2000 by Internet Software Consortium, Inc.
6  *
7  * Permission to use, copy, modify, and distribute this software for any
8  * purpose with or without fee is hereby granted, provided that the above
9  * copyright notice and this permission notice appear in all copies.
10  *
11  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
12  * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13  * MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR
14  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
17  * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18  */
19 
20 /*
21  * these are site-dependent
22  */
23 
24 			/*
25 			 * choose one of these mailer commands.  some use
26 			 * /bin/mail for speed; it makes biff bark but doesn't
27 			 * do aliasing.  sendmail does do aliasing but is
28 			 * a hog for short messages.  aliasing is not needed
29 			 * if you make use of the MAILTO= feature in crontabs.
30 			 * (hint: MAILTO= was added for this reason).
31 			 */
32 
33 #define MAILFMT "%s -FCronDaemon -odi -oem -oi -t"	/*-*/
34 			/* -Fx	 = set full-name of sender
35 			 * -odi	 = Option Deliverymode Interactive
36 			 * -oem	 = Option Errors Mailedtosender
37 			 * -oi   = Ignore "." alone on a line
38 			 * -t    = Get recipient from headers
39 			 */
40 #define MAILARG _PATH_SENDMAIL				/*-*/
41 
42 			/* maximum load at which batch jobs will still run */
43 #define BATCH_MAXLOAD	1.5		/*-*/
44 
45 			/* Define this to run crontab setgid instead of
46 			 * setuid root.  Group access will be used to read
47 			 * the tabs/atjobs dirs and the allow/deny files.
48 			 * If this is not defined then crontab and at
49 			 * must be setuid root.
50 			 */
51 #define CRON_GROUP	"crontab"	/*-*/
52