Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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