# 2.11BSD#431 - /usr/src/usr.sbin/cron/config.h

##### Macros

    DEBUGGING         X
    MAILARGS          X
    MAILCMD           X
    SYSLOG            X
    _PATH_SENDMAIL    X

       1: /* Copyright 1988,1990,1993,1994 by Paul Vixie
       2:  * All rights reserved
       3:  *
       4:  * Distribute freely, except: don't remove my name from the source or
       5:  * documentation (don't take credit for my work), mark your changes (don't
       6:  * get me blamed for your possible bugs), don't alter or remove this
       7:  * notice.  May be sold if buildable source is provided to buyer.  No
       8:  * warrantee of any kind, express or implied, is included with this
       9:  * software; use at your own risk, responsibility for damages (if any) to
      10:  * anyone resulting from the use of this software rests entirely with the
      11:  * user.
      12:  *
      13:  * Send bug reports, bug fixes, enhancements, requests, flames, etc., and
      14:  * I'll try to keep a version up to date.  I can be reached as follows:
      15:  * Paul Vixie          <paul@vix.com>          uunet!decwrl!vixie!paul
      16:  */
      17:
      18: /* config.h - configurables for Vixie Cron
      19:  *
      20:  * $Id: config.h,v 2.6 1994/01/15 20:43:43 vixie Exp $
      21:  */
      22:
      23: #if !defined(_PATH_SENDMAIL)
      24: # define _PATH_SENDMAIL "/usr/lib/sendmail"
      25: #endif /*SENDMAIL*/
      26:
      27: /*
      28:  * these are site-dependent
      29:  */
      30:
      31: #ifndef DEBUGGING
      32: #define DEBUGGING 1 /* 1 or 0 -- do you want debugging code built in? */
      33: #endif
      34:
      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 -or0s %s"       /*-*/
      46:             /* -Fx	 = set full-name of sender
      47: 			 * -odi	 = Option Deliverymode Interactive
      48: 			 * -oem	 = Option Errors Mailedtosender
      49: 			 * -or0s = Option Readtimeout -- don't time out
      50: 			 */
      51:
      52: /* #define MAILCMD "/bin/mail"			/*-*/
      53: /* #define MAILARGS "%s -d  %s"			/*-*/
      54:             /* -d = undocumented but common flag: deliver locally?
      55: 			 */
      56:
      57: /* #define MAILCMD "/usr/mmdf/bin/submit"	/*-*/
      58: /* #define MAILARGS "%s -mlrxto %s"		/*-*/
      59:
      60: /* #define MAIL_DATE				/*-*/
      61:             /* should we include an ersatz Date: header in
      62: 			 * generated mail?  if you are using sendmail
      63: 			 * for MAILCMD, it is better to let sendmail
      64: 			 * generate the Date: header.
      65: 			 */
      66:
      67:             /* if ALLOW_FILE and DENY_FILE are not defined or are
      68: 			 * defined but neither exists, should crontab(1) be
      69: 			 * usable only by root?
      70: 			 */
      71: /*#define ALLOW_ONLY_ROOT			/*-*/
      72:
      73:             /* if you want to use syslog(3) instead of appending
      74: 			 * to CRONDIR/LOG_FILE (/var/cron/log, e.g.), define
      75: 			 * SYSLOG here.  Note that quite a bit of logging
      76: 			 * info is written, and that you probably don't want
      77: 			 * to use this on 4.2bsd since everything goes in
      78: 			 * /usr/spool/mqueue/syslog.  On 4.[34]bsd you can
      79: 			 * tell /etc/syslog.conf to send cron's logging to
      80: 			 * a separate file.
      81: 			 *
      82: 			 * Note that if this and LOG_FILE in "pathnames.h"
      83: 			 * are both defined, then logging will go to both
      84: 			 * places.
      85: 			 */
      86: #define SYSLOG              /*-*/

#### Defined macros

DEBUGGING defined in line 32; used 11 times

- in line 31
- in /usr/src/usr.sbin/cron/cron.c line 70, 101
- in /usr/src/usr.sbin/cron/cron.h line 56, 106, 257, 271
- in /usr/src/usr.sbin/cron/crontab.c line 38
- in /usr/src/usr.sbin/cron/do_command.c line 191
- in /usr/src/usr.sbin/cron/misc.c line 110, 516

MAILARGS defined in line 45; used 1 times

- in /usr/src/usr.sbin/cron/do_command.c line 339

MAILCMD defined in line 44; used 2 times

- in /usr/src/usr.sbin/cron/do_command.c line 340-342(2)

SYSLOG defined in line 86; used 5 times

- in /usr/src/usr.sbin/cron/do_command.c line 24, 149
- in /usr/src/usr.sbin/cron/misc.c line 34, 458, 502

_PATH_SENDMAIL defined in line 24; used 2 times

- in line 23, 44

#### Usage of this include

config.h used 1 times

- in /usr/src/usr.sbin/cron/cron.h line 40

Last modified: 1999-06-12 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 1079 |