1 /*- 2 * Copyright (c) 1998-2001 Proofpoint, Inc. and its suppliers. 3 * All rights reserved. 4 * Copyright (c) 1990, 1993 5 * The Regents of the University of California. All rights reserved. 6 * 7 * By using this file, you agree to the terms and conditions set 8 * forth in the LICENSE file which can be found at the top level of 9 * the sendmail distribution. 10 * 11 * 12 * $MirOS: src/gnu/usr.sbin/sendmail/include/sendmail/pathnames.h,v 1.4 2014/06/09 15:17:05 tg Exp $ 13 * $Id: pathnames.h,v 8.37 2013-11-22 20:51:30 ca Exp $ 14 */ 15 16 #ifndef SM_PATHNAMES_H 17 # define SM_PATHNAMES_H 18 19 20 # ifndef _PATH_SENDMAILCF 21 # if defined(USE_VENDOR_CF_PATH) && defined(_PATH_VENDOR_CF) 22 # define _PATH_SENDMAILCF _PATH_VENDOR_CF 23 # else /* defined(USE_VENDOR_CF_PATH) && defined(_PATH_VENDOR_CF) */ 24 # define _PATH_SENDMAILCF "/etc/mail/sendmail.cf" 25 # endif /* defined(USE_VENDOR_CF_PATH) && defined(_PATH_VENDOR_CF) */ 26 # endif /* ! _PATH_SENDMAILCF */ 27 28 # ifndef _PATH_SENDMAILPID 29 # if defined(BSD4_4) || defined(__MirBSD__) 30 # define _PATH_SENDMAILPID "/var/run/sendmail.pid" 31 # else /* BSD4_4 */ 32 # define _PATH_SENDMAILPID "/etc/mail/sendmail.pid" 33 # endif /* BSD4_4 */ 34 # endif /* ! _PATH_SENDMAILPID */ 35 36 # ifndef _PATH_SENDMAIL 37 # define _PATH_SENDMAIL "/usr/lib/sendmail" 38 # endif /* ! _PATH_SENDMAIL */ 39 40 # ifndef _PATH_MAILDIR 41 # define _PATH_MAILDIR "/var/spool/mail" 42 # endif /* ! _PATH_MAILDIR */ 43 44 # ifndef _PATH_LOCTMP 45 # define _PATH_LOCTMP "/tmp/local.XXXXXX" 46 # endif /* ! _PATH_LOCTMP */ 47 48 # ifndef _PATH_HOSTS 49 # define _PATH_HOSTS "/etc/hosts" 50 # endif /* ! _PATH_HOSTS */ 51 52 53 54 # ifndef _DIR_SENDMAILCF 55 # define _DIR_SENDMAILCF "/etc/mail/" 56 # endif /* ! _DIR_SENDMAILCF */ 57 58 # define SM_GET_RIGHT_CF 0 /* get "right" .cf */ 59 # define SM_GET_SENDMAIL_CF 1 /* always use sendmail.cf */ 60 # define SM_GET_SUBMIT_CF 2 /* always use submit.cf */ 61 62 extern char *getcfname __P((int, int, int, char *)); 63 #endif /* ! SM_PATHNAMES_H */ 64