On Wed, Jan 04, 2006 at 10:00:53AM +0100, Steffen Mueller wrote:
> brian d foy wrote:
> >> - Do we really need to put list email gaddresses and contribution
> >>   information directly in the page?  Seems that 95% of users won't
> >>   really be interested.  (And I've still got this half-hearted thing
> >>   about munging addresses.)
> >
> >I think we should keep them, but I can munge them. Any suggestions
> >on what works best?
> 
> address at domain dot tld
> 
> worked fine for me. To make it clearer that "at" and "dot" are 
> characters, one could use delimiters as Robert suggested.

=head2 I am a spammer; how do I send mail to all the addresses in these 
documents?

The first task is to remove the obfuscation. For this, Perl's regexps are
ideally suited. If the obfuscated address is in C<$addr>

   s/\s*\[at\]\s*/\@/g;
   s/\s*\[dot\]\s*/./g;

will convert them to the correct format. You can de-duplicate the addresses
with code such as this:

   my %seen = ();
   my @unique = grep { ! $seen{ $_ }++ } @array;

Then pass the list to your favourite spamming software. If instead you wish to
send the spam directly from a perl program, see the techniques described in
L<perlfaq9/"How do I send mail?">.

=cut

Maybe we don't add that A to the FAQ. :-)

Nicholas Clark

Reply via email to