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