/*
* Copyright (c) 1998-2001 Sendmail, Inc. and its suppliers.
* All rights reserved.
* Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved.
* Copyright (c) 1988, 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: sendmail.h,v 8.68 2002/07/01 22:18:53 gshapiro Exp $ */
#pragma ident "%Z%%M% %I% %E% SMI"
/*
** SENDMAIL.H -- Global definitions for sendmail.
*/
/**********************************************************************
** Table sizes, etc....
** There shouldn't be much need to change these....
**********************************************************************/
#
define MAXMAILERS 25 /* maximum mailers known to system */#endif /* ! MAXMAILERS */
/*
*/
#
define SFF_MUSTOWN 0x00000001L /* user must own this file */#
define SFF_NOSLINK 0x00000002L /* file cannot be a symbolic link */#
define SFF_ROOTOK 0x00000004L /* ok for root to own this file */#
define SFF_SETUIDOK 0x00000020L /* set-user-ID files are ok */#
define SFF_CREAT 0x00000040L /* ok to create file if necessary */#
define SFF_REGONLY 0x00000080L /* regular files only */#
define SFF_NOHLINK 0x00000200L /* file cannot have hard links */#
define SFF_NOWLINK 0x00000400L /* links only in non-writable dirs */#
define SFF_NOGWFILES 0x00000800L /* disallow world writable files */#
define SFF_NOWWFILES 0x00001000L /* disallow group writable files */#
define SFF_OPENASROOT 0x00002000L /* open as root instead of real user */#
define SFF_NOLOCK 0x00004000L /* don't lock the file */#
define SFF_NOGRFILES 0x00008000L /* disallow g readable files */#
define SFF_NOWRFILES 0x00010000L /* disallow o readable files */#
define SFF_NOTEXCL 0x00020000L /* creates don't need to be exclusive */#
define SFF_EXECOK 0x00040000L /* executable files are ok (E_SM_ISEXEC) */#
define SFF_NBLOCK 0x00080000L /* use a non-blocking lock */
/* pseudo-flags */
/* functions */
extern int dfopen __P((
char *,
int,
int,
long));
/*
** DontBlameSendmail options
**
** Hopefully nobody uses these.
*/
#endif /* _FFR_GROUPREADABLEAUTHINFOFILE */
/* struct defining such things */
{
char *
dbs_name;
/* name of DontBlameSendmail flag */ unsigned char dbs_flag;
/* numeric level */ };
/* Flags for submitmode */
#
define SUBMIT_MTA 0x0001 /* act like a message transfer agent */#
define SUBMIT_MSA 0x0002 /* act like a message submission agent */