README (30581) | README (31467) |
---|---|
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 | 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 added three rulesets to /etc/sendmail.cf, 7check_relay and check_mail and xlat. (xlat is for testing only, as 8explained in /etc/mail/sendmail.cf.additions.) These rulesets use 9two databases. The denyip, a list of IP addresses, and spamsites, 10a list of domains. We do not accept mail from any machine that 11matches a entry in either database. | 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 usersr 13in the fakenames database. |
12 13Filtering at your site: 14 To filter spam at your site you need to: 15 1. modify your /etc/sendmail.cf, 16 2. retrieve the database source files from the master site, 17 3. make the databases and 18 4. finally signal sendmail that the configuration file has changed. 19 --- 30 unchanged lines hidden (view full) --- 50Testing the spam filter: 51 52How can I tell if its working: 53 The mail log file, /var/log/maillog, will contain a line 54for every message filtered. The lines will be similar to one of 55these two log entries: 56 57Check_mail rejects: | 14 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 --- 30 unchanged lines hidden (view full) --- 52Testing the spam filter: 53 54How can I tell if its working: 55 The mail log file, /var/log/maillog, will contain a line 56for every message filtered. The lines will be similar to one of 57these two log entries: 58 59Check_mail rejects: |
58"Oct 15 02:43:26 hub sendmail[6565]: CAA06565: ruleset=check_mail, | 60Oct 15 02:43:26 hub sendmail[6565]: CAA06565: ruleset=check_mail, |
59arg1=<announce@martianconsulate.com>, relay=xxx.isp.net [###.###.###.###], | 61arg1=<announce@martianconsulate.com>, relay=xxx.isp.net [###.###.###.###], |
60reject=521 <announce@martianconsulate.com>" | 62reject=521 |
61 | 63 |
64Nov 30 15:56:37 hub sendmail[15058]: PAA15058: ruleset=check_mail, 65arg1=<ultramax@s2.eddelwissl.NET>, relay=relay.somewhere.com 66[###.###.###.###], reject=451 <ultramax@s2.eddelwissl.NET>... Domain 67does not resolve 68 69 |
|
62Check_relay rejects: 63Oct 19 04:45:24 hub sendmail[3503]: NOQUEUE: ruleset=check_relay, 64arg1=imsp015.netvigator.com, arg2=205.252.144.206, relay=root@localhost, 65reject=521 blocked.contact postmaster@FreeBSD.ORG | 70Check_relay rejects: 71Oct 19 04:45:24 hub sendmail[3503]: NOQUEUE: ruleset=check_relay, 72arg1=imsp015.netvigator.com, arg2=205.252.144.206, relay=root@localhost, 73reject=521 blocked.contact postmaster@FreeBSD.ORG |
74 75check_rcpt reject: 76Nov 30 15:04:08 hub sendmail[12390]: PAA12390: ruleset=check_rcpt, 77arg1=investor@100percent.per.year.com, relay=newfed.frb.gov 78[198.3.221.5], reject=553 investor@100percent.per.year.com... 79521<investor@100percent.per.year.com>#blocked.contact postmaster 80Sun Nov 16 11:40:53 PST 1997 |
|