<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Callum Macdonald &#187; wildcards</title>
	<atom:link href="http://www.callum-macdonald.com/tag/wildcards/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.callum-macdonald.com</link>
	<description>Callum on life</description>
	<lastBuildDate>Wed, 08 Feb 2012 13:52:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Regex spam prevention</title>
		<link>http://www.callum-macdonald.com/2008/02/02/regex-spam-prevention/</link>
		<comments>http://www.callum-macdonald.com/2008/02/02/regex-spam-prevention/#comments</comments>
		<pubDate>Sat, 02 Feb 2008 16:28:05 +0000</pubDate>
		<dc:creator>Callum</dc:creator>
				<category><![CDATA[Techy]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[regexp]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[wildcards]]></category>

		<guid isPermaLink="false">http://www.callum-macdonald.com/2008/02/02/regex-spam-prevention/</guid>
		<description><![CDATA[I have been receiving large volumes of spam to random, numerical addresses at my domain. For example 48321819.1928382@, and so on. It&#8217;s not practical to block a single address. The spammers make up new addresses at random. I wanted to &#8230; <a href="http://www.callum-macdonald.com/2008/02/02/regex-spam-prevention/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have been receiving large volumes of spam to random, numerical addresses at my domain. For example 48321819.1928382@, and so on. It&#8217;s not practical to block a single address. The spammers make up new addresses at random.</p>
<p>I wanted to block addresses using <a href="http://en.wikipedia.org/wiki/Wildcard_character" title="Wildcards on Wikipedia" target="_blank">wildcards</a>. For example, anything that starts with a 4 and ends with @domain.com. I use postfix, so I did some research. I didn&#8217;t find much, so I asked on the #postfix FreeNode channel. The very helpful sysmonk introduced me to regex tables in postfix.</p>
<p>So, I have now managed to block a whole bunch of addresses using a few simple <a href="http://en.wikipedia.org/wiki/Regex" title="Regex on Wikipedia" target="_blank">regex</a> patterns. The amount of spam I receive has dropped by almost 90% already. Yay! <img src='http://www.callum-macdonald.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.callum-macdonald.com/2008/02/02/regex-spam-prevention/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

