Re: anti-spam package
In article <[🔎] m0wy9to-00IdTiC@golem.pixar.com>,
Bruce Perens <email@example.com> wrote:
>I am assembling the no-spam package. It writes entries to the /etc/hosts.allow
>file. Should I:
>1. Divert /etc/hosts.allow to my package.
Hmm no, my hosts.allow was carefully handcrafted.
>2. Include a script that edits hosts.allow with each update.
That's a possibility
>3. Extend tcpd to add file inclusion to hosts.allow and hosts.deny
I think this is the best way as the list could be potentially very large.
Also, it would then be possible to parse the file by another script and
generate for example a sendmail "junk" file from it, in case one wants to
use the no-spam list from within sendmail itself.
sendmail: $include /etc/mail/spammers : banners /etc/tcpd.banners : DENY
Contents of /etc/tcpd.banners/sendmail :
550 spammer go away\r\n
| Miquel van Smoorenburg | |
| firstname.lastname@example.org | Owners of digital watches, your days are numbered. |
| PGP fingerprint: FE 66 52 4F CD 59 A5 36 7F 39 8B 20 F1 D6 74 02 |
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to email@example.com .