164562Sgshapiro/*- 290792Sgshapiro * Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers. 364562Sgshapiro * All rights reserved. 464562Sgshapiro * Copyright (c) 1990, 1993 564562Sgshapiro * The Regents of the University of California. All rights reserved. 664562Sgshapiro * 764562Sgshapiro * By using this file, you agree to the terms and conditions set 864562Sgshapiro * forth in the LICENSE file which can be found at the top level of 964562Sgshapiro * the sendmail distribution. 1064562Sgshapiro * 1164562Sgshapiro * 1298121Sgshapiro * $Id: pathnames.h,v 8.36 2002/04/09 22:40:26 gshapiro Exp $ 1364562Sgshapiro */ 1464562Sgshapiro 1590792Sgshapiro#ifndef SM_PATHNAMES_H 1690792Sgshapiro# define SM_PATHNAMES_H 1764562Sgshapiro 1864562Sgshapiro 1990792Sgshapiro# ifndef _PATH_SENDMAILCF 2090792Sgshapiro# if defined(USE_VENDOR_CF_PATH) && defined(_PATH_VENDOR_CF) 2190792Sgshapiro# define _PATH_SENDMAILCF _PATH_VENDOR_CF 2290792Sgshapiro# else /* defined(USE_VENDOR_CF_PATH) && defined(_PATH_VENDOR_CF) */ 2390792Sgshapiro# define _PATH_SENDMAILCF "/etc/mail/sendmail.cf" 2490792Sgshapiro# endif /* defined(USE_VENDOR_CF_PATH) && defined(_PATH_VENDOR_CF) */ 2590792Sgshapiro# endif /* ! _PATH_SENDMAILCF */ 2664562Sgshapiro 2790792Sgshapiro# ifndef _PATH_SENDMAILPID 2890792Sgshapiro# ifdef BSD4_4 2990792Sgshapiro# define _PATH_SENDMAILPID "/var/run/sendmail.pid" 3090792Sgshapiro# else /* BSD4_4 */ 3190792Sgshapiro# define _PATH_SENDMAILPID "/etc/mail/sendmail.pid" 3290792Sgshapiro# endif /* BSD4_4 */ 3390792Sgshapiro# endif /* ! _PATH_SENDMAILPID */ 3464562Sgshapiro 3590792Sgshapiro# ifndef _PATH_SENDMAIL 3690792Sgshapiro# define _PATH_SENDMAIL "/usr/lib/sendmail" 3790792Sgshapiro# endif /* ! _PATH_SENDMAIL */ 3864562Sgshapiro 3990792Sgshapiro# ifndef _PATH_MAILDIR 4098121Sgshapiro# define _PATH_MAILDIR "/var/spool/mail" 4190792Sgshapiro# endif /* ! _PATH_MAILDIR */ 4290792Sgshapiro 4390792Sgshapiro# ifndef _PATH_LOCTMP 4490792Sgshapiro# define _PATH_LOCTMP "/tmp/local.XXXXXX" 4590792Sgshapiro# endif /* ! _PATH_LOCTMP */ 4690792Sgshapiro 4790792Sgshapiro# ifndef _PATH_HOSTS 4890792Sgshapiro# define _PATH_HOSTS "/etc/hosts" 4990792Sgshapiro# endif /* ! _PATH_HOSTS */ 5090792Sgshapiro 5190792Sgshapiro 5290792Sgshapiro 5390792Sgshapiro# ifndef _DIR_SENDMAILCF 5490792Sgshapiro# define _DIR_SENDMAILCF "/etc/mail/" 5590792Sgshapiro# endif /* ! _DIR_SENDMAILCF */ 5690792Sgshapiro 5790792Sgshapiro# define SM_GET_RIGHT_CF 0 /* get "right" .cf */ 5890792Sgshapiro# define SM_GET_SENDMAIL_CF 1 /* always use sendmail.cf */ 5990792Sgshapiro# define SM_GET_SUBMIT_CF 2 /* always use submit.cf */ 6090792Sgshapiro 6190792Sgshapiroextern char *getcfname __P((int, int, int, char *)); 6290792Sgshapiro#endif /* ! SM_PATHNAMES_H */ 63