12311Sjkh/* Copyright 1988,1990,1993,1994 by Paul Vixie
22311Sjkh * All rights reserved
32311Sjkh *
42311Sjkh * Distribute freely, except: don't remove my name from the source or
52311Sjkh * documentation (don't take credit for my work), mark your changes (don't
62311Sjkh * get me blamed for your possible bugs), don't alter or remove this
72311Sjkh * notice.  May be sold if buildable source is provided to buyer.  No
82311Sjkh * warrantee of any kind, express or implied, is included with this
92311Sjkh * software; use at your own risk, responsibility for damages (if any) to
102311Sjkh * anyone resulting from the use of this software rests entirely with the
112311Sjkh * user.
122311Sjkh *
132311Sjkh * Send bug reports, bug fixes, enhancements, requests, flames, etc., and
142311Sjkh * I'll try to keep a version up to date.  I can be reached as follows:
152311Sjkh * Paul Vixie          <paul@vix.com>          uunet!decwrl!vixie!paul
162311Sjkh */
172311Sjkh
182311Sjkh/* config.h - configurables for Vixie Cron
192311Sjkh *
2050479Speter * $FreeBSD: releng/10.3/usr.sbin/cron/cron/config.h 50479 1999-08-28 01:35:59Z peter $
212311Sjkh */
222311Sjkh
232311Sjkh#if !defined(_PATH_SENDMAIL)
242311Sjkh# define _PATH_SENDMAIL "/usr/lib/sendmail"
252311Sjkh#endif /*SENDMAIL*/
262311Sjkh
272311Sjkh/*
282311Sjkh * these are site-dependent
292311Sjkh */
302311Sjkh
312311Sjkh#ifndef DEBUGGING
322311Sjkh#define DEBUGGING 1	/* 1 or 0 -- do you want debugging code built in? */
332311Sjkh#endif
342311Sjkh
352311Sjkh			/*
362311Sjkh			 * choose one of these MAILCMD commands.  I use
372311Sjkh			 * /bin/mail for speed; it makes biff bark but doesn't
382311Sjkh			 * do aliasing.  /usr/lib/sendmail does aliasing but is
392311Sjkh			 * a hog for short messages.  aliasing is not needed
402311Sjkh			 * if you make use of the MAILTO= feature in crontabs.
412311Sjkh			 * (hint: MAILTO= was added for this reason).
422311Sjkh			 */
432311Sjkh
442311Sjkh#define MAILCMD _PATH_SENDMAIL					/*-*/
4519594Swosch#define MAILARGS "%s -FCronDaemon -odi -oem -oi -t"             /*-*/
462311Sjkh			/* -Fx	 = set full-name of sender
472311Sjkh			 * -odi	 = Option Deliverymode Interactive
482311Sjkh			 * -oem	 = Option Errors Mailedtosender
4919594Swosch			 * -oi   = Option dot message terminator
507828Sache			 * -t    = read recipients from header of message
512311Sjkh			 */
522311Sjkh
538379Srgrimes/* #define MAILCMD "/bin/mail" */		/*-*/
548379Srgrimes/* #define MAILARGS "%s -d  %s" */		/*-*/
552311Sjkh			/* -d = undocumented but common flag: deliver locally?
562311Sjkh			 */
572311Sjkh
588379Srgrimes/* #define MAILCMD "/usr/mmdf/bin/submit" */	/*-*/
598379Srgrimes/* #define MAILARGS "%s -mlrxto %s" */		/*-*/
602311Sjkh
618379Srgrimes/* #define MAIL_DATE */				/*-*/
622311Sjkh			/* should we include an ersatz Date: header in
632311Sjkh			 * generated mail?  if you are using sendmail
642311Sjkh			 * for MAILCMD, it is better to let sendmail
652311Sjkh			 * generate the Date: header.
662311Sjkh			 */
672311Sjkh
682311Sjkh			/* if ALLOW_FILE and DENY_FILE are not defined or are
692311Sjkh			 * defined but neither exists, should crontab(1) be
702311Sjkh			 * usable only by root?
712311Sjkh			 */
728379Srgrimes/* #define ALLOW_ONLY_ROOT */			/*-*/
732311Sjkh
742311Sjkh			/* if you want to use syslog(3) instead of appending
752311Sjkh			 * to CRONDIR/LOG_FILE (/var/cron/log, e.g.), define
762311Sjkh			 * SYSLOG here.  Note that quite a bit of logging
772311Sjkh			 * info is written, and that you probably don't want
782311Sjkh			 * to use this on 4.2bsd since everything goes in
792311Sjkh			 * /usr/spool/mqueue/syslog.  On 4.[34]bsd you can
802311Sjkh			 * tell /etc/syslog.conf to send cron's logging to
812311Sjkh			 * a separate file.
822311Sjkh			 *
832311Sjkh			 * Note that if this and LOG_FILE in "pathnames.h"
842311Sjkh			 * are both defined, then logging will go to both
852311Sjkh			 * places.
862311Sjkh			 */
872311Sjkh#define SYSLOG	 			/*-*/
88