[Top] [All Lists]

CVS: mhonarc/MHonArc/doc/resources spammode.html,1.15,1.16

2011-01-09 01:52:36
Update of mhonarc/MHonArc/doc/resources
Modified Files:
Log Message:
Modified core address detection regexp to be more simple.  Although
the RFCs allow for funky addresses, such usage is rare today.
The more complicated regex causes performance problems with large
messages which the newer one does not suffer from.

Also modified addressmodifycode to be the following when spammode
is set:

  s|@(.+)$|'@'.('x' x length($1))|ge

This has the same effect as the previous regexp, but is simpler.

FILE: mhonarc/MHonArc/doc/resources/spammode.html

--- spammode.html	6 Oct 2003 22:04:20 -0000	1.15
+++ spammode.html	9 Jan 2011 07:52:25 -0000	1.16
@@ -74,7 +74,5 @@
 <dt><a href="addressmodifycode.html">ADDRESSMODIFYCODE</a></dt>
 <dd><p>Is defined as
-"<tt class="icode">s|([\!\%\w\.\-+=/]+<!--
--->)([\w\-]+\.[\w\.\-]+)|$1.('x' x length($2))|ge</tt>"
+"<tt class="icode">s|@(.+)$|'@'.('x' x length($1))|ge</tt>"
 (this has the effect of preserving the local-part of the address and
 complete masking out the domain portion).</p></dd>

To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the