Anti-spam strategies: Difference between revisions

From UUWiki
Jump to navigation Jump to search
No edit summary
(added "Include a subject line")
Line 7: Line 7:
==JavaScript replacing Mailto==
==JavaScript replacing Mailto==


[http://www.dmuuc.org/ Davies Memorial UU Church] uses a no-spam javascript. You need to put it both in the header and replace each mailto link. The drawback is that browsers with javascript disabled will not be able to use the links.  
[http://www.dmuuc.org/ Davies Memorial UU Church] uses a no-spam javascript. You need to put it both in the header and replace each mailto link. The drawback is that browsers with javascript disabled will not be able to use the links. Also, see below for "Include a Subject Line".


==Text email addresses==
==Text email addresses==
Line 29: Line 29:


This could further be beneficial by setting up standard subject lines or body content (subject "E-mail from online form").  That way if you are running spam filters on your e-mail account you can make sure that e-mail submitted from online forms are not filtered.
This could further be beneficial by setting up standard subject lines or body content (subject "E-mail from online form").  That way if you are running spam filters on your e-mail account you can make sure that e-mail submitted from online forms are not filtered.
==Include a subject line==
With all the spam we're getting, it's best to write your own subject line so that you can catch the message when it comes into your In Box or accidentally sorts into your Spam Box. This can be done on standard mailto links, javascript links, as above, and server side email forms.

Revision as of 22:44, 10 August 2004

Putting email addresses on web pages is sure to result in spam being sent to the address, since many robots harvest them for spammers. Currently, most of the robots can be thwarted by these simple methods. But they will probably get smarter over time.

Use a image of an email address

Email Image Generator

JavaScript replacing Mailto

Davies Memorial UU Church uses a no-spam javascript. You need to put it both in the header and replace each mailto link. The drawback is that browsers with javascript disabled will not be able to use the links. Also, see below for "Include a Subject Line".

Text email addresses

You can create text for the email address with "at" replacing "@" and have spaces on either side of the word as is done in the Mailman list archives and subscribers' lists for UUA email lists (accessible only by list subscribers). For instance, dmuuc at dmuuc.org. One would have to view it and reform it into an email address. Most spammers wouldn't be bothered. You can create text for the email address with "at" replacing "@" and have spaces on either side of the word as is done in the Mailman list archives and subscribers' lists for UUA email lists (accessible only by list subscribers). For instance, dmuuc at dmuuc.org. One would have to view it and reform it into an email address. Most spammers wouldn't be bothered.

To make sure your text email addresses stay together on one line, use some variation of this markup:

     Source                             Result

name at email.org       name at email.org
name @ email.org        name @ email.org

Invisible HTML

If you insert meaningless html into an e-mail address then the Spambots will not recognize the e-mail address pattern, but when it is rendered for the end user it will be in the correct format. For example "<NoSpam>Username@</NoSpam>domain.tld" will render to the end user as "Username@domain.tld" with the meaningless tags dropping out. The advantage over images being the ability for the user to cut and paste the address.

Server Side e-mail Form

Spambots can not collect information that is never displayed. If you have the ability to use server side scripting then you can create an "E-mail Me" form for user to fill out.

This could further be beneficial by setting up standard subject lines or body content (subject "E-mail from online form"). That way if you are running spam filters on your e-mail account you can make sure that e-mail submitted from online forms are not filtered.

Include a subject line

With all the spam we're getting, it's best to write your own subject line so that you can catch the message when it comes into your In Box or accidentally sorts into your Spam Box. This can be done on standard mailto links, javascript links, as above, and server side email forms.