Commit Graph

199 Commits

Author SHA1 Message Date
Steve Price
3de1350407 setpwent now has a void return type, so remove the now bogus cast. 1998-02-01 17:11:07 +00:00
Jonathan M. Bresler
141868ce36 update hub's master configuraton file
limit sendmail to 500 messages per run
keeps the process from growing too large
sort the queue by host, not numeric priority
connecting to a host is too expensive,
once we got the connection, ram all the mail down his throat ;>
1998-01-20 01:48:12 +00:00
Jonathan M. Bresler
561ceaff07 update hub.mc to match what we are currently using:
both /etc/aliases and /etc/majordomo.aliases
sendmail.cw is *not* optional
command and connection timeouts
common hoststat directory for all queues
add fakenames database
clean up spam filter rules
limit the number of message processed each queue run
dont need to check Vixie's RBL in both check_relay and check_mail
1998-01-15 17:39:50 +00:00
Jonathan M. Bresler
7f19cd73cb update hub.mc with the latest set of anti-spam rules
Submitted by:	jmb
1997-12-07 16:59:28 +00:00
Jonathan M. Bresler
8ac5e37330 improve anti-spam rulesets: check_relay, check_mail, check_rcpt.
break each ruleset into identified sections. (called groups).
	note which groups can be reordered.
	each group accepts and returns the same strings,
		as much as possible.
	reactivate Paul Vixie's RBL (in check_mail)
	add rules to limit mail relaying to a list of hosts and domains
		in the R class (check_rcpt, not active on hub.freebsd.org)

Submitted by:	 jmb
1997-11-30 23:28:26 +00:00
Peter Wemm
5d2af34fa5 remove #include <login_cap.h>, this is included as needed elsewhere now. 1997-11-10 02:51:16 +00:00
Peter Wemm
7649db8638 setusercontext() came into the 2.2 branch just before 2.2.2-release. 1997-11-10 02:32:27 +00:00
Peter Wemm
5818966ae4 Merge sendmail 8.8.8 changes onto mainline. (For all of CVS's warts, when
things like this turn out this easy (ie: it took 30 seconds), it's nice :-)
1997-11-10 02:05:23 +00:00
Peter Wemm
ece810a9d6 This commit was generated by cvs2svn to compensate for changes in r31087,
which included commits to RCS files with non-trunk default branches.
1997-11-10 01:58:17 +00:00
Peter Wemm
ff37c899d7 Import sendmail-8.8.8
Obtained from: ftp.sendmail.org
1997-11-10 01:58:17 +00:00
Wolfgang Helbig
60152ec531 Typo. 1997-10-26 10:37:35 +00:00
Peter Wemm
d4b1403fc1 Hmm.. where did _that_ come from? :-) 1997-10-06 04:10:24 +00:00
Jonathan M. Bresler
0fee58d9fa record the envelope-from address in the received headers
for all mail received at hub.freebsd.org

Obtained from: Peter Wemm <peter@freebsd.org>
1997-10-06 00:09:17 +00:00
Jordan K. Hubbard
cf68251b3a DOH! I cannot believe that none of us caught this. Do *not*
turn TCPWRAPPER support on by default, eh? :-)
1997-10-05 12:31:08 +00:00
Jordan K. Hubbard
97fe7f477f Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by:	<many different folks>
Submitted by:	Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>
1997-10-05 09:40:24 +00:00
Peter Wemm
feee4d201e Record the envelope from address in the received: line. This has turned
out to be very useful for spam tracking and other problem debugging.

I first noticed this in one of Paul Vixie's machine's headers a while ago.
1997-10-04 11:10:19 +00:00
Wolfram Schneider
bf5cbf3551 Sort cross refereces in section SEE ALSO. 1997-09-29 19:11:55 +00:00
Mark Murray
14710273ac Add (commented out) macros to make compiling with tcpwrappers easier. 1997-09-28 09:31:43 +00:00
Jordan K. Hubbard
3887aa4e23 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 Wemm
2ebbbbc19a Set ForwardPath as presently inuse on hub 1997-08-22 16:50:49 +00:00
Peter Wemm
b7abf69c86 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 Wemm
a6eecebbe5 Merge sendmail-8.8.7 changes from vendor branch 1997-08-04 05:07:46 +00:00
Peter Wemm
8e97f84637 Merge sendmail 8.8.7 changes from vendor branch 1997-08-04 05:06:42 +00:00
Peter Wemm
e54babdf0c Import sendmail-8.8.7 onto vendor branch.
Obtained from: ftp.sendmail.org
1997-08-04 05:00:07 +00:00
Peter Wemm
561f1ee45f 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
Bruce Evans
ab2dd86c7e README is for Lite2. We don't want it. 1997-08-03 06:38:27 +00:00
Bruce Evans
8d151cdec3 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
Bruce Evans
59fe2c14b4 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 Wemm
59e3ff8177 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 Wemm
54d6a350e0 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 Wemm
f3a1fc342b Import sendmail-8.8.6
Obtained from: ftp.sendmail.org
1997-06-27 14:53:01 +00:00
Peter Wemm
91453f6a62 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
Warner Losh
6c3f552a31 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 Wemm
39da5de262 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 Wemm
476602a9d0 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
Andrey A. Chernov
c5d50e135a Replace my EOF fix with better one from sendmail-bugs discussion
Should go into 2.2
1997-02-14 13:57:37 +00:00
Andrey A. Chernov
8ae5bda5aa Back out clearerr fix after discussion in sendmail-bugs,
it gains nothing
1997-02-14 02:44:45 +00:00
Andrey A. Chernov
85456c29cc 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
Andrey A. Chernov
9be55567d0 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 Wemm
32340ccd9e Merge 8.8.4 -> 8.8.5 changes onto mainline 1997-01-27 07:43:29 +00:00
Peter Wemm
52c4d6f5d6 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 Wemm
559b5e3e06 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
Jordan K. Hubbard
1130b656e5 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 Wemm
fc7f1f8f58 Add two missing links (hoststat/purgestat) 1996-12-31 12:38:57 +00:00
Peter Wemm
619b759747 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 Wemm
4a4550eb01 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 Wemm
9ced612d99 Add a hook for installing the /etc/sendmail.cf file
Submitted by: bde
1996-12-28 17:57:28 +00:00
Peter Wemm
e8fce182a6 Update this to what freefall's been running for a day or so. 1996-12-06 11:29:15 +00:00
Peter Wemm
691ca30fca 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 Wemm
5d72136fb8 Remove file no longer shipped with sendmail 1996-12-03 06:20:18 +00:00
Peter Wemm
91e5dab34f 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 Wemm
dc5a26cc5c 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 Wemm
589790e627 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 Wemm
33cdb0aebd Import sendmail 8.8.4. See RELEASE_NOTES for changes. 1996-12-03 06:07:35 +00:00
Peter Wemm
b4165e3a49 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
Andrey A. Chernov
ba0163f6d8 Use LC_TIME=C 1996-11-26 03:41:39 +00:00
Jordan K. Hubbard
0bf57c683e 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 Wemm
39c2b03943 Merge conflicts from 8.8.3 import onto mainline. 1996-11-18 02:34:34 +00:00
Peter Wemm
fcf445de96 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 Wemm
dfae3a83bb 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 Wemm
bf8919163f Disallow non-root users to start in daemon mode.
Obtained from: Eric Allman <eric@sendmail.org>
1996-11-16 16:41:17 +00:00
Paul Traina
e4b7080586 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 Wemm
c3bfbfc0aa 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
Paul Traina
bdfaa56a86 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
Andrey A. Chernov
7860637efd Fix base64->8bit conversion
Submitted by: Eric Allman <eric@sendmail.org>
1996-10-31 00:45:43 +00:00
Peter Wemm
ac01991ab7 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 Wemm
aedbf2687d 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 Wemm
b0591e84e9 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 Wemm
0ee48eaae9 Untangle NEWDB/NDBM options.
Enable praliases.c to not use NDBM.
1996-10-24 14:04:03 +00:00
Peter Wemm
42e9eb2671 missed this praliases.8 <-> praliases.0 change 1996-10-24 05:20:52 +00:00
Peter Wemm
82c2534fd0 Fold sendmail-8.8.2 changes into files that have been touched.
(^!&@$#&^! delete !!@^@^ trailing !@^&#$!& whitespace!!!)
1996-10-24 05:07:25 +00:00
Peter Wemm
606a993469 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 Wemm
3b50ea913d 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
Paul Traina
46fc8e68b8 Enable NIS support 1996-10-09 20:34:09 +00:00
Wolfram Schneider
e0e5145ce6 add missing comma(s) in .Xr macros 1996-09-23 22:24:39 +00:00
Andrey A. Chernov
a59b44944e Fix one byte buffer overflow
Submitted by: Eric Allman <eric@sendmail.org>
1996-09-22 14:57:00 +00:00
Andrey A. Chernov
c0eb19c55f 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 Wemm
4a55d8c7ca Merge import conflicts 1996-09-19 03:12:11 +00:00
Peter Wemm
5160fa301b Import of sendmail-8.7.6 1996-09-19 03:01:32 +00:00
Peter Wemm
e700373f31 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
Mike Pritchard
c200bf2b82 Add the -o option to the usage line. 1996-08-21 20:54:38 +00:00
cvs2svn
f93cd6c4f3 This commit was manufactured by cvs2svn to create branch 'SENDMAIL'. 1996-08-21 20:47:59 +00:00
Mike Pritchard
c993b63599 Oops, forgot to actually add the new man page. 1996-08-21 20:47:58 +00:00
Mike Pritchard
96d93606b9 Add a man page for mailstats(8).
Obtained from:  NetBSD
1996-08-21 20:45:20 +00:00
Jordan K. Hubbard
b92bf7517c freefall's new sendmail.cf file.
Submitted by:	gpalmer
1996-05-17 07:47:34 +00:00
Paul Traina
4b2e1057cf typo shmrsh -> smrsh 1996-04-22 20:30:09 +00:00
Paul Traina
6ec2301d28 Find official home of smrsh 1996-04-21 19:50:46 +00:00
Paul Traina
0abdd9956c 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 Wunsch
062c4e5ca5 Remove the legacy -d option from the arguments to mail.local in 4.4bsd. 1996-04-13 11:42:46 +00:00
Peter Wemm
49481ba074 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 Wemm
56c20766be Fold in 8.7.5 change onto mainline (all one line). 1996-03-13 16:56:55 +00:00
Peter Wemm
e600c40994 Import sendmail-8.7.5 onto the vendor branch. 1996-03-13 16:51:01 +00:00
Peter Wemm
8c09644387 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 Wemm
e7f6729d6c 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 Wemm
32e3ec14af Merge 8.7.3->8.7.4 changes onto mainline. 1996-02-22 18:57:52 +00:00
Peter Wemm
c0d5d644aa Update to sendmail-8.7.4. This fixes a DNS related security vulnerabilty. 1996-02-22 18:49:13 +00:00
Peter Wemm
916c098c5f 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
Mike Pritchard
78b0b234eb 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
Mike Pritchard
6fad16fd59 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
Garrett Wollman
0761cb293e 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