Deleted Added
full compact
README (31728) README (33835)
1 Filtering out SPAM from your site
1 Filtering out SPAM from your site
2
3Introduction:
4 The FreeBSD Project filters spam, unsolicited commerical
5e-mail, from its mailing lists. The filter has two parts: databases
6and rulesets. We have rulesets to /etc/sendmail.cf, check_rcpt,
7check_relay, check_rbl, check_mail and xlat. (xlat is for testing
8only, as explained in /etc/mail/sendmail.cf.additions.) These
9rulesets use three databases. The denyip, a list of IP addresses,
10spamsites, a list of domains, and fakenames, a list of bogus
11usernames (such as investor and success). We do not accept mail
12from any machine that matches a entry in either database, or users
13in the fakenames database.
14
2
3Introduction:
4 The FreeBSD Project filters spam, unsolicited commerical
5e-mail, from its mailing lists. The filter has two parts: databases
6and rulesets. We have rulesets to /etc/sendmail.cf, check_rcpt,
7check_relay, check_rbl, check_mail and xlat. (xlat is for testing
8only, as explained in /etc/mail/sendmail.cf.additions.) These
9rulesets use three databases. The denyip, a list of IP addresses,
10spamsites, a list of domains, and fakenames, a list of bogus
11usernames (such as investor and success). We do not accept mail
12from any machine that matches a entry in either database, or users
13in the fakenames database.
14
15 WARNING: We do not maintain the database source files.
16 Read domain.txt and ips.txt.
17 (Make will fetch them for you)
18 Domains that you want to allow, should be added
19 to the file /etc/mail/allowed_domains.txt.
20 IP addresses that you want to allow, should be added
21 to the file /etc/mail/allowed_ips.txt.
22
15Filtering at your site:
16 To filter spam at your site you need to:
17 1. modify your /etc/sendmail.cf,
18 2. retrieve the database source files from the master site,
19 3. make the databases and
20 4. finally signal sendmail that the configuration file has changed.
21
221. Modifying your /etc/sendmail.cf
23 Add the database declarations and the rulesets contained
24in /etc/mail/sendmail.cf.additions to your .mc file. If you do
25not use m4 to generate your /etc/sendmail.cf, add the database
26declarations to your /etc/sendmail.cf.
27
282. Fetching the database source files:
23Filtering at your site:
24 To filter spam at your site you need to:
25 1. modify your /etc/sendmail.cf,
26 2. retrieve the database source files from the master site,
27 3. make the databases and
28 4. finally signal sendmail that the configuration file has changed.
29
301. Modifying your /etc/sendmail.cf
31 Add the database declarations and the rulesets contained
32in /etc/mail/sendmail.cf.additions to your .mc file. If you do
33not use m4 to generate your /etc/sendmail.cf, add the database
34declarations to your /etc/sendmail.cf.
35
362. Fetching the database source files:
37
29 The database source files are available from Gulf Coast
30Internet via anonymous FTP. The Makefile in /etc/mail will retreive
31the source files for you: as root, type "cd /etc/mail; make" at
32the command line. The previous version of the database source
38 The database source files are available from Gulf Coast
39Internet via anonymous FTP. The Makefile in /etc/mail will retreive
40the source files for you: as root, type "cd /etc/mail; make" at
41the command line. The previous version of the database source
33files is moved to <filename>.0. Local additions should be kept in
34separate files. We use spamsites.local and denyip.local. You may
35want to diff the new versions of the files against the previous
36versions to see what has changed.
42files is moved to .0.
37
43
44 Local additions should be kept in separate files. We use
45spamsites.local and denyip.local. You may want to diff the new
46versions of the files against the previous versions to see what
47has changed.
48
49 Local deletions should be kept in separate files. We use
50allowed_domain.txt and allowed_ips.txt. (This feature was added
51after netcom.com was added to the spam block list.)
52
383. Make the databases:
39 As root, type "cd /etc/mail; make install" will build the
40two databases from the retrieved source files and the local additions
41files.
42
434. Signaling sendmail:
44 Sendmail will reread its configuration whenever sendmail
45receives a HUP signal. As root, type "kill -HUP `cat

--- 35 unchanged lines hidden ---
533. Make the databases:
54 As root, type "cd /etc/mail; make install" will build the
55two databases from the retrieved source files and the local additions
56files.
57
584. Signaling sendmail:
59 Sendmail will reread its configuration whenever sendmail
60receives a HUP signal. As root, type "kill -HUP `cat

--- 35 unchanged lines hidden ---