Commit Graph

54 Commits

Author SHA1 Message Date
Ruslan Ermilov
32564f75c8 Fixed a few typos. 2002-02-27 14:43:55 +00:00
Gregory Neil Shapiro
5cd5c25e71 Add information about how the new sendmail set-group-ID mail submission
works and ways to work around common problems people might have.
Include information on reverting to a set-user-ID root sendmail binary in
case anyone really needs to do this.
2002-02-17 22:14:29 +00:00
Gregory Neil Shapiro
a8247f3a53 Don't build a submit.cf file if SENDMAIL_SET_USER_ID is set 2002-02-17 22:12:57 +00:00
Gregory Neil Shapiro
e3437797cc Grammar fix for comment 2001-12-30 04:40:18 +00:00
Gregory Neil Shapiro
5a3ecbf1d2 Add aliases pointing to postmaster for the two new mail related accounts.
Reminded by:	sheldonh
MFC after:	3 days
2001-12-11 17:29:57 +00:00
Gregory Neil Shapiro
74cc11c2df Handle the sendmail_outbound_enable knob in the start target.
PR:		32033
MFC after:	3 days
2001-11-20 03:31:54 +00:00
Gregory Neil Shapiro
741741c2ae Do not clobber users hostname.mc file if freebsd.mc changes (likely after an
installworld).

Submitted by:	Steve Watt <steve@Watt.COM>
MFC after:	2 days
2001-10-08 22:35:24 +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
c0ceaffbe6 Allow users to add local Makefile targets.
Submitted by:	dinoex
MFC after:	7 days
2001-05-15 16:03:54 +00:00
Gregory Neil Shapiro
f3850b5461 Make the default .mc file be hostname.mc if SENDMAIL_MC make.conf knob
is not set.  This allows admins to create a per-machine configuration file
while leaving the freebsd.mc template pristine.  Provide a rule to create
`hostname`.mc from freebsd.mc if it doesn't exist.

PR:		misc/26299
MFC after:	8 days
2001-05-15 16:01:40 +00:00
Gregory Neil Shapiro
67f58bb6d8 Allow users to override the default map type used for building maps. 2001-04-01 22:54:15 +00:00
Gregory Neil Shapiro
5d312ac168 The userdb database is different from the rest of the databases. It *must*
be a btree.

PR:		bin/26149
2001-04-01 22:48:07 +00:00
Gregory Neil Shapiro
90c55192d6 Read information from local rc.conf file(s) to get proper settings for
'make start'.

PR:		conf/25639
Submitted by:	Esa Karkkainen <ejk@pp.htv.fi>
2001-03-13 20:58:39 +00:00
Gregory Neil Shapiro
457767e4ff Fix dependencies and use a better variable name 2001-02-28 04:03:51 +00:00
Gregory Neil Shapiro
f2e560e181 Revamp /etc/mail/Makefile:
+ Add support for the new SENDMAIL_MC make.conf knob
+ Add the ability to build .cf files from .mc files
+ Generalize map rebuilding
+ Add the ability to rebuild the aliases file
+ Add the ability to stop, start, and restart sendmail

PR:		bin/13759, bin/19897, bin/24397
2001-02-22 04:17:33 +00:00
Doug Barton
7039987dc4 Add the remaining pseudo-users as aliases to root
PR:		conf/23105
Submitted by:	Matthew West, mwest@uct.ac.za
2000-11-26 05:28:22 +00:00
Gregory Neil Shapiro
e3f84e3e02 Grammar fix
Submitted by:	asmodai
2000-11-04 03:49:13 +00:00
Dirk Froemberg
477c71bd3f /etc/mail/sendmail.cw is /etc/mail/local-host-names, now.
PR:		misc/22261
Submitted by:	Michael Bryan <fbsd-security@ursine.com>
2000-11-02 23:40:40 +00:00
Dirk Froemberg
3d75a18bb6 /etc/mail/sendmail.cw is /etc/mail/local-host-names, now.
PR:		misc/22262
Submitted by:	Michael Bryan <fbsd-security@ursine.com>
2000-11-02 23:32:31 +00:00
Gregory Neil Shapiro
31923af7ce Install the sendmail cf building tools (contrib/sendmail/cf) in
/usr/share/sendmail/cf.

PR:		19790
2000-10-10 18:08:19 +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
Robert Watson
22d2318c91 Correct $FreeBSD tags to include the (missing) ``:'', restoring the tags
to a useful condition.
2000-03-18 06:38:23 +00:00
Robert Watson
c6b23672b0 Add sample databases for sendmail (access, mailertable, virtusertable),
as well as rename access.txt back to the standard access.  Also modify
the Makefile to know how to build hashes for each of these databases.
If one of the databases is missing when Make is run, use a commented
out version of the sample.

Reviewed by:	peter
Approved by:	jkh
2000-03-12 22:08:35 +00:00
Peter Wemm
725039ddfe Add $FreeBSD$ 1999-12-29 18:24:06 +00:00
Peter Wemm
8ddf96d9c5 This commit was generated by cvs2svn to compensate for changes in r54816,
which included commits to RCS files with non-trunk default branches.
1999-12-19 13:50:37 +00:00
Peter Wemm
3ae9291301 Import NetBSD's mailwrapper to redirect /usr/sbin/sendmail to the user's
chosen mailer.

Obtained from: NetBSD
1999-12-19 13:50:37 +00:00
Peter Wemm
9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Jonathan M. Bresler
762003080e 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

	(grrr.....should have been one commit
	 did the last commit from a subdirectory)
1999-05-11 03:29:04 +00:00
Jordan K. Hubbard
3d92b04216 Update this file to no longer list the outdated information about gulf.net
Ignored-for-too-long-by:	jmb
1999-05-01 03:36:07 +00:00
Dag-Erling Smørgrav
0d35e40d61 Redirect mail to pseudo-user pop to root.
PR:		conf/9555
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1999-02-08 21:29:39 +00:00
Jonathan M. Bresler
26d61b5ba8 Do not try to fetch anti-spam files from gulf.net.
They nolonger provide a list of spam domains and
	spam ip address ranges.
1999-01-31 15:21:15 +00:00
Bill Fumerola
4ddb8ecc9e Missing word. (in comments, non-destructive bug) 1999-01-04 21:21:10 +00:00
Poul-Henning Kamp
5707e03c5f Move the "root" entry up so people can see it. 1998-11-03 08:14:38 +00:00
Brian Somers
9f67f727aa Gasp ! Bitten by the wonders of diff/patch ! Now's your chance to
say ``I told you so'' Andrey !
Move the Id keyword to the right Makefile
1998-09-13 23:14:20 +00:00
Brian Somers
a19eda1f28 Add Id keywords 1998-09-02 01:34:57 +00:00
Andreas Klemm
d0db3de488 Enter absolute path for the makemap command (which lives under /usr/sbin)
This makes it possible to run make from cron, i.e.:
	root's crontab:
	( cd /etc/mail; make all install )
without the error:
	makemap hash /etc/mail/spamsites < /etc/mail/block_domains.txt
	makemap: not found
	*** Error code 127
If this solution is widely accepted, I'd like to merge it into -STABLE
1998-07-20 12:30:39 +00:00
Jonathan M. Bresler
fa294d55ea accidently omitted two file declarations.
so i added them.

Submitted by:	Scot Elliott (scot@poptart.org)
1998-05-27 01:26:33 +00:00
Jonathan M. Bresler
333c76c66d 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 23:05:16 +00:00
Jonathan M. Bresler
98a0fcc6e3 use extended error codes as noted in rfc1893.
retain additional message in check_relay ruleset,
	the message is written into the maillog.
	this is useful to a site's postmaster.
Reviewed by:	jmb
Submitted by:	Ruslan Ermilov ru@ucb.crimea.ua
1998-04-14 02:09:23 +00:00
Jonathan M. Bresler
03c0fb69f3 fix a type in the rulesets
same fix as recorded in misc/5924
	that problem report was filed against the stable branch
	but that's not a reason not to fix it here as well ;)
Reviewed by:	jmb
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-03-05 18:38:57 +00:00
Jonathan M. Bresler
996e39f3e9 added two new files: allowed_domains.txt and allowed_ips.txt.
domains/ips listed in these files are *NOT* filtered,
	even if listed in domains.txt or ips.txt.

	someone added netcom.com to the domains.txt file,
	resulting in all mail from netcom.com being blocked.
1998-02-25 22:06:34 +00:00
Brian Somers
005f91820b Ask spammers to mail postmaster@$m, not postmaster@FreeBSD.ORG. 1998-01-23 01:58:49 +00:00
Nate Williams
5fa1e123e1 - Fix some very minor typos. 1997-12-15 04:38:15 +00:00
Jonathan M. Bresler
d0be126913 correct an error that i made in check_relay.
check_relay cannot return temporary errors.
	The temporary error is logged in the sendmail log, but on the SMTP
	protocol level, sendmail returns '550 Access Denied'.
Reviewed by:	jmb
Submitted by:	Tor Egge <Tor.Egge@idi.ntnu.no>
1997-12-07 16:50:11 +00:00
Jonathan M. Bresler
26da30bbbc 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-12-01 00:15:38 +00:00
Jonathan M. Bresler
c38876e369 anti-spam filter used by the FreeBSD mailing lists. 1997-10-19 16:40:10 +00:00
Wolfram Schneider
1dce83d7ed Undo last commit.
Uncomment abuse, security, and ftp aliases.

Add aliases ftp-bugs -> ftp. ftp-bugs is the default email address
which print our ftp daemon if a user type the command 'rhelp'.

Reviewed by:	joerg
1997-08-19 17:16:14 +00:00
Poul-Henning Kamp
26773726dc Add aliases for hostmaster, webmaster & abuse, all point to root. 1997-08-09 14:58:49 +00:00