summaryrefslogtreecommitdiffstats
path: root/contrib/sendmail/include/sendmail/pathnames.h
blob: 54efd327662bd8bbae94a2f026e1c812b3a4f3f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
/*-
 * Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers.
 *	All rights reserved.
 * Copyright (c) 1990, 1993
 *	The Regents of the University of California.  All rights reserved.
 *
 * By using this file, you agree to the terms and conditions set
 * forth in the LICENSE file which can be found at the top level of
 * the sendmail distribution.
 *
 *
 *	$Id: pathnames.h,v 8.35 2001/03/23 22:09:44 ca Exp $
 */

#ifndef SM_PATHNAMES_H
# define SM_PATHNAMES_H


#  ifndef _PATH_SENDMAILCF
#   if defined(USE_VENDOR_CF_PATH) && defined(_PATH_VENDOR_CF)
#    define _PATH_SENDMAILCF	_PATH_VENDOR_CF
#   else /* defined(USE_VENDOR_CF_PATH) && defined(_PATH_VENDOR_CF) */
#    define _PATH_SENDMAILCF	"/etc/mail/sendmail.cf"
#   endif /* defined(USE_VENDOR_CF_PATH) && defined(_PATH_VENDOR_CF) */
#  endif /* ! _PATH_SENDMAILCF */

#  ifndef _PATH_SENDMAILPID
#   ifdef BSD4_4
#    define _PATH_SENDMAILPID	"/var/run/sendmail.pid"
#   else /* BSD4_4 */
#    define _PATH_SENDMAILPID	"/etc/mail/sendmail.pid"
#   endif /* BSD4_4 */
#  endif /* ! _PATH_SENDMAILPID */

#  ifndef _PATH_SENDMAIL
#   define _PATH_SENDMAIL 	"/usr/lib/sendmail"
#  endif /* ! _PATH_SENDMAIL */

#  ifndef _PATH_MAILDIR
#   define _PATH_MAILDIR		"/var/spool/mail"
#  endif /* ! _PATH_MAILDIR */

#  ifndef _PATH_LOCTMP
#   define _PATH_LOCTMP		"/tmp/local.XXXXXX"
#  endif /* ! _PATH_LOCTMP */

#  ifndef _PATH_HOSTS
#   define _PATH_HOSTS		"/etc/hosts"
#  endif /* ! _PATH_HOSTS */



#  ifndef _DIR_SENDMAILCF
#   define _DIR_SENDMAILCF	"/etc/mail/"
#  endif /* ! _DIR_SENDMAILCF */

# define SM_GET_RIGHT_CF	0	/* get "right" .cf */
# define SM_GET_SENDMAIL_CF	1	/* always use sendmail.cf */
# define SM_GET_SUBMIT_CF	2	/* always use submit.cf */

extern char	*getcfname __P((int, int, int, char *));
#endif /* ! SM_PATHNAMES_H */
OpenPOWER on IntegriCloud