<!DOCTYPE HTML PUBLIC
"-//W3C//DTD HTML//EN">
<title>MHonArc Resources: ADDRESSMODIFYCODE
</title>
<table border=
0><tr valign=
"top">
<td align=
"left" width=
"50%">[Prev:
<a href=
"add.html">ADD
</a>]
</td><td><nobr>[
<a href=
"../resources.html#addressmodifycode">Resources
</a>][
<a href=
"../mhonarc.html">TOC
</a>]
</nobr></td><td align=
"right" width=
"50%">[Next:
<a href=
"afs.html">AFS
</a>]
</td></tr></table>
<h1>ADDRESSMODIFYCODE
</h1>
<!-- *************************************************************** -->
<dt><strong>Envariable
</strong></dt>
<code>M2H_ADDRESSMODIFYCODE=
<var>Perl_expressions
</var></code>
<dt><strong>Element
</strong></dt>
<code><ADDRESSMODIFYCODE
></code><br>
<var>Perl expressions...
</var><br>
<code></ADDRESSMODIFYCODE
></code><br>
<dt><strong>Command-line Option
</strong></dt>
<code>-addressmodifycode
</code><var>Perl_expressions
</var>
<!-- *************************************************************** -->
<p>ADDRESSMODIFYCODE may be used to define Perl expressions to
apply to addresses in message headers during conversion.
<p>When defining the expressions, the mail address will be in
the
<b><tt>$_
</tt></b> variable. The value of
<b><tt>$_
</tt></b>
after all expressions are evaluated is the address MHonArc will
<table border=
0 cellpadding=
4>
<td><a name=
"note1"><strong>NOTE
</strong></a></td>
<td><p>ADDRESSMODIFYCODE only affects the display text of the
address. If
<a href=
"mailto.html">MAILTO
</a> is active, the
URL of the link is
<b>NOT
</b> affected by ADDRESSMODIFYCODE.
<a href=
"mailtourl.html">MAILTOURL
</a> can be used to modify the
<!-- *************************************************************** -->
<!-- *************************************************************** -->
<h2>Resource Variables
</h2>
<!-- *************************************************************** -->
<p>ADDRESSMODIFYCODE main use is to obfuscate addresses,
or hide them entirely, to
prevent spam address harvesters from getting user addresses from
MHonArc archives. Here is an example that performs a ROT13 to
provide some simple obfuscation:
<AddressModifyCode
>
</AddressModifyCode
>
<p>However, this may not be enough since an intelligent harvester
may try a ROT13. To completely hide the address, do something like
<AddressModifyCode
>
</AddressModifyCode
>
<p>You cannot rely on ADDRESSMODIFYCODE alone to
hide/obfuscate addresses (see
<a href=
"#note1">NOTE
</a> above).
Also look at the
<a href=
"spammode.html">SPAMMODE
</a> if you are
interested in fighting address harvesting.
<!-- *************************************************************** -->
<!-- *************************************************************** -->
<a href=
"mailto.html">MAILTO
</a>,
<a href=
"mailtourl.html">MAILTOURL
</a>,
<a href=
"spammode.html">SPAMMODE
</a>,
<!-- *************************************************************** -->
<table border=
0><tr valign=
"top">
<td align=
"left" width=
"50%">[Prev:
<a href=
"add.html">ADD
</a>]
</td><td><nobr>[
<a href=
"../resources.html#addressmodifycode">Resources
</a>][
<a href=
"../mhonarc.html">TOC
</a>]
</nobr></td><td align=
"right" width=
"50%">[Next:
<a href=
"afs.html">AFS
</a>]
</td></tr></table>
$Date:
2002/
07/
27 05:
13:
10 $
<br>
<img align=
"top" src=
"../monicon.png" alt=
"">
<a href=
"http://www.mhonarc.org/"
><strong>MHonArc
</strong></a><br>
Copyright
© 1999,
<a href=
"http://www.earlhood.com/"
>Earl Hood
</a>,
<a href=
"mailto:mhonarc@mhonarc.org"
>mhonarc@mhonarc.org
</a><br>