Commit Graph

44 Commits

Author SHA1 Message Date
Gregory Neil Shapiro
c8e968571f Since buildworld builds cf files specified in SENDMAIL_ADDITIONAL_MC,
installworld should install them.

PR:		29928
Submitted by:	wollman
MFC after:	3 days
2001-11-20 03:41:05 +00:00
Dima Dorfman
59542375f9 Add missing word in comment. 2001-09-30 12:48:17 +00:00
Gregory Neil Shapiro
9078d242bf Revert change to always include _FFR_TLS_O_T as it requires FEATURE(access_db)
Problem found by:	nsayer
2001-08-01 02:12:39 +00:00
Gregory Neil Shapiro
f88f925efc If the user sets SENDMAIL_MC to /etc/mail/sendmail.mc, install is told to
install /etc/mail/sendmail.cf to /etc/mail/sendmail.cf and exits with an
error:

===> etc/sendmail
install -c -o root -g wheel -m 644 /etc/mail/sendmail.cf /etc/mail/sendmail.cf
install: /etc/mail/sendmail.cf and /etc/mail/sendmail.cf are the same file
*** Error code 64

Catch this in the Makefile and don't call install if the source and target
are the same file.

Reported by:	Alexandr Listopad <laa@reis.zp.ua>
MFC after:	1 week
2001-07-23 02:19:02 +00:00
Gregory Neil Shapiro
f4843be999 New make knob, SENDMAIL_M4_FLAGS, modifies the flags passed to m4 when
building a .cf file from a .mc file.

Include -D_FFR_TLS_O_T to enable tls policy control since the sendmail binary
build enables that FFR as well.

PR:		conf/28361
MFC after:	1 week
2001-07-23 01:33:54 +00:00
Gregory Neil Shapiro
eac481ece9 MAPS is becoming a subscription (fee based) service, warn users
ORBS is gone

MFC after:	1 day
2001-07-13 21:51:28 +00:00
Gregory Neil Shapiro
dfd79cda05 Take advantage of the new OSTYPE(freebsd4) in sendmail 8.11.4
MFC after:	1 week
2001-05-28 17:49:51 +00:00
Gregory Neil Shapiro
e9031bfe8d Add comments regarding enabling IPv6
Submitted by:	ume
2001-03-02 02:10:51 +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
fab9e3acac Fix dependencies and cleanup spacing in the file 2001-02-28 04:04:07 +00:00
Gregory Neil Shapiro
9f8cda5dbe Add a pointer to the ORBS web site for more DNS black hole lists. 2001-02-28 02:47:52 +00:00
Gregory Neil Shapiro
a77b865277 Fixup some of the commented out examples:
1) blackholes.mail-abuse.org is the same as FEATURE(dnsbl), so specifying
it in the "Other DNS based black hole lists" section leads to confusion of
specifying it twice.

2) Formatting issues. If error diagnostic not enclosed in double quotes,
varius visual artefacts appearse like 1) no space after ; and 2) redundant
space after ? (in CGI request), so I add quotes where needed.

3) FEATURE(dnsbl) directly use error code 550 by default, so I made other
dnsbl variants use the same error code too.

4) Comment relays.* list as "open relays" list, just "other" word is not
explain enough.

Submitted by:	ache
2001-02-28 02:06:46 +00:00
Gregory Neil Shapiro
e6c77250ef Need one additional make.conf knob, SENDMAIL_ADDITIONAL_MC to satisfy bug
report.  It allows building multiple .cf files at build time.

PR:		bin/19897
2001-02-22 19:44:16 +00:00
Gregory Neil Shapiro
25219d25e6 Add a new make knob, SENDMAIL_MC, which is meant to replace SENDMAIL_CF as
users should be configuring via m4 now.  If set, use m4 to create the .cf
file.  Also, if either SENDMAIL_MC or SENDMAIL_CF is set, 'make install' or
'make distribution' in src/etc/sendmail/ will install the appropriate .cf as
/etc/mail/sendmail.cf.  This fixes some mergemaster problems.

PR:		conf/13016
2001-02-22 04:11:52 +00:00
Gregory Neil Shapiro
e10536edc1 Install freebsd.mc and freebsd.cf in /etc/mail so users have the base files
for creating their own configuration.
2001-02-22 04:01:16 +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
7f010cfc3d Clean up freebsd.mc to make it easier for users to read and modify.
The freebsd.cf from this new freebsd.mc is functionally equivalent.
2001-02-22 03:41:14 +00:00
Gregory Neil Shapiro
712401bee7 Give some additional DNS black hole possibilities as comments.
Submitted by:	clive
2001-02-12 05:26:11 +00:00
Gregory Neil Shapiro
9d64dea9fa Disable the SMTP EXPN and VRFY commands by default to prevent information
leakage.

Submitted by:	Maxime Henrion <mux@qualys.com>
2000-10-10 18:10:38 +00:00
Gregory Neil Shapiro
c577eab2f9 Do not require a local-host-names file as this configuration file is the
default /etc/mail/sendmail.cf installed on a fresh install.
Problem noted by: Hajimu UMEMOTO <ume@mahoroba.org>
2000-08-13 18:53:58 +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
fdfe44994d Revert previous commit, -o is functional here and is required. 1999-12-29 18:20:23 +00:00
Andrey A. Chernov
e7a8b965d8 Remove -o before sendmail.cw - pure file name needed here 1999-12-29 16:15:22 +00:00
David E. O'Brien
8bdd91e3a1 Install sendmail.cf into /etc/mail.
The current offical Sendmail Inc. version uses /var/mail/ and when we upgrade
our repository to that version, we will get the change.  It is best to make
the path change in 4.0-R (which may not have the latest Sendmail Inc. version,
than to change in mid-4.x stream when we may upgrade.

Ok'ed by:	Peter (quite a while ago)
1999-12-19 19:55:19 +00:00
Jonathan M. Bresler
47b69cc1b8 Add information and configuration on the DUL.
Based upon a suggestion from
		Don Croyle <croyle@gelemna.ft-wayne.in.us>.
1999-09-23 22:48:12 +00:00
Peter Wemm
3267d6293d $Revision$ -> $FreeBSD$ 1999-09-05 15:15:07 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
John Polstra
46270bddbc Remove trailing whitespace from a couple of lines. It made its way
into the .cf file and gave sendmail indigestion.
1999-07-17 23:22:13 +00:00
Jonathan M. Bresler
54919b86a0 update spam countermeasures
add examples of using an access_db
        update .mc files to match recommendations on
                http://www.sendmail.org/m4/anti-spam.html
1999-05-11 03:27:14 +00:00
Dmitrij Tejblum
6a5b1edecf Fatal typo.
PR:		bin/10827
Submitted by:	Mike Andrews <mandrews@termfrost.org>
PR:		conf/10310
Submitted by:	Brion Moss <brion@queeg.com>
1999-02-28 19:50:17 +00:00
Peter Wemm
62b58260c9 Update the default sendmail.cf to be a little more respectable.
I have not enabled rbl by default, I understand an 'opt-in' is a key part
of it's legal protection.
Activate a few optional features (access_db, virtusertable, etc) which will
operate if (and only if) the corresponding table is created.
I've also turned on the MIME buffer overflow checking with sendmail.org's
recommended values (256/128).
1999-01-12 13:18:22 +00:00
Peter Wemm
76bfe4c335 Builder for sendmail.cf's, in particular freebsd.cf.
This needs to be revisited - we need a simple way of building/installing
these at runtime from the installed system's /etc/mail directory.
freebsd.mc,v and freefall.mc,v have been repository copied here.
1998-08-04 15:53:18 +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
e8fce182a6 Update this to what freefall's been running for a day or so. 1996-12-06 11:29:15 +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
Jordan K. Hubbard
b92bf7517c freefall's new sendmail.cf file.
Submitted by:	gpalmer
1996-05-17 07:47:34 +00:00
Peter Wemm
f6f0fafd9b 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
Peter Wemm
3d334e23c5 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 Wemm
2a13a5af9f Whitespace change - cosmetic alignment only. 1995-12-04 13:40:59 +00:00
Peter Wemm
e22b29b9fe Add in Gary's custom Received: line into the freefall.mc 1995-12-04 09:17:56 +00:00
Peter Wemm
dc19cc1e87 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 Wemm
c46725b9d5 Update the freefall.mc file to (almost) match what is actually being
run on freefall..
Create freebsd.mc which is intended to be installed by src/etc/Makefile
onto generic freebsd systems.
1995-12-02 19:57:42 +00:00
Rodney W. Grimes
4e0fff210e You need the freefall.mc file to build the release /etc/sendmail.cf file from. 1994-09-08 09:41:01 +00:00