Skip to main content
Inspiring
June 28, 2010
Question

e-mail spam

  • June 28, 2010
  • 1 reply
  • 669 views

Hi

we are having problems with e-mail spaming. We have a site which generates quotes which we sell to a number of solicitors. The problem is we are starting to receive spam mails -most from the same address and some from obscene e-mails for example

Hugh Jarse  with an e-mail hjarse@hotmail.co.uk. This does not look good for our clients who receive the quotes. We have put a captcha code on the site which has help but we are still receiving them. Any ideas on the other ways to help prevent this
    This topic has been closed for replies.

    1 reply

    ilssac
    Inspiring
    June 28, 2010

    The first thing to clarify here is are the spam emails being generated by your systems and sent to your clients.  Or are you clients just getting spam emails that look like they are coming from your system, because they have your organizations return address in them.

    There is nothing you can do about the latter scenario.  I can configure any email server in the world to send emails to everybody else in the world and spoof the return address to by your organization.  These emails won't go through you and you have no way to counter them or control them.

    On the other hand, if you have a open web page where user A can fill out a form and generate e-mails to users B through ZZZZZZZZ with any message they want.  Then you are basically operating a web bases open relay server and it can be tough to lock this down.  You can do some things, like captcha, that try to make automation more difficult.  But even if you had a perfect Turing test, so that only human beings can fill out your form, there are thousands of human beings willing to complete forms like this for a few dollars, especially in the current economy.

    Now that the soap box part of the reply is over. Steps you can try.

    Captcha.  The best you can find.

    One use keys in the form.  This is where when your CFML page generates a form page, create a one use unique id.  Store this id in a persistent variable and pass it to the request in a hidden field.  When the form is submitted check it against the keys stored in the ColdFusion's persistent memory.  If the key has not been used process the form, if it has don't.

    Some people also try and limit how many forms can be submitted by one session and|or IP.  Say something like 10 emails from a given IP per hour.  This can be tricky to implement depending on what type of user base you have using your applications.  But I have read that people who have successfully implemented it seeing a serious reduction in the number of spam form completions.