Commit Graph

89 Commits

Author SHA1 Message Date
gshapiro
4e167066ca Fix dependencies and use a better variable name 2001-02-28 04:03:51 +00:00
gshapiro
167a0e9e84 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
9f2c0f4ce4 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
a555afe91d Grammar fix
Submitted by:	asmodai
2000-11-04 03:49:13 +00:00
dirk
e3e49a5355 /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
b5e3ef8464 /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
e4192d4e06 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
002ef51d6e 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
43bc4d7d43 Correct $FreeBSD tags to include the (missing) ``:'', restoring the tags
to a useful condition.
2000-03-18 06:38:23 +00:00
rwatson
b680890228 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
0b395e3b4d Add $FreeBSD$ 1999-12-29 18:24:06 +00:00
peter
55a1c6bee2 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
05fc7a4a72 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
289c0d262f $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
jmb
f9c1a12fb5 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
20868d31b8 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
af242fbed1 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
4162fb34e9 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
6abb583118 Missing word. (in comments, non-destructive bug) 1999-01-04 21:21:10 +00:00
phk
c6a794270e Move the "root" entry up so people can see it. 1998-11-03 08:14:38 +00:00
brian
f69ac0c386 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
387abc60ff Add Id keywords 1998-09-02 01:34:57 +00:00
andreas
651bb8e729 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
d46d8480ed 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
0795c2718f 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
b7b2f9aa24 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
7def2566b9 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
bfdee87d0d 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
6354d4269a Ask spammers to mail postmaster@$m, not postmaster@FreeBSD.ORG. 1998-01-23 01:58:49 +00:00
nate
d0d51a7d87 - Fix some very minor typos. 1997-12-15 04:38:15 +00:00
jmb
ee07318935 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
1f5818dde0 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
76e2a87811 anti-spam filter used by the FreeBSD mailing lists. 1997-10-19 16:40:10 +00:00
wosch
f52b01f467 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
e70c35b30c Add aliases for hostmaster, webmaster & abuse, all point to root. 1997-08-09 14:58:49 +00:00
wosch
44f9e8d741 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
616cf86edb Add commented out msgs alias 1995-11-19 16:52:19 +00:00
rgrimes
b7f224a304 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