Commit Graph

42 Commits

Author SHA1 Message Date
gshapiro
3877ef754e Allow users to override the default map type used for building maps. 2001-04-01 22:54:15 +00:00
gshapiro
42bb2b68f3 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
gshapiro
ef5fdd4c39 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
gshapiro
3c1b0d984b Fix dependencies and use a better variable name 2001-02-28 04:03:51 +00:00
gshapiro
fd6901dc7e 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
dougb
7f8b56ec61 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
gshapiro
67e5072067 Grammar fix
Submitted by:	asmodai
2000-11-04 03:49:13 +00:00
dirk
a38f75935f /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
8266918565 /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
gshapiro
3202802355 Install the sendmail cf building tools (contrib/sendmail/cf) in
/usr/share/sendmail/cf.

PR:		19790
2000-10-10 18:08:19 +00:00
gshapiro
54440699ee 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
rwatson
aa01c8c4b0 Correct $FreeBSD tags to include the (missing) ``:'', restoring the tags
to a useful condition.
2000-03-18 06:38:23 +00:00
rwatson
04199aa3b1 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
acb300306d Add $FreeBSD$ 1999-12-29 18:24:06 +00:00
peter
79ae4ac781 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
c565292166 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
cdad5bae8c $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
jmb
553c3024b7 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
jkh
ad31d9813e 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
des
00d9c6c1ed 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
jmb
cb67d260be 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
billf
c3cda53562 Missing word. (in comments, non-destructive bug) 1999-01-04 21:21:10 +00:00
phk
1dcc88c92f Move the "root" entry up so people can see it. 1998-11-03 08:14:38 +00:00
brian
11a91d3e31 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
53ce9b5024 Add Id keywords 1998-09-02 01:34:57 +00:00
andreas
0c7cd21542 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
jmb
f1980c8577 accidently omitted two file declarations.
so i added them.

Submitted by:	Scot Elliott (scot@poptart.org)
1998-05-27 01:26:33 +00:00
jmb
7971784403 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
jmb
330f8bc3ec 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
jmb
4e80975a1c 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
jmb
9c98f186a7 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
eae411e9b9 Ask spammers to mail postmaster@$m, not postmaster@FreeBSD.ORG. 1998-01-23 01:58:49 +00:00
nate
864fbd5855 - Fix some very minor typos. 1997-12-15 04:38:15 +00:00
jmb
25ed33cb0c 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
jmb
fed5d7b0bc 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
jmb
a047f9279a anti-spam filter used by the FreeBSD mailing lists. 1997-10-19 16:40:10 +00:00
wosch
228404de16 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
phk
56dd6b189b Add aliases for hostmaster, webmaster & abuse, all point to root. 1997-08-09 14:58:49 +00:00
wosch
0912969d89 Delete old comment about /bin/mail. We don't have a /bin/mail.
Sync with /etc/master.passwd and RFC 2142. In detail:
added:
	man, news, operator, usenet (->news), xten
deleted:
	ingres
added as comment:
	info, marketing, sales, support, abuse, noc, security,
	ftp, hostmaster, webmaster, www, bit-bucket, dev-null
1997-06-29 23:09:07 +00:00
ache
d56b961d24 Add commented out msgs alias 1995-11-19 16:52:19 +00:00
rgrimes
f36f5b92be Removed all Berkeley aliases information since it is way out of date.
General cleanup.. from NetBSD.
1993-07-19 19:09:14 +00:00
rgrimes
241ccdeaf3 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00