Ruslan Ermilov
c9842b5a55
Set BINOWN=root explicitly for setuid root binaries.
2001-09-14 11:03:34 +00:00
Gregory Neil Shapiro
2325431216
Convert to using the same method of detecting the secure directory as other
...
usr.sbin programs.
Noted by: markm
2001-08-03 16:22:47 +00:00
David E. O'Brien
90e655ea4e
Perform a major cleanup of the usr.sbin Makefiles.
...
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
Ruslan Ermilov
345e52e742
- Backout botched attempt to introduce MANSECT feature.
...
- MAN[1-9] -> MAN.
2001-03-26 14:42:20 +00:00
Gregory Neil Shapiro
a38a3724b6
Move installation of sendmail helpfile into etc/sendmail/Makefile. It is
...
a user configurable file and it would benefit from mergemaster.
2001-03-01 03:50:28 +00:00
Gregory Neil Shapiro
e4e1027a2e
Move creation of the sendmail statistics file from the usr.sbin/sendmail
...
Makefile to the etc/sendmail Makefile to be consistent with all of the
other /var file creations. In doing so, change the Makefile target from
etc-sendmail.cf to distribution as it installs more than just the sendmail.cf.
2001-02-22 03:55:08 +00:00
Gregory Neil Shapiro
d1ba25f456
Add a MAINTAINER= line so people know who to blame
2000-10-26 23:02:36 +00:00
Gregory Neil Shapiro
85e427cc94
Fix up the build for the STARTTLS version of sendmail (again). This method
...
mimics that of tcpdump in that for normal builds, sendmail will only be
built once. For 'make release', it is built once for the bin dist and
once for the crypto dist. This method also removes the need for two separate
Makefiles (which could become out of sync).
Suggested by: bde
Assisted by: kris
2000-10-24 16:04:56 +00:00
Gregory Neil Shapiro
1e503e9884
../Makefile.inc was clobbering BINDIR so sendmail was being installed in
...
/usr/sbin/ instead of /usr/libexec/sendmail/
Submitted by: bde
2000-10-13 16:51:05 +00:00
Gregory Neil Shapiro
cec19acfbc
Remove STARTTLS support as it breaks builds without crypto installed.
...
Waiting to hear back regarding the best way to do this.
2000-10-12 17:04:32 +00:00
Peter Wemm
0a69c17a48
With apoligies to Greg Shapiro, fix the world. The previous commit
...
lost -lutil and -lwrap by replacing $LDADD and $DPADD rather than
appending to them with +=.
2000-10-11 12:19:42 +00:00
Gregory Neil Shapiro
c6cc60252d
Style fixes
2000-10-11 05:04:21 +00:00
Gregory Neil Shapiro
79c8873163
NOCRYPT imples NO_OPENSSL.
...
Still need to solve the distribution problem.
Submitted by: kris
2000-10-11 03:35:32 +00:00
Gregory Neil Shapiro
0c2b976cf8
Build sendmail with STARTTLS support unless NO_OPENSSL is set.
2000-10-10 18:15:41 +00:00
Gregory Neil Shapiro
cf1fec423a
Give users a way to alter the sendmail (and related utilities) build
...
environment so they can enable functionality such as SASL, LDAP, Hesiod.
2000-09-17 00:41:33 +00:00
Gregory Neil Shapiro
da69ece541
Allow users to add libraries for sendmail (e.g. Cyrus SASL)
...
Obtained from: Sergei Vyshenski <svysh@pn.sinp.msu.ru>
2000-09-13 04:16:16 +00:00
Gregory Neil Shapiro
d0b3252609
Turn on support for IPv6
2000-08-14 02:36:29 +00:00
Gregory Neil Shapiro
478c940682
Get rid of the /etc/aliases -> /etc/mail/aliases hack. /etc/mail/aliases
...
now exists in the distribution.
2000-08-13 08:36:40 +00:00
Gregory Neil Shapiro
88c75941e6
The rest of the changes needed to support the new version of sendmail (8.11.0).
...
Beyond changes to the build system, this includes fixing up the sample
freebsd.mc configuration for changes in defaults and syntax, removing
outdated documentation, and updating the release notes.
2000-08-12 22:39:25 +00:00
Peter Wemm
049239a46c
Since /etc/sendmail.cf got moved to /etc/mail/sendmail.cf, a 'make world'
...
would leave you with a broken sendmail and local mail loss.
This evil hack moves sendmail.cf from the old location to the new one (if
required) at install time.
1999-12-29 18:56:55 +00:00
Peter Wemm
8ea9610d48
Install sendmail in it's new location.
1999-12-29 18:40:56 +00:00
Peter Wemm
97d92980a9
$Id$ -> $FreeBSD$
1999-08-28 01:35:59 +00:00
Mark Murray
2331d1600b
Enable tcp_wrapper support by default.
1999-03-28 10:55:03 +00:00
Peter Wemm
9e5e26b31a
MaxHeaderLines is now MaxHeadersLength (in bytes)
1999-02-07 09:48:52 +00:00
Peter Wemm
5e418b65f6
Support 'O MaxHeaderLines=' to override the default header count and line
...
length limits. The configuration keyword is: confMAX_HEADER_LINES
1999-01-24 07:54:30 +00:00
Peter Wemm
3539ed8b65
Update for 8.9.2 (new file, control.c)
...
Also, turn on support for the MaxMimeHeaderLength option in sendmail.cf.
1999-01-12 12:47:54 +00:00
David E. O'Brien
2887f586f0
Remove useless `BINOWN=root' now that it is the default.
1998-09-19 22:42:14 +00:00
Peter Wemm
22b78769f8
Remove old sendmail (to the Attic)
1998-08-04 16:35:57 +00:00
Peter Wemm
22751f562c
Connect up sendmail-8.9.1
1998-08-04 15:24:04 +00:00
Warner Losh
42d494a30b
$@ is deprecated, use longer forms of single char macros
1998-06-09 05:36:48 +00:00
Jonathan M. Bresler
a15417e7cf
replaced check_rcpt ruleset with one
...
recommended by Gary Palmer <gpalmer@freebsd.org>
Obtained from: http://www.informatik.uni-kiel.de/%7Eca/email/check.html#check_rcpt
1998-05-17 22:58:51 +00:00
Jonathan M. Bresler
bb8a7e8676
grr....forgot a bug fix in rewrite rules on hub
...
Reviewed by: jmb
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1998-03-23 21:32:10 +00:00
Jonathan M. Bresler
8033c20cdd
update to match configuration currently in use
...
on hub.freebsd.org
1998-03-23 20:52:57 +00:00
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