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 * $Id: pathnames.h,v 8.37 2013-11-22 20:51:30 ca Exp $ 13 */ 14 15#ifndef SM_PATHNAMES_H 16# define SM_PATHNAMES_H 17 18 19# ifndef _PATH_SENDMAILCF 20# if defined(USE_VENDOR_CF_PATH) && defined(_PATH_VENDOR_CF) 21# define _PATH_SENDMAILCF _PATH_VENDOR_CF 22# else /* defined(USE_VENDOR_CF_PATH) && defined(_PATH_VENDOR_CF) */ 23# define _PATH_SENDMAILCF "/etc/mail/sendmail.cf" 24# endif /* defined(USE_VENDOR_CF_PATH) && defined(_PATH_VENDOR_CF) */ 25# endif /* ! _PATH_SENDMAILCF */ 26 27# ifndef _PATH_SENDMAILPID 28# ifdef BSD4_4 29# define _PATH_SENDMAILPID "/var/run/sendmail.pid" 30# else /* BSD4_4 */ 31# define _PATH_SENDMAILPID "/etc/mail/sendmail.pid" 32# endif /* BSD4_4 */ 33# endif /* ! _PATH_SENDMAILPID */ 34 35# ifndef _PATH_SENDMAIL 36# define _PATH_SENDMAIL "/usr/lib/sendmail" 37# endif /* ! _PATH_SENDMAIL */ 38 39# ifndef _PATH_MAILDIR 40# define _PATH_MAILDIR "/var/spool/mail" 41# endif /* ! _PATH_MAILDIR */ 42 43# ifndef _PATH_LOCTMP 44# define _PATH_LOCTMP "/tmp/local.XXXXXX" 45# endif /* ! _PATH_LOCTMP */ 46 47# ifndef _PATH_HOSTS 48# define _PATH_HOSTS "/etc/hosts" 49# endif /* ! _PATH_HOSTS */ 50 51 52 53# ifndef _DIR_SENDMAILCF 54# define _DIR_SENDMAILCF "/etc/mail/" 55# endif /* ! _DIR_SENDMAILCF */ 56 57# define SM_GET_RIGHT_CF 0 /* get "right" .cf */ 58# define SM_GET_SENDMAIL_CF 1 /* always use sendmail.cf */ 59# define SM_GET_SUBMIT_CF 2 /* always use submit.cf */ 60 61extern char *getcfname __P((int, int, int, char *)); 62#endif /* ! SM_PATHNAMES_H */ 63