|
ADDRESSMODIFYCODESyntax
DescriptionADDRESSMODIFYCODE may be used to define Perl expressions to apply to addresses in message headers during conversion. When defining the expressions, the mail address will be in the $_ variable. The value of $_ after all expressions are evaluated is the address MHonArc will print.
Default SettingNil. Resource VariablesN/A ExamplesADDRESSMODIFYCODE 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> tr/A-Za-z/N-ZA-Mn-za-m/; </AddressModifyCode> However, this may not be enough since an intelligent harvester may try a ROT13. To completely hide the address, do something like this: <AddressModifyCode> $_ = 'address@hidden'; </AddressModifyCode> You cannot rely on ADDRESSMODIFYCODE alone to hide/obfuscate addresses (see NOTE above). Also look at the SPAMMODE if you are interested in fighting address harvesting. Version2.4.0 See Also
$Date: 2002/07/27 05:13:10 $ MHonArc Copyright © 1999, Earl Hood, mhonarc@mhonarc.org |