Import sendmail 8.13.4 into a new contrib directory as the first step
[dragonfly.git] / contrib / sendmail-8.13.4 / include / sendmail / pathnames.h
blobcbf5f4a6067577f2d0dfb280cbbdbc4b1c07cc35
1 /*-
2 * Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers.
3 * All rights reserved.
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.36 2002/04/09 22:40:26 gshapiro 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
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 */
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 */
43 # ifndef _PATH_LOCTMP
44 # define _PATH_LOCTMP "/tmp/local.XXXXXX"
45 # endif /* ! _PATH_LOCTMP */
47 # ifndef _PATH_HOSTS
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 */