<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://cafuego.net"  xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Cafuego - spam</title>
 <link>http://cafuego.net/taxonomy/term/97/0</link>
 <description></description>
 <language>en</language>
<item>
 <title>drupal webforms and recaptcha</title>
 <link>http://cafuego.net/2009/02/22/drupal-webforms-and-recaptcha</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;One of the great features of Drupal is that you can so easily extend its functionality with modules.&lt;/p&gt;
&lt;p&gt;For example, the &lt;a href=&quot;http://drupal.org/project/webform&quot;&gt;webform&lt;/a&gt; module allows you to gather information from users by creating forms using all available HTML form elements and then store these responses in a database and send an email. All without needing to write any PHP code.&lt;/p&gt;
&lt;p&gt;One problem with forms on web pages though, is that spammers tend to find them very quickly and try to find vulnerabilities in them that allow them to use the form to send email about viagra and cheap rolex watches to any number of unsuspecting victims. Even if the form is not vulnerable, you&#039;ll still end up with hundreds or thousands of spam entries in the database and your email inbox. Very annoying.&lt;/p&gt;
&lt;p&gt;Drupal has a solution for this too; the &lt;a href=&quot;http://drupal.org/project/recaptcha&quot;&gt;recaptcha&lt;/a&gt; module allows you to automatically place a widget on any form, that forces the user to enter two random words before the form can be submitted. It is very hard for software to decipher these words, so it makes the form useless for spammers. &lt;/p&gt;
&lt;p&gt;When you create a form, its node ID is used to generate an identifier that you can add to the recaptcha administration page, so automatically have the captcha challenge added to your form. For instance, if your form node ID is 42, the identifier will be &lt;em&gt;webform-client-form-42&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;There is one slight issue though; if you try to enter this identifier in the captcha the admin page will say &lt;em&gt;Illegal form_id&lt;/em&gt;. Not helpful.&lt;/p&gt;
&lt;p&gt;It turns out that you need to convert all hyphens to underscores when you enter the form identifier. So instead of&amp;nbsp; &lt;em&gt;webform-client-form-42&lt;/em&gt; you enter &lt;em&gt;webform_client_form_42&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;And as if by magic, the spam stops! :-)&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;
&lt;!--
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:trackback=&quot;http://madskills.com/public/xml/rss/module/trackback/&quot;&gt;
&lt;rdf:Description rdf:about=&quot;http://cafuego.net/2009/02/22/drupal-webforms-and-recaptcha&quot; dc:identifier=&quot;http://cafuego.net/2009/02/22/drupal-webforms-and-recaptcha&quot; dc:title=&quot;drupal webforms and recaptcha&quot; trackback:ping=&quot;http://cafuego.net/trackback/304&quot; /&gt;
&lt;/rdf:RDF&gt;
--&gt;
&lt;div class=&quot;trackback-url&quot;&gt;&lt;div class=&quot;box&quot;&gt;

  &lt;h2&gt;Trackback URL for this post:&lt;/h2&gt;

  &lt;div class=&quot;content&quot;&gt;http://cafuego.net/trackback/304&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description>
 <comments>http://cafuego.net/2009/02/22/drupal-webforms-and-recaptcha#comments</comments>
 <category domain="http://cafuego.net/category/tags/captcha">captcha</category>
 <category domain="http://cafuego.net/category/tags/drupal">drupal</category>
 <category domain="http://cafuego.net/category/tags/forms">forms</category>
 <category domain="http://cafuego.net/category/tags/spam">spam</category>
 <pubDate>Sun, 22 Feb 2009 00:15:07 +0000</pubDate>
 <dc:creator>cafuego</dc:creator>
 <guid isPermaLink="false">304 at http://cafuego.net</guid>
</item>
<item>
 <title>spam</title>
 <link>http://cafuego.net/2008/11/05/spam</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;Dear intertubes,&lt;/p&gt;
&lt;p&gt;Until such time as there is an officially announced result in the US elections, I do not need estimated outcomes from absolutely everyone on the minute, every minute.&lt;/p&gt;
&lt;p&gt;kthxbai&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;
&lt;!--
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:trackback=&quot;http://madskills.com/public/xml/rss/module/trackback/&quot;&gt;
&lt;rdf:Description rdf:about=&quot;http://cafuego.net/2008/11/05/spam&quot; dc:identifier=&quot;http://cafuego.net/2008/11/05/spam&quot; dc:title=&quot;spam&quot; trackback:ping=&quot;http://cafuego.net/trackback/243&quot; /&gt;
&lt;/rdf:RDF&gt;
--&gt;
&lt;div class=&quot;trackback-url&quot;&gt;&lt;div class=&quot;box&quot;&gt;

  &lt;h2&gt;Trackback URL for this post:&lt;/h2&gt;

  &lt;div class=&quot;content&quot;&gt;http://cafuego.net/trackback/243&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description>
 <comments>http://cafuego.net/2008/11/05/spam#comments</comments>
 <category domain="http://cafuego.net/taxonomy/term/40">annoying</category>
 <category domain="http://cafuego.net/taxonomy/term/25">election</category>
 <category domain="http://cafuego.net/category/tags/irrelevant">irrelevant</category>
 <category domain="http://cafuego.net/category/tags/spam">spam</category>
 <pubDate>Wed, 05 Nov 2008 04:43:09 +0000</pubDate>
 <dc:creator>cafuego</dc:creator>
 <guid isPermaLink="false">243 at http://cafuego.net</guid>
</item>
<item>
 <title>DKIM for Postfix</title>
 <link>http://cafuego.net/2008/09/25/dkim-postfix</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;After a fairly long and frustrating day, I finally have DKIM working with Postfix on Etch. I was assuming it would be fairly straighforward, but was treated to such lovely errors as these in my mail.log:&lt;/p&gt;
&lt;p&gt;smtpd: warning: milter [...] can&#039;t read SMFIC_OPTNEG reply packet header: Connection timed out&lt;br /&gt;
smtpd: warning: milter [...] read error in initial handshake&lt;br /&gt;
cleanup: warning: milter [...] can&#039;t read SMFIC_EOH reply packet header: Success&lt;br /&gt;
smtpd: warning: milter [...] can&#039;t read SMFIC_MAIL reply packet header: Success&lt;br /&gt;
smtpd: warning: milter [...] can&#039;t read SMFIC_OPTNEG reply packet header: Connection timed out&lt;br /&gt;
smtpd: warning: milter [...] read error in initial handshake&lt;/p&gt;
&lt;p&gt;To make a long story short, dkim-filter defaults to doing DNS lookups via TCP. It never even bothers trying UDP. I suppose that makes a certain amount of sense, seeing as it expects a relatively large response (the public key). However, my anti-spam domU didn&#039;t have a firewall rule permitting 53/tcp out, so dkim-filter kept timing out after initial startup and then died.&lt;/p&gt;
&lt;p&gt;After making sure the firewall was letting lookups via tcp through, dkim on cafuego.net works dandy :-)&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;
&lt;!--
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:trackback=&quot;http://madskills.com/public/xml/rss/module/trackback/&quot;&gt;
&lt;rdf:Description rdf:about=&quot;http://cafuego.net/2008/09/25/dkim-postfix&quot; dc:identifier=&quot;http://cafuego.net/2008/09/25/dkim-postfix&quot; dc:title=&quot;DKIM for Postfix&quot; trackback:ping=&quot;http://cafuego.net/trackback/221&quot; /&gt;
&lt;/rdf:RDF&gt;
--&gt;
&lt;div class=&quot;trackback-url&quot;&gt;&lt;div class=&quot;box&quot;&gt;

  &lt;h2&gt;Trackback URL for this post:&lt;/h2&gt;

  &lt;div class=&quot;content&quot;&gt;http://cafuego.net/trackback/221&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description>
 <comments>http://cafuego.net/2008/09/25/dkim-postfix#comments</comments>
 <category domain="http://cafuego.net/taxonomy/term/88">debian</category>
 <category domain="http://cafuego.net/category/tags/dkim">dkim</category>
 <category domain="http://cafuego.net/category/tags/firewall">firewall</category>
 <category domain="http://cafuego.net/category/tags/postfix">postfix</category>
 <category domain="http://cafuego.net/category/tags/spam">spam</category>
 <pubDate>Thu, 25 Sep 2008 08:13:07 +0000</pubDate>
 <dc:creator>cafuego</dc:creator>
 <guid isPermaLink="false">221 at http://cafuego.net</guid>
</item>
<item>
 <title>Junk Mail</title>
 <link>http://cafuego.net/2008/08/23/junk-mail</link>
 <description>&lt;!-- google_ad_section_start --&gt;&lt;p&gt;The fight against junk is ever on-going, so I better make sure I publish the &lt;a href=&quot;mailto:honey.pot@cafuego.net&quot;&gt;honey.pot@cafuego.net&lt;/a&gt; address. Feel free to send it a mail, if you happen to be a spam bot.&lt;/p&gt;
&lt;!-- google_ad_section_end --&gt;
&lt;!--
&lt;rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; xmlns:trackback=&quot;http://madskills.com/public/xml/rss/module/trackback/&quot;&gt;
&lt;rdf:Description rdf:about=&quot;http://cafuego.net/2008/08/23/junk-mail&quot; dc:identifier=&quot;http://cafuego.net/2008/08/23/junk-mail&quot; dc:title=&quot;Junk Mail&quot; trackback:ping=&quot;http://cafuego.net/trackback/185&quot; /&gt;
&lt;/rdf:RDF&gt;
--&gt;
&lt;div class=&quot;trackback-url&quot;&gt;&lt;div class=&quot;box&quot;&gt;

  &lt;h2&gt;Trackback URL for this post:&lt;/h2&gt;

  &lt;div class=&quot;content&quot;&gt;http://cafuego.net/trackback/185&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</description>
 <comments>http://cafuego.net/2008/08/23/junk-mail#comments</comments>
 <category domain="http://cafuego.net/taxonomy/term/40">annoying</category>
 <category domain="http://cafuego.net/category/tags/junk">junk</category>
 <category domain="http://cafuego.net/category/tags/spam">spam</category>
 <category domain="http://cafuego.net/category/tags/waste-time">waste of time</category>
 <pubDate>Fri, 22 Aug 2008 23:05:14 +0000</pubDate>
 <dc:creator>cafuego</dc:creator>
 <guid isPermaLink="false">185 at http://cafuego.net</guid>
</item>
</channel>
</rss>

