11590Srgrimes/* Copyright 1988,1990,1993,1994 by Paul Vixie 21590Srgrimes * All rights reserved 31590Srgrimes * 41590Srgrimes * Distribute freely, except: don't remove my name from the source or 51590Srgrimes * documentation (don't take credit for my work), mark your changes (don't 61590Srgrimes * get me blamed for your possible bugs), don't alter or remove this 71590Srgrimes * notice. May be sold if buildable source is provided to buyer. No 81590Srgrimes * warrantee of any kind, express or implied, is included with this 91590Srgrimes * software; use at your own risk, responsibility for damages (if any) to 101590Srgrimes * anyone resulting from the use of this software rests entirely with the 111590Srgrimes * user. 121590Srgrimes * 131590Srgrimes * Send bug reports, bug fixes, enhancements, requests, flames, etc., and 141590Srgrimes * I'll try to keep a version up to date. I can be reached as follows: 151590Srgrimes * Paul Vixie <paul@vix.com> uunet!decwrl!vixie!paul 161590Srgrimes */ 171590Srgrimes 181590Srgrimes/* config.h - configurables for Vixie Cron 191590Srgrimes * 201590Srgrimes * $FreeBSD$ 211590Srgrimes */ 221590Srgrimes 231590Srgrimes#if !defined(_PATH_SENDMAIL) 241590Srgrimes# define _PATH_SENDMAIL "/usr/lib/sendmail" 251590Srgrimes#endif /*SENDMAIL*/ 261590Srgrimes 271590Srgrimes/* 281590Srgrimes * these are site-dependent 29216370Sjoel */ 30216370Sjoel 311590Srgrimes#ifndef DEBUGGING 321590Srgrimes#define DEBUGGING 1 /* 1 or 0 -- do you want debugging code built in? */ 331590Srgrimes#endif 341590Srgrimes 35 /* 36 * choose one of these MAILCMD commands. I use 37 * /bin/mail for speed; it makes biff bark but doesn't 38 * do aliasing. /usr/lib/sendmail does aliasing but is 39 * a hog for short messages. aliasing is not needed 40 * if you make use of the MAILTO= feature in crontabs. 41 * (hint: MAILTO= was added for this reason). 42 */ 43 44#define MAILCMD _PATH_SENDMAIL /*-*/ 45#define MAILARGS "%s -FCronDaemon -odi -oem -oi -t" /*-*/ 46 /* -Fx = set full-name of sender 47 * -odi = Option Deliverymode Interactive 48 * -oem = Option Errors Mailedtosender 49 * -oi = Option dot message terminator 50 * -t = read recipients from header of message 51 */ 52 53/* #define MAILCMD "/bin/mail" */ /*-*/ 54/* #define MAILARGS "%s -d %s" */ /*-*/ 55 /* -d = undocumented but common flag: deliver locally? 56 */ 57 58/* #define MAILCMD "/usr/mmdf/bin/submit" */ /*-*/ 59/* #define MAILARGS "%s -mlrxto %s" */ /*-*/ 60 61/* #define MAIL_DATE */ /*-*/ 62 /* should we include an ersatz Date: header in 63 * generated mail? if you are using sendmail 64 * for MAILCMD, it is better to let sendmail 65 * generate the Date: header. 66 */ 67 68 /* if ALLOW_FILE and DENY_FILE are not defined or are 69 * defined but neither exists, should crontab(1) be 70 * usable only by root? 71 */ 72/* #define ALLOW_ONLY_ROOT */ /*-*/ 73 74 /* if you want to use syslog(3) instead of appending 75 * to CRONDIR/LOG_FILE (/var/cron/log, e.g.), define 76 * SYSLOG here. Note that quite a bit of logging 77 * info is written, and that you probably don't want 78 * to use this on 4.2bsd since everything goes in 79 * /usr/spool/mqueue/syslog. On 4.[34]bsd you can 80 * tell /etc/syslog.conf to send cron's logging to 81 * a separate file. 82 * 83 * Note that if this and LOG_FILE in "pathnames.h" 84 * are both defined, then logging will go to both 85 * places. 86 */ 87#define SYSLOG /*-*/ 88