Commit Graph

189 Commits

Author SHA1 Message Date
markm
97238e0834 Add (commented out) macros to make compiling with tcpwrappers easier. 1997-09-28 09:31:43 +00:00
jkh
d7d9fa907e If we're going to blindly install freebsd.cf from the etc-sendmail.cf
rule then we'd better depend on it.
1997-09-22 07:33:14 +00:00
peter
83ccdf4bac Set ForwardPath as presently inuse on hub 1997-08-22 16:50:49 +00:00
peter
df2d634ff5 Snapshot the various mail configurations. hub.mc was reconstructed to
produce the same sendmail.cf since the original has been lost.
1997-08-14 14:42:06 +00:00
peter
17f776e550 Merge sendmail-8.8.7 changes from vendor branch 1997-08-04 05:07:46 +00:00
peter
5a27937fcd Merge sendmail 8.8.7 changes from vendor branch 1997-08-04 05:06:42 +00:00
peter
8c3e83c7fe Import sendmail-8.8.7 onto vendor branch.
Obtained from: ftp.sendmail.org
1997-08-04 05:00:07 +00:00
peter
8f01114fd6 This commit was generated by cvs2svn to compensate for changes in r27876,
which included commits to RCS files with non-trunk default branches.
1997-08-04 05:00:07 +00:00
bde
51d15a5e63 README is for Lite2. We don't want it. 1997-08-03 06:38:27 +00:00
bde
80a2be0ede This commit was generated by cvs2svn to compensate for changes in r27850,
which included commits to RCS files with non-trunk default branches.
1997-08-02 19:36:03 +00:00
bde
be8ea41ee0 Import Lite2's src/usr.sbin, except for timed. All changed files
except one unimportant one have already left the vendor branch.
1997-08-02 19:36:03 +00:00
peter
14edf92299 Revive this file, it's come back from the dead in the 8.8.x dists. 1997-06-27 15:55:33 +00:00
peter
ffc2d3d703 Merge in sendmail-8.8.5 -> 8.8.6 changes to those files that have left the
vendor branch.
1997-06-27 15:17:19 +00:00
peter
30e5ecc749 Import sendmail-8.8.6
Obtained from: ftp.sendmail.org
1997-06-27 14:53:01 +00:00
peter
30e296b761 This commit was generated by cvs2svn to compensate for changes in r26986,
which included commits to RCS files with non-trunk default branches.
1997-06-27 14:53:01 +00:00
imp
691010efad compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-31 05:11:47 +00:00
peter
8abbe02b7e Activate HASSETUSERCONTEXT to set resource limits while delivering
to pipes in .forward files, but with a slight bugfix to the code.
1997-03-14 14:26:35 +00:00
peter
b782f4df30 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
ache
98939b4915 Replace my EOF fix with better one from sendmail-bugs discussion
Should go into 2.2
1997-02-14 13:57:37 +00:00
ache
5bdbe29aef Back out clearerr fix after discussion in sendmail-bugs,
it gains nothing
1997-02-14 02:44:45 +00:00
ache
715ca3161a clearerr() clears both EOF and error flags, so do it only for
error and not for EOF or loop test becomes while(1)

Should go into 2.2
Submitted by: Gregory Neil Shapiro <gshapiro@WPI.EDU>
1997-02-13 21:45:20 +00:00
ache
4a8888776c Under some circumstanes sendmail can loop forever collecting input.
Fix uninitialized character to prevent it.

Should go into 2.2
1997-02-13 15:48:35 +00:00
peter
63bae8ec19 Merge 8.8.4 -> 8.8.5 changes onto mainline 1997-01-27 07:43:29 +00:00
peter
134f8fd9fc Import sendmail 8.8.5. See RELEASE_NOTES for changes.
Obtained from: ftp.sendmail.org:/pub/sendmail
1997-01-27 07:37:00 +00:00
peter
3efbf7c64e This commit was generated by cvs2svn to compensate for changes in r22028,
which included commits to RCS files with non-trunk default branches.
1997-01-27 07:37:00 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
peter
8b1eea49bc Add two missing links (hoststat/purgestat) 1996-12-31 12:38:57 +00:00
peter
57ece16807 Allow an optional setting to specify a .cf file to be built and installed
into /etc during the sendmail build.  Not for the feint hearted.
(I have been using something like this for some time since I only ever
 edit my system's .mc file)
1996-12-28 18:11:08 +00:00
peter
a849c16e42 Use the label that Bruce suggested, it seems the src/etc/Makefile "helpers"
are all prefixed with "etc-".
1996-12-28 18:02:06 +00:00
peter
4e1a950a25 Add a hook for installing the /etc/sendmail.cf file
Submitted by: bde
1996-12-28 17:57:28 +00:00
peter
cb5ab704f2 Update this to what freefall's been running for a day or so. 1996-12-06 11:29:15 +00:00
peter
73507eddfc Remove file that we don't have any way of using. We don't have the other
Makefiles for other OS's in our tree that this uses when not using bmake.
1996-12-03 06:21:49 +00:00
peter
51333fb77f Remove file no longer shipped with sendmail 1996-12-03 06:20:18 +00:00
peter
874b5f6763 Remove defunct files that are no longer shipped (and don't work with this
version of sendmail any more)
1996-12-03 06:19:51 +00:00
peter
a368264a43 Back out rev 1.6, it's in the official source now (a few lines up) 1996-12-03 06:18:11 +00:00
peter
aad7d263e0 Merge 8.8.3->8.8.4 changes onto our mainline where we've edited the
file at some point in the past.

Obtained from: Eric Allman <eric@sendmail.org>
1996-12-03 06:15:52 +00:00
peter
fe7a1e47bd Import sendmail 8.8.4. See RELEASE_NOTES for changes. 1996-12-03 06:07:35 +00:00
peter
7a36245332 This commit was generated by cvs2svn to compensate for changes in r20103,
which included commits to RCS files with non-trunk default branches.
1996-12-03 06:07:35 +00:00
ache
1b3b504f15 Use LC_TIME=C 1996-11-26 03:41:39 +00:00
jkh
1f7aae649f Got the bugger. Eric's now passing in a hint structure to dbopen()
but forgot to zero the structure first, leaving hinfo.bsize undefined
and causing a loop in __log2().
1996-11-20 07:53:42 +00:00
peter
7b32df08e9 Merge conflicts from 8.8.3 import onto mainline. 1996-11-18 02:34:34 +00:00
peter
8e0d5faaa7 Import sendmail-8.8.3 - this contains the official fix to replace the
previous workaround patch that I used.

Obtained from: Eric Allman <eric@sendmail.org>
1996-11-18 02:26:51 +00:00
peter
d1f326f919 This commit was generated by cvs2svn to compensate for changes in r19841,
which included commits to RCS files with non-trunk default branches.
1996-11-18 02:26:51 +00:00
peter
45b9775b70 Disallow non-root users to start in daemon mode.
Obtained from: Eric Allman <eric@sendmail.org>
1996-11-16 16:41:17 +00:00
pst
483afbf1c7 Back out freebsd local change which always forced SMTP to assume an 8-bit
clear channel.  This change was originally put in for freefall, and is
completely irrelevant given that freefaill defines the generic SMTP
service to use the smtp8 mailer (which is standard mechanism.)

[The original patch violated RFC-821.]

Apply to: 2.2 (please)
1996-11-13 08:06:26 +00:00
peter
e0450ac1fb make the /etc/sendmail.cw file optional by default.
Definately should go into 2.2..

Requested by: lots of people
1996-11-08 05:22:50 +00:00
pst
3fc22aee34 The standard .mc files shipped with the new sendmail have an extra divert(0)
at the top.  Make our freebsd-supplied files match the standard files.

Apply-to: 2.2
1996-11-06 22:30:29 +00:00
ache
2e12dc9fbc Fix base64->8bit conversion
Submitted by: Eric Allman <eric@sendmail.org>
1996-10-31 00:45:43 +00:00
peter
f46f416def Integrate our changes from bin/rmail. Mainly it causes immediate
delivery rather than queueing it and forgetting it.

(and some -Wall fixes where gcc is too dumb to see it's a "cant happen")
1996-10-29 11:32:22 +00:00
peter
7bfbad3404 Convert the DONT_FSYNC compile time option to a runtime option (like
nobiff).  The options to turn these on are specified in the
LOCAL_MAILER_ARGS define the the sendmail.mc that you build from.
1996-10-29 05:35:24 +00:00
peter
6d127efe9f Merge in our changes from src/libexec/mail.local. This version doesn't
violate disk quotas, has more robust locking, is still being developed,
etc.  The main changes merged in were the ability to not fsync() the
mailbox, not do biff/comsat broadcasts, man page fixes.
1996-10-29 05:22:52 +00:00
peter
3c73db0636 Untangle NEWDB/NDBM options.
Enable praliases.c to not use NDBM.
1996-10-24 14:04:03 +00:00
peter
0c4d52e349 missed this praliases.8 <-> praliases.0 change 1996-10-24 05:20:52 +00:00
peter
c927066f54 Fold sendmail-8.8.2 changes into files that have been touched.
(^!&@$#&^! delete !!@^@^ trailing !@^&#$!& whitespace!!!)
1996-10-24 05:07:25 +00:00
peter
c25f71c7e5 Import sendmail-8.8.2 onto the vendor branch
Obtained from: Eric Allman <eric@sendmail.org>
1996-10-24 04:51:14 +00:00
peter
117b06cef4 This commit was generated by cvs2svn to compensate for changes in r19146,
which included commits to RCS files with non-trunk default branches.
1996-10-24 04:51:14 +00:00
pst
f6fcd56289 Enable NIS support 1996-10-09 20:34:09 +00:00
wosch
89dea7c61d add missing comma(s) in .Xr macros 1996-09-23 22:24:39 +00:00
ache
1c313429bb Fix one byte buffer overflow
Submitted by: Eric Allman <eric@sendmail.org>
1996-09-22 14:57:00 +00:00
ache
ed571fa244 Fix & expansion (from pw_gecos field), sizeof buf used when
buf is pointer, not array, buflen must be used instead.
Charlie & from root name was expanded to junk as result.
1996-09-21 23:37:35 +00:00
peter
07e1eb470f Merge import conflicts 1996-09-19 03:12:11 +00:00
peter
a118315f66 Import of sendmail-8.7.6 1996-09-19 03:01:32 +00:00
peter
607f2df42c This commit was generated by cvs2svn to compensate for changes in r18366,
which included commits to RCS files with non-trunk default branches.
1996-09-19 03:01:32 +00:00
mpp
52a48de0c5 Add the -o option to the usage line. 1996-08-21 20:54:38 +00:00
cvs2svn
05992d6e54 This commit was manufactured by cvs2svn to create branch 'SENDMAIL'. 1996-08-21 20:47:59 +00:00
mpp
357f60e0ec Oops, forgot to actually add the new man page. 1996-08-21 20:47:58 +00:00
mpp
c4fc551727 Add a man page for mailstats(8).
Obtained from:  NetBSD
1996-08-21 20:45:20 +00:00
jkh
cbb1c43954 freefall's new sendmail.cf file.
Submitted by:	gpalmer
1996-05-17 07:47:34 +00:00
pst
ce274bb1f0 typo shmrsh -> smrsh 1996-04-22 20:30:09 +00:00
pst
4ecfcaa972 Find official home of smrsh 1996-04-21 19:50:46 +00:00
pst
6ba3b3888d Enable proper installation of sendmail restricted shell smrsh(8).
This program is a wrapper for the prog mailer in sendmail.  It does shell
meta character masking and restricts the list of executables to those found
in /usr/libexec/sm.bin.

The default sendmail.cf file does not use this tool, however you can enable
it by either changing /bin/sh to /usr/libexec/smrsh or adding the line
FEATURE(smrsh) into your sendmail .mc file and rebuilding your .cf file.

For more info, RTFMP.
1996-04-21 19:48:07 +00:00
joerg
cb414e0b3e Remove the legacy -d option from the arguments to mail.local in 4.4bsd. 1996-04-13 11:42:46 +00:00
peter
f0bce57817 Add the '8' flag to the smtp and esmtp mailers. This causes sendmail-8.7.5
to behave like the older sendmails when talking to a peer that does not
have esmtp or does not advertise 8BITMIME.  The old sendmail "just sent it
anyway", while the 8.7.x series mangle any extended character set mail
by conferting it to quoted-printable or base64.  Freefall has been
running this for some time.
1996-04-03 03:06:17 +00:00
peter
b3540a7299 Fold in 8.7.5 change onto mainline (all one line). 1996-03-13 16:56:55 +00:00
peter
1b87c718ff Import sendmail-8.7.5 onto the vendor branch. 1996-03-13 16:51:01 +00:00
peter
d6f2ef9638 This commit was generated by cvs2svn to compensate for changes in r14615,
which included commits to RCS files with non-trunk default branches.
1996-03-13 16:51:01 +00:00
peter
f7cfae926e Remove useless (for us) Makefiles. There were already other "Makefile.dist"
files missing, so these shouldn't hurt.  If somebody wanted to use sendmail
8.7 on their machine, they should use a clean dist anyway, not this one.

Submitted by: wollman
1996-02-22 19:58:32 +00:00
peter
53bd532d4b Merge 8.7.3->8.7.4 changes onto mainline. 1996-02-22 18:57:52 +00:00
peter
550e941668 Update to sendmail-8.7.4. This fixes a DNS related security vulnerabilty. 1996-02-22 18:49:13 +00:00
peter
9c30a5e26b This commit was generated by cvs2svn to compensate for changes in r14182,
which included commits to RCS files with non-trunk default branches.
1996-02-22 18:49:13 +00:00
mpp
3aeb7f1d49 Correct a bunch of man page cross references and generally
try and silence "manck".

ncurses, rpc, and some of the gnu stuff are still a big mess, however.
1996-02-11 22:38:05 +00:00
mpp
279ebaafa0 Add some missing MLINKS, correct some cross references, correct some
file locations and some minor formatting/style problems.
1996-02-09 16:20:10 +00:00
wollman
61d8d8e40b Remove support for OSI networking in user-land (#ifdef OSI aor CCITT)
in preparation for its removal from the kernel source tree.  NB: because
a function was deleted, libc is now at version 3.0 (was 2.2 previously).
1996-02-06 20:36:15 +00:00
mpp
31c79332f8 Don't install sendmail setgid kmem since it doesn't really
require kmem access.  It is currently configured to call getloadavg(3),
which uses sysctl(2) to determine the load average, which is the
only reason some sendmails require kmem access.
1996-01-29 13:19:49 +00:00
jkh
31359c24e6 Whoops! Include paths.h instead of sys/cdefs.h - that results in
PATH_VARTMP having a somewhat saner value.
Submitted by:	matthew green <mrg@eterna.com.au>
By way of: Eric Allman <eric@sendmail.org>
1996-01-29 02:58:11 +00:00
peter
0fdeab8ba7 Get sendmail to detect when to use the setproctitle() in libutil
This uses osreldate.h and other stuff to determine whether it's on a
-current system.  It should still compile cleanly on a -stable branch
system.
1996-01-01 08:54:01 +00:00
peter
da723b7aea Revert from fiddling with the PS_STRINGS pointers back to the traditional
spamming of the argv, almost back to the original code (except for NULL
padding of the string).
This makes this version of the sendmail source compile on 2.1.X again.
1995-12-15 13:31:51 +00:00
peter
b754bcefa2 These files are regeneratable and are making huge rcs deltas for no real
need.  Note that "op" and "intro" are already being built under
share/doc/smm  (08.sendmailop and 09.sendmail)
1995-12-13 06:20:22 +00:00
peter
e42f073a2f Change freefall's default mailer from smtp to smtp8 to try and avoid
the 8 to 7 bit conversion..
1995-12-13 05:56:07 +00:00
ache
a9eeea3a63 Back out "find itself" fix for security purist reasons from
sendmail mailing list. Our /etc/rc will be fixed instead.
It seems sendmail becomes more and more incompatible, f.e.
Return-Receipt-To not works anymore :-(
1995-12-09 19:36:49 +00:00
ache
2132a9aa9e Fix SIGHUP restarting bug: sendmail can't find itself, it uses argv[0]
but don't uses PATH
1995-12-09 06:32:24 +00:00
peter
01a5637e8c Update sendmail's "knowledge" of the ps_strings structure.
This really is ugly, we need setproctitle() in a shared lib somewhere to
make these more transparent.
1995-12-09 05:01:24 +00:00
peter
0c73aecc06 Specify Timeout.queuewarn.normal at 1day as well as Timeout.queuewarn.
For some reason, the documentation does not appear to be in sync with
reality.. :-)
1995-12-07 16:38:34 +00:00
peter
7c98c9da0a Make sendmail's setproctitle() use PS_STRINGS rather than smash
the argv.  It appears that this once didn't work, but now it seems
to work just fine.
1995-12-06 07:56:47 +00:00
peter
67e9cc4ace Whitespace change - cosmetic alignment only. 1995-12-04 13:40:59 +00:00
peter
9e563b804f Add in Gary's custom Received: line into the freefall.mc 1995-12-04 09:17:56 +00:00
peter
79f0766ef5 Add "majordom" to trusted user class for freefall's sendmail.mc file.
Sigh, I really hate this "feature". I'm tempted to comment the test out
(like in sendmail 8.6.xx), especially since we log the info in the
Received: header line anyway..  Doing it like this only makes it painful
for things like uucp..
1995-12-04 08:42:22 +00:00
peter
7b7c335d36 Fold in changes to files no longer on the vendor branch from 8.7.3 update. 1995-12-03 17:51:40 +00:00
peter
c226b828da Import sendmail-8.7.3. One small but important bugfix.
I was about to apply this bugfix manually, not expecting 8.7.3 to be
released quite this quickly.. :-)
1995-12-03 17:45:56 +00:00
peter
f90d109410 This commit was generated by cvs2svn to compensate for changes in r12601,
which included commits to RCS files with non-trunk default branches.
1995-12-03 17:45:56 +00:00