From: Mark Frazer <mark@mjfrazer.org>
To: Larry McVoy <lm@bitmover.com>
Cc: Linux Kernel List <linux-kernel@vger.kernel.org>
Subject: Re: bkbits - "@" question
Date: Thu, 28 Oct 2004 13:48:38 -0400 [thread overview]
Message-ID: <20041028174838.GA794@mjfrazer.org> (raw)
In-Reply-To: <200410230426.i9N4Qd9k004757@work.bitmover.com>
[-- Attachment #1: Type: text/plain, Size: 767 bytes --]
Larry McVoy <lm@bitmover.com> [04/10/23 01:31]:
> The web pages on bkbits.net contain email addresses. This is probably
> about a 4 year too late question but would it help reduce spam if we
> did something like s/@/ (at) / for all those addresses?
Hi Larry: I've used this for a while to add email addresses to my web
pages and I get almost no spam any more, < 10 per month!
[mjfrazer@pacific depictII]$ html-encode mark@mjfrazer.rog
mark@mjfrazer.rog
[mjfrazer@pacific depictII]$
I've attached the source.
> What are all of you doing to filter spam?
I use bogofilter, but only get about 10 per month anyways.
cheers
-mark
--
People said I was dumb but I proved them! - Fry
[-- Attachment #2: html-encode.c --]
[-- Type: text/x-csrc, Size: 610 bytes --]
#include <stdio.h>
#include <unistd.h>
int usage (char *err) {
if (err) printf ("%s\n", err);
printf ("Usage: html-encode [-v] <string> <string> <string>\n");
return 1;
}
int main (int argc, char **argv)
{
int i, j, verbose = 0;
while ((i = getopt (argc, argv, "v")) > -1) {
switch (i) {
case 'v': verbose = 1; break;
default: return usage (0);
}
}
if (argc - optind < 1)
usage ("Nothing to do");
for (i = optind; i < argc; i++) {
if (verbose) printf ("%s: ", argv[i]);
for (j = 0; j < strlen (argv[i]); j++) {
printf ("&#%d;", argv[i][j]);
}
printf ("\n");
}
return 0;
}
next prev parent reply other threads:[~2004-10-28 17:49 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-23 4:26 Larry McVoy
2004-10-23 9:52 ` Christoph Hellwig
2004-10-23 11:12 ` Andrew Walrond
2004-10-23 11:36 ` Jon Masters
2004-10-23 11:52 ` Jesper Juhl
2004-10-23 15:56 ` Adrian Bunk
2004-10-25 6:20 ` Jeff Garzik
2004-10-28 17:48 ` Mark Frazer [this message]
2004-10-28 18:13 ` Måns Rullgård
2004-10-28 18:47 ` Mark Frazer
[not found] <2SmNe-6MO-1@gated-at.bofh.it>
[not found] ` <2SqR0-10Q-9@gated-at.bofh.it>
2004-10-23 10:14 ` Jean Delvare
2004-10-23 10:20 ` Jan Engelhardt
2004-10-23 10:43 ` Måns Rullgård
2004-10-23 10:21 ` Christoph Hellwig
2004-10-23 10:30 ` Toni Spets
2004-10-23 10:59 ` Jean Delvare
2004-10-23 11:10 ` DaMouse
2004-10-24 15:40 ` Martin J. Bligh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20041028174838.GA794@mjfrazer.org \
--to=mark@mjfrazer.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lm@bitmover.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome