NNTP mung email addresses [message #14245] |
Tue, 11 November 2003 04:44 |
|
The users of my forum asked to have their email addresses munged in some way when their posts appeared on the NNTP server. While I don't claim this to be the best way to do it , it is what I came up with on the fly..
Address was: Name <email(at)domain(dot)com>
Changes to: Name <email_at_domain_dot_com_fixme_>
But only on the NNTP side. Of course a good harvester could still strip the address out, but it calms my users.
Just throwing it out in case someone else may want it.
Patch is based on 2.6.0RC4.
|
|
|
|
Re: NNTP mung email addresses [message #14444 is a reply to message #14280] |
Fri, 14 November 2003 04:48 |
|
One problem with your implementation that I see in RC5... If a name, not the email address, contains a "." or a "@" then the name is messed up as well. For example:
F. Name <namef(at)domain(dot)com>
becomes:
F[dot] Name <namef[at]domain[dot]com>
Hence the "find the email address only" part I borrowed and used in my munging. What I used was probably overkill because the post is coming from FUD and FUD will format the email address a certain way.
|
|
|
|
|