Re: Suppressing email address in existing archive...
On Tue 09 May, John Beranek wrote: Additionally, how would I do this for new messages...I'm using a procmail filter to process my mail...I guess it's done through procmail some how. Ahem, answered part of my own message...I put SPAMMODE in my resource file, and new messages don't contain the address. However, this doesn't work for old messages... John. -- John Beranek, Senior Software Engineer Pace Micro Technology plc. (Cambridge)Tel: +44 1223 518561 645 Newmarket Road, Fax: +44 1223 518526 Cambridge, CB5 8PB, UK. Web: http://www.pace.co.uk/
Re: Suppressing email address in existing archive...
John Beranek [EMAIL PROTECTED] wrote: Ahem, answered part of my own message...I put SPAMMODE in my resource file, and new messages don't contain the address. However, this doesn't work for old messages... Here's a little script I wrote when I was in the same situation. It's more aggressive than spammode, though, because it cloaks all addresses in the file. #!/usr/local/bin/perl -pi~ s|([\!\%\w\.\-+=/]+@)([\w\.\-]+)|$1.('x' x length($2))|ge The substitute command came from MHonArc. It replaces the domain with an equal-length string of x's. -Dave
Re: Suppressing email address in existing archive...
On 5/9/2000 at 9:59 AM, [EMAIL PROTECTED] (John Beranek) wrote: However, this doesn't work for old messages... Run mhonarc on your old archives with -editidx, and your current resource file. -nat
Re: Suppressing email address in existing archive...
On Tue, 9 May 2000 09:44:40 +0100 (BST) John Beranek [EMAIL PROTECTED] wrote: I've got an existing archive of a mailing list, and people on the mailing list have just started mumbling about privacy and spam protection...so, is it possible to remove everything after the @ in "from" addresses in the existing archive? I restroactively munge the HTML that MHonArc produces to corrupt email addresses. via a simple sed script. See ftp://ftp.kanga.nu/pub/Kanga.Nu/MHonArc/emailmunge Note that there is a known problem with this script. MHonArc fequently (not always) appears to re-write the last N message files on each run (I presume based on the thread linkages). This results in some messages being re-written and then not re-munged due to the filename cacheing done via ./.emunge.db. One of my list members has hacked the script to work around this (there's a bug report with a copy of the hacked script under http://www.kanga.nu/tasks/) but I haven't checked or tested the details of what he did. -- J C Lawrence Home: [EMAIL PROTECTED] --(*) Other: [EMAIL PROTECTED] --=| A man is as sane as he is dangerous to his environment |=--
Re: Suppressing email address in existing archive...
On Tue, 9 May 2000 07:50:23 -0400 (EDT) Dave Sill [EMAIL PROTECTED] wrote: John Beranek [EMAIL PROTECTED] wrote: Here's a little script I wrote when I was in the same situation. It's more aggressive than spammode, though, because it cloaks all addresses in the file. #!/usr/local/bin/perl -pi~ s|([\!\%\w\.\-+=/]+@)([\w\.\-]+)|$1.('x' x length($2))|ge The substitute command came from MHonArc. It replaces the domain with an equal-length string of x's. It shares another problem with my scipt in that it will munge MessageIDs as well. This can cause (as I've found) minor threading and use problems (MessageIDs are the one true index key and you edited them). -- J C Lawrence Home: [EMAIL PROTECTED] --(*) Other: [EMAIL PROTECTED] --=| A man is as sane as he is dangerous to his environment |=--