mhonarc-users

Re: Suppressing email address in existing archive...

2000-05-09 10:41:22
On Tue, 9 May 2000 07:50:23 -0400 (EDT) 
Dave Sill <ds-list-mhonarc(_at_)sws5(_dot_)ctd(_dot_)ornl(_dot_)gov> wrote:

John Beranek <john(_dot_)beranek(_at_)pace(_dot_)co(_dot_)uk> 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: claw(_at_)kanga(_dot_)nu
----------(*)                              Other: coder(_at_)kanga(_dot_)nu
--=| A man is as sane as he is dangerous to his environment |=--