003 File Manager
Current Path:
/usr/src/contrib/sendmail/src
usr
/
src
/
contrib
/
sendmail
/
src
/
📁
..
📄
Makefile
(347 B)
📄
Makefile.m4
(4.37 KB)
📄
README
(81.76 KB)
📄
SECURITY
(7.5 KB)
📄
TRACEFLAGS
(3.1 KB)
📄
TUNING
(10.22 KB)
📄
alias.c
(22.22 KB)
📄
aliases
(1.43 KB)
📄
aliases.5
(3.15 KB)
📄
arpadate.c
(4.01 KB)
📄
bf.c
(17.58 KB)
📄
bf.h
(1007 B)
📄
collect.c
(24.45 KB)
📄
conf.c
(152.23 KB)
📄
conf.h
(7.13 KB)
📄
control.c
(8.91 KB)
📄
convtime.c
(3.56 KB)
📄
daemon.c
(99.13 KB)
📄
daemon.h
(1.46 KB)
📄
deliver.c
(151.7 KB)
📄
domain.c
(36.74 KB)
📄
envelope.c
(31.71 KB)
📄
err.c
(26.52 KB)
📄
headers.c
(50.32 KB)
📄
helpfile
(5.53 KB)
📄
macro.c
(14.86 KB)
📄
mailq.1
(3.46 KB)
📄
main.c
(108.07 KB)
📄
map.c
(177.38 KB)
📄
map.h
(3.81 KB)
📄
mci.c
(35.37 KB)
📄
milter.c
(103.43 KB)
📄
mime.c
(30.7 KB)
📄
newaliases.1
(1.27 KB)
📄
parseaddr.c
(80.3 KB)
📄
queue.c
(206.08 KB)
📄
ratectrl.c
(13.01 KB)
📄
ratectrl.h
(3.94 KB)
📄
readcf.c
(119.73 KB)
📄
recipient.c
(48.48 KB)
📄
sasl.c
(5.7 KB)
📄
savemail.c
(43.3 KB)
📄
sendmail.8
(17.31 KB)
📄
sendmail.h
(103.76 KB)
📄
sfsasl.c
(21.01 KB)
📄
sfsasl.h
(644 B)
📄
shmticklib.c
(1.51 KB)
📄
sm_resolve.c
(33.24 KB)
📄
sm_resolve.h
(5.25 KB)
📄
srvrsmtp.c
(133.04 KB)
📄
stab.c
(8.73 KB)
📄
stats.c
(4.17 KB)
📄
statusd_shm.h
(945 B)
📄
sysexits.c
(3.61 KB)
📄
timers.c
(4.29 KB)
📄
timers.h
(800 B)
📄
tls.c
(62.13 KB)
📄
tls.h
(8.1 KB)
📄
tlsh.c
(4.73 KB)
📄
trace.c
(4.25 KB)
📄
udb.c
(28.98 KB)
📄
usersmtp.c
(76.98 KB)
📄
util.c
(56.62 KB)
📄
version.c
(539 B)
Editing: conf.h
/* * Copyright (c) 1998-2002 Proofpoint, 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: conf.h,v 8.577 2013-11-22 20:51:55 ca Exp $ */ /* ** CONF.H -- All user-configurable parameters for sendmail ** ** Send updates to sendmail-YYYY@support.sendmail.org ** (replace YYYY with the current year) ** so they will be included in the next release. */ #ifndef CONF_H #define CONF_H 1 #ifdef __GNUC__ struct rusage; /* forward declaration to get gcc to shut up in wait.h */ #endif # include <sys/param.h> # include <sys/types.h> # include <sys/stat.h> # ifndef __QNX__ /* in QNX this grabs bogus LOCK_* manifests */ # include <sys/file.h> # endif # include <sys/wait.h> # include <limits.h> # include <fcntl.h> # include <signal.h> # include <netdb.h> # include <pwd.h> # include <grp.h> /* make sure TOBUFSIZ isn't larger than system limit for size of exec() args */ #ifdef ARG_MAX # if ARG_MAX > 4096 # define SM_ARG_MAX 4096 # else # define SM_ARG_MAX ARG_MAX # endif #else # define SM_ARG_MAX 4096 #endif /********************************************************************** ** Table sizes, etc.... ** There shouldn't be much need to change these.... ** If you do, be careful, none should be set anywhere near INT_MAX **********************************************************************/ #define MAXLINE 2048 /* max line length */ #if SASL # define MAXINPLINE 12288 /* max input line length (for AUTH) */ #else # define MAXINPLINE MAXLINE /* max input line length */ #endif #define MAXNAME 256 /* max length of a name */ #ifndef MAXAUTHINFO # define MAXAUTHINFO 100 /* max length of authinfo token */ #endif #define MAXPV 256 /* max # of parms to mailers */ #define MAXATOM 1000 /* max atoms per address */ #define MAXRWSETS 200 /* max # of sets of rewriting rules */ #define MAXPRIORITIES 25 /* max values for Precedence: field */ #define MAXMXHOSTS 100 /* max # of MX records for one host */ #define SMTPLINELIM 990 /* max SMTP line length */ #define MAXUDBKEY 128 /* max size of a database key (udb only) */ #define MAXKEY 1024 /* max size of a database key */ #define MEMCHUNKSIZE 1024 /* chunk size for memory allocation */ #define MAXUSERENVIRON 100 /* max envars saved, must be >= 3 */ #define MAXMAPSTACK 12 /* max # of stacked or sequenced maps */ #if MILTER # define MAXFILTERS 25 /* max # of milter filters */ # define MAXFILTERMACROS 50 /* max # of macros per milter cmd */ #endif #define MAXSMTPARGS 20 /* max # of ESMTP args for MAIL/RCPT */ #define MAXTOCLASS 8 /* max # of message timeout classes */ #define MAXRESTOTYPES 3 /* max # of resolver timeout types */ #define MAXMIMEARGS 20 /* max args in Content-Type: */ #define MAXMIMENESTING 20 /* max MIME multipart nesting */ #define QUEUESEGSIZE 1000 /* increment for queue size */ #ifndef MAXNOOPCOMMANDS # define MAXNOOPCOMMANDS 20 /* max "noise" commands before slowdown */ #endif /* ** MAXQFNAME == 2 (size of "qf", "df" prefix) ** + 8 (base 60 encoded date, time & sequence number) ** + 10 (base 10 encoded 32 bit process id) ** + 1 (terminating NUL character). */ #define MAXQFNAME 21 /* max qf file name length + 1 */ #define MACBUFSIZE 4096 /* max expanded macro buffer size */ #define TOBUFSIZE SM_ARG_MAX /* max buffer to hold address list */ #define MAXSHORTSTR 203 /* max short string length */ #define MAXMACNAMELEN 25 /* max macro name length */ #define MAXMACROID 0377 /* max macro id number */ /* Must match (BITMAPBITS - 1) */ #ifndef MAXHDRSLEN # define MAXHDRSLEN (32 * 1024) /* max size of message headers */ #endif #ifndef MAXDAEMONS # define MAXDAEMONS 10 /* max number of ports to listen to */ /* XREF: conf.c: MAXDAEMONS != 10 */ #endif #ifndef MAXINTERFACES # define MAXINTERFACES 512 /* number of interfaces to probe */ #endif #ifndef MAXSYMLINKS # define MAXSYMLINKS 32 /* max number of symlinks in a path */ #endif #define MAXLINKPATHLEN (MAXPATHLEN * MAXSYMLINKS) /* max link-expanded file */ #define DATA_PROGRESS_TIMEOUT 300 /* how often to check DATA progress */ #define ENHSCLEN 10 /* max len of enhanced status code */ #define DEFAULT_MAX_RCPT 100 /* max number of RCPTs per envelope */ #ifndef MAXQUEUEGROUPS # define MAXQUEUEGROUPS 50 /* max # of queue groups */ /* must be less than BITMAPBITS for DoQueueRun */ #endif #if MAXQUEUEGROUPS >= BITMAPBITS ERROR _MAXQUEUEGROUPS must be less than _BITMAPBITS #endif #ifndef MAXWORKGROUPS # define MAXWORKGROUPS 50 /* max # of work groups */ #endif #define MAXFILESYS BITMAPBITS /* max # of queue file systems * must be <= BITMAPBITS */ #ifndef FILESYS_UPDATE_INTERVAL # define FILESYS_UPDATE_INTERVAL 300 /* how often to update FileSys table */ #endif #ifndef SM_DEFAULT_TTL # define SM_DEFAULT_TTL 3600 /* default TTL for services that don't have one */ #endif #if SASL # ifndef AUTH_MECHANISMS # if STARTTLS # define AUTH_MECHANISMS "EXTERNAL GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5" # else # define AUTH_MECHANISMS "GSSAPI KERBEROS_V4 DIGEST-MD5 CRAM-MD5" # endif # endif /* ! AUTH_MECHANISMS */ #endif /* SASL */ /* ** Default database permissions (alias, maps, etc.) ** Used by sendmail and libsmdb */ #ifndef DBMMODE # define DBMMODE 0640 #endif /* ** Value which means a uid or gid value should not change */ #ifndef NO_UID # define NO_UID -1 #endif #ifndef NO_GID # define NO_GID -1 #endif /********************************************************************** ** Compilation options. ** #define these to 1 if they are available; ** #define them to 0 otherwise. ** All can be overridden from Makefile. **********************************************************************/ #ifndef NETINET # define NETINET 1 /* include internet support */ #endif #ifndef NETINET6 # define NETINET6 0 /* do not include IPv6 support */ #endif #ifndef NETISO # define NETISO 0 /* do not include ISO socket support */ #endif #ifndef NAMED_BIND # define NAMED_BIND 1 /* use Berkeley Internet Domain Server */ #endif #ifndef XDEBUG # define XDEBUG 1 /* enable extended debugging */ #endif #ifndef MATCHGECOS # define MATCHGECOS 1 /* match user names from gecos field */ #endif #ifndef DSN # define DSN 1 /* include delivery status notification code */ #endif #if !defined(USERDB) && (defined(NEWDB) || defined(HESIOD)) # define USERDB 1 /* look in user database */ #endif #ifndef MIME8TO7 # define MIME8TO7 1 /* 8->7 bit MIME conversions */ #endif #ifndef MIME7TO8 # define MIME7TO8 1 /* 7->8 bit MIME conversions */ #endif #if NAMED_BIND # ifndef DNSMAP # define DNSMAP 1 /* DNS map type */ # endif #endif #ifndef PIPELINING # define PIPELINING 1 /* SMTP PIPELINING */ #endif /********************************************************************** ** End of site-specific configuration. **********************************************************************/ #if CDB >= 2 # define CDBEXT ".db" # define CDBext "db" #else # define CDBEXT ".cdb" # define CDBext "cdb" #endif #include <sm/conf.h> #endif /* ! CONF_H */
Upload File
Create Folder