2 * Copyright (c) 1998-2001 Proofpoint, Inc. and its suppliers.
4 * Copyright (c) 1990, 1993
5 * The Regents of the University of California. All rights reserved.
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.
12 * $Id: pathnames.h,v 8.37 2013-11-22 20:51:30 ca Exp $
15 #ifndef SM_PATHNAMES_H
16 # define SM_PATHNAMES_H
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 */
27 # ifndef _PATH_SENDMAILPID
29 # define _PATH_SENDMAILPID "/var/run/sendmail.pid"
31 # define _PATH_SENDMAILPID "/etc/mail/sendmail.pid"
33 # endif /* ! _PATH_SENDMAILPID */
35 # ifndef _PATH_SENDMAIL
36 # define _PATH_SENDMAIL "/usr/lib/sendmail"
37 # endif /* ! _PATH_SENDMAIL */
39 # ifndef _PATH_MAILDIR
40 # define _PATH_MAILDIR "/var/spool/mail"
41 # endif /* ! _PATH_MAILDIR */
44 # define _PATH_LOCTMP "/tmp/local.XXXXXX"
45 # endif /* ! _PATH_LOCTMP */
48 # define _PATH_HOSTS "/etc/hosts"
49 # endif /* ! _PATH_HOSTS */
53 # ifndef _DIR_SENDMAILCF
54 # define _DIR_SENDMAILCF "/etc/mail/"
55 # endif /* ! _DIR_SENDMAILCF */
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 */
61 extern char *getcfname __P((int, int, int, char *));
62 #endif /* ! SM_PATHNAMES_H */