<h1>Spam Filtering<aclass="headerlink"href="#spam-filtering"title="Permalink to this headline">¶</a></h1>
<p>django-helpdesk includes a copy of <ttclass="docutils literal"><spanclass="pre">akismet.py</span></tt> by <aclass="reference external"href="http://www.voidspace.org.uk/">Michael Foord</a>, which lets incoming ticket submissions be automatically checked against either the <aclass="reference external"href="http://akismet.com/">Akismet</a> or <aclass="reference external"href="http://antispam.typepad.com/">TypePad Anti-Spam</a> services.</p>
<p>To enable this functionality, sign up for an API key with one of these two services.</p>
<divclass="section"id="id1">
<h2>Akismet<aclass="headerlink"href="#id1"title="Permalink to this headline">¶</a></h2>
<li>Sign up at <aclass="reference external"href="http://akismet.com/">http://akismet.com/</a></li>
<li>Save your API key in <ttclass="docutils literal"><spanclass="pre">settings.py</span></tt> as <ttclass="docutils literal"><spanclass="pre">AKISMET_API_KEY</span></tt></li>
</ul>
<p><strong>Note</strong>: Akismet is only free for personal use. Paid commercial accounts are available.</p>
</div>
<divclass="section"id="typepad-antispam">
<h2>TypePad AntiSpam<aclass="headerlink"href="#typepad-antispam"title="Permalink to this headline">¶</a></h2>
<ulclass="simple">
<li>Sign up at <aclass="reference external"href="http://antispam.typepad.com/">http://antispam.typepad.com/</a></li>
<li>Save your API key in <ttclass="docutils literal"><spanclass="pre">settings.py</span></tt> as <ttclass="docutils literal"><spanclass="pre">TYPEPAD_ANTISPAM_API_KEY</span></tt></li>
</ul>
<p>This service is free to use, within their terms and conditions.</p>
<p>If you have either of these settings enabled, the spam filtering will be done automatically. If you have <em>both</em> settings configured, TypePad will be used instead of Akismet.</p>
</div>
<divclass="section"id="example">
<h2>Example<aclass="headerlink"href="#example"title="Permalink to this headline">¶</a></h2>
<p>A sample configuration in <ttclass="docutils literal"><spanclass="pre">settings.py</span></tt> may be:</p>