Commit Graph

80 Commits

Author SHA1 Message Date
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
Wolfram Schneider
d0c6d6d08a 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
Andrey A. Chernov
648dce7dd1 Add commented out msgs alias 1995-11-19 16:52:19 +00:00
Rodney W. Grimes
2668617ba5 Removed all Berkeley aliases information since it is way out of date.
General cleanup.. from NetBSD.
1993-07-19 19:09:14 +00:00
Rodney W. Grimes
1bf9d5d951 Initial import of 386BSD 0.1 othersrc/etc 1993-06-20 13:41:45 +00:00