mhonarc-commits
[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:
	spammode.html 
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
<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/*checkout*/mhonarc/MHonArc/doc/resources/spammode.html?rev=1.16>

<http://www.mhonarc.org/cgi-bin/viewcvs.cgi/mhonarc/MHonArc/doc/resources/spammode.html.diff?r1=1.15&r2=1.16&diff_format=h>
--- 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\.\-+=/]+<!--
--->&#64;<!--
--->)([\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
message text UNSUBSCRIBE MHONARC-COMMITS