<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 10/12/2012 09:28, Julian Field
      wrote:<br>
    </div>
    <blockquote
cite="mid:EMEW3|20f5a879675858aaba98a74629f14c34oB99Sg05Jules|ecs.soton.ac.uk|50C5AB48.5040505@ecs.soton.ac.uk"
      type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <br>
      <div class="moz-cite-prefix">On 07/12/2012 16:35, Rob Lewis wrote:<br>
      </div>
      <blockquote
cite="mid:8F253C31DDD4854FB03ECF22268CAA64025CEA27@jfsmail1.forsythshirt.net"
        type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <meta name="GENERATOR" content="MSHTML 8.00.6001.19328">
        <div><span class="509262316-07122012"><font face="Arial"
              size="2">Hello Everyone, </font></span></div>
        <div><span class="509262316-07122012"></span>&nbsp;</div>
        <div><span class="509262316-07122012"><font face="Arial"
              size="2">Just wanted to say to the developers of this
              product.&nbsp; Thanks for this.&nbsp; Pretty easy to setup, and my
              users are already testing.</font></span></div>
      </blockquote>
      <font size="2"><font face="Arial">Thanks! G<font size="2">lad you
            li<font size="2">ke it. :-)</font></font></font></font><br>
      <blockquote
cite="mid:8F253C31DDD4854FB03ECF22268CAA64025CEA27@jfsmail1.forsythshirt.net"
        type="cite">
        <div><span class="509262316-07122012"></span>&nbsp;</div>
        <div><span class="509262316-07122012"><font face="Arial"
              size="2">Couple of items.&nbsp; </font></span></div>
        <div><span class="509262316-07122012"></span>&nbsp;</div>
        <div><span class="509262316-07122012"><font face="Arial"
              size="2">First, gmail, and yahoo kept flagging emails as
              junk.&nbsp; Fairly certain this was from sendmail inserting
              received from <a moz-do-not-send="true"
                href="mailto:apache@localhost">apache@localhost</a>.&nbsp; I
              tried several things, and finally gave up, and replaced
              sendmail with postfix.</font></span></div>
      </blockquote>
      <font size="2"><font face="Arial">You can do this with a setting
          in php.ini to say somethi<font size="2">ng similar to<br>
            <font size="2">sendmail_path = "/usr/sbin/sendmail -t -i
              -fdo-not-reply@york.ac.uk"<br>
              <br>
              <font size="2">That simply overrides the default
                "sendmail" command used by the PHP mail() function.</font><br>
            </font></font></font></font>
      <blockquote
cite="mid:8F253C31DDD4854FB03ECF22268CAA64025CEA27@jfsmail1.forsythshirt.net"
        type="cite">
        <div><span class="509262316-07122012"></span> <br>
        </div>
        <div><span class="509262316-07122012"><font face="Arial"
              size="2">Secondly, is there info on what would be required
              to replace the Recaptcha module with an alternative.&nbsp; I
              much prefer the Playthru test from <a
                moz-do-not-send="true" href="http://areyouahuman">http://areyouahuman</a>.</font></span></div>
        <div><span class="509262316-07122012"></span><br>
        </div>
      </blockquote>
      The code to call the recaptcha module is all in
      /opt/zendto/www/{download.php,pickup.php,req.php,verify.php} and
      it's fairly obvious code when you take a look at it. It basically
      just does this:<br>
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $reCaptchaPrivateKey =
      $theDropbox-&gt;recaptchaPrivateKey();<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if ($reCaptchaPrivateKey != 'disabled') {<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $resp = recaptcha_check_answer ($reCaptchaPrivateKey,<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $_SERVER["REMOTE_ADDR"],<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      $_POST["recaptcha_challenge_field"],<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      $_POST["recaptcha_response_field"]);<br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; }<br>
      <br>
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; if (($reCaptchaPrivateKey == 'disabled' ||
      $resp-&gt;is_valid) .......<br>
      <br>
      So you just need to replace that with the code to call any CAPTCHA
      of your choice. Put the PHP code for your choice of captcha module
      into recaptchalib.php</blockquote>
    The "AreYouAHuman.com" captcha seems to be the best of the
    alternatives I have seen, as it has an accessible interface in the
    form of the audio option.<br>
    <br>
    I've already implemented it on my development site, and may well add
    it as an option to the Google reCAPTCHA one.<br>
    At the moment it's a bit of a hack, but I can tidy it up and offer
    it as a proper alternative.<br>
    <br>
    Cheers,<br>
    <pre class="moz-signature" cols="72">Jules

-- 
Julian Field MEng MBCS CITP CEng
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>

Twitter: @JulesFM
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654

'Always do sober what you said you'd do drunk. That will teach you
 to keep your mouth shut.' - Ernest Hemingway
</pre>
  </body>
</html>