<?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>Computer Solutions Blog &#187; Email</title>
	<atom:link href="http://www.computersolutions.cn/blog/category/email/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.computersolutions.cn/blog</link>
	<description>Whats happening at Computer Solutions</description>
	<lastBuildDate>Fri, 13 Jan 2012 02:32:34 +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>Of Qmail, Zombies and qmail-remote timeout issues.</title>
		<link>http://www.computersolutions.cn/blog/2010/02/of-qmail-zombies-and-qmail-remote-timeout-issues/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=of-qmail-zombies-and-qmail-remote-timeout-issues</link>
		<comments>http://www.computersolutions.cn/blog/2010/02/of-qmail-zombies-and-qmail-remote-timeout-issues/#comments</comments>
		<pubDate>Thu, 25 Feb 2010 04:29:49 +0000</pubDate>
		<dc:creator>Lawrence Sheed</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Technical Mumbo Jumbo]]></category>
		<category><![CDATA[connection]]></category>
		<category><![CDATA[long]]></category>
		<category><![CDATA[qmail]]></category>
		<category><![CDATA[qmail-remote]]></category>
		<category><![CDATA[timeout]]></category>
		<category><![CDATA[zombies]]></category>

		<guid isPermaLink="false">http://www.computersolutions.cn/blog/?p=355</guid>
		<description><![CDATA[Occasionally even in a well maintained system, qmail has issues. One semi-common issue I get to see, is when a server we send mail to doesn&#8217;t timeout. This ties up an outgoing mail slot. Over a period of time, this can lead to issues where the whole outgoing or incoming queue is sitting doing nothing, [...]]]></description>
			<content:encoded><![CDATA[<p>Occasionally even in a well maintained system, qmail has issues.</p>
<p>One semi-common issue I get to see, is when a server we send mail to doesn&#8217;t timeout. This ties up an outgoing mail slot.  Over a period of time, this can lead to issues where the whole outgoing or incoming queue is sitting doing nothing, as every connection is tied up by &#8216;tarpitted&#8217; connections.</p>
<p>Ideally Qmail should be able to cope with these.  There are settings in qmail to control how long a connection takes, and how long it should wait for.  These settings are covered in the following files (usually set in /var/qmail/control)</p>
<p><span id="more-355"></span></p>
<blockquote><p>timeoutconnect &#8211; how long for qmail to wait on initial outgoing connection before trying another mail server.<br />
timeoutremote &#8211; how long to wait before timing out a connected outgoing server.<br />
timeoutsmtpd &#8211; how long for qmail to wait before dropping an incoming connection.</p></blockquote>
<p>In our system, we set these values to:<br />
30 seconds for timeoutconnect<br />
600 seconds for timeoutremote<br />
360 seconds for timeoutsmtpd</p>
<p>In theory timeoutremote should see qmail drop a connection after 10 minutes (600 seconds).<br />
In practice, <strong>qmail doesn&#8217;t</strong>.</p>
<p>Why?</p>
<p>timeoutremote <strong>only</strong> applies if the connection hasn&#8217;t received any data for the timeout period.<br />
<em>It doesn&#8217;t apply to the connection time as a whole</em>.<br />
If the remote end sends some data, the timeout is reset again, and it will wait again for the timeoutremote period.   If the remote server dribbles back an ACK or similar once every few minutes, then it can keep a connection alive for as long as it wants.</p>
<p>This may not happen very often, but it can happen enough to tie up our connection queue over a period of time. I&#8217;ve seen connections go on for as long as days or weeks in practice.</p>
<p>Ideally one should be able to set a proper timeout period in qmail which it adheres to, so that any connection over a certain time period gets killed, or at least set something up in ucspi-tcp, however thats something for another time.</p>
<p>Here is a real world example.  </p>
<p>I&#8217;ve run my kill zombie script in test mode (see bottom of page for the script)</p>
<p><code>/var/qmail/bin/kill-qmail-smtpd-zombies --test<br />
**Running in TEST mode**<br />
Running:  ps ax -o etime,pid,comm --no-heading | grep qmail-remote | grep ':[0-9][0-9]:' | awk '{print }'<br />
-=-=-=-=-=-=-=-=-=-=-<br />
Found zombies, setting up shotgun.<br />
Killing qmail-remote zombies<br />
kill -9 26707<br />
-=-=-=-=-=-=-=-=-=-=-</code></p>
<p>Its come up with a connection thats been running longer than an hour. &#8211; 26707</p>
<p>I&#8217;ll double check to see that its correct</p>
<p><code>ps ax -o etime,pid,comm | grep 26707<br />
   01:39:07 26707 qmail-remote<br />
</code></p>
<p>Yup, qmail-remote has been running for 1hr39minutes on that connection.</p>
<p>Lets check what the connection is</p>
<p><code>ps -ef | grep 26707<br />
root      2964 17112  0 13:01 pts/2    00:00:00 grep 26707<br />
qmailr   26707 21959  0 11:23 ?        00:00:00 qmail-remote bamboo.sz.js.cn  zhangbin@bamboo.sz.js.cn<br />
</code></p>
<p>Hmm, its a known troublesome server <strong>bamboo.sz.js.cn</strong>.<br />
In fact, its the one that caused me to write this article!</p>
<p>Lets watch whats actually happening in real time.</p>
<p><code>strace -p 26707<br />
Process 26707 attached - interrupt to quit<br />
read(3, </code></p>
<p>[wait for a minute or two...]</p>
<p>Still nothing.</p>
<p>Hmm, sitting there waiting for a response to a read.  Guess what happens before the timeout period?<br />
Yup, we receive some more characters just in time to keep the connection up and running&#8230;</p>
<p>We could set the timeoutremote to a lower number, but we do actually have cases where servers genuinely are slow on responses for various spam testing reasons (although they usually pickup speed once they pass those tests), so I prefer another method.</p>
<p>Whats my current (lazy in lieu of patching qmail or ucspi-tcp) solution for this?</p>
<p>A culling the zombies script!</p>
<p>To install in your qmail/bin folder, do the following:</p>
<p><code lang="bash"><br />
cd /var/qmail/bin<br />
wget http://www.computersolutions.cn/blog/wp-content/uploads/2010/02/kill-qmail-zombies.txt<br />
mv kill-qmail-zombies.txt kill-qmail-zombies.sh<br />
chmod 0700 kill-qmail-zombies.sh<br />
</code></p>
<p>The script has a help file built in,  parameters are:<br />
<code lang="bash">./kill-qmail-zombies.sh<br />
--test - Run in test mode (zombie friendly)<br />
--help - Show the help<br />
--force - Kill some zombies!</code></p>
<p>eg</p>
<p><code lang="bash">./kill-qmail-zombies.sh --test</code></p>
<p>You could set this to run every few hours in a cron script, but I <strong>strongly</strong> suggest you test first to see if it works correctly.  See the help file for more info on that.</p>
<p>Script below for those who want to take a look.  Its one of my first shell scripts, so feel free to laugh, and comment accordingly!</p>
<pre class="wp-code-highlight prettyprint">
#!/bin/sh

# ===========================
# qmail zombie killer script
# Version: 1.0
# Author: L. Sheed
# Company: Computer Solutions
# URL: http://www.computersolutions.cn
# ===========================

PATH=/usr/bin:/bin

function short_usage
{
cat &amp;lt;&amp;lt;- _EOF_
$0: missing parameter
Try '$0 --help' for more information.

_EOF_
}

function usage
{
cat &amp;lt;&amp;lt;- _EOF_
Parameters:
--force  kill qmail-smtpd and qmail-send processes (aka zombies) older than 1 hour
--test 	 do a test run (no zombie processes will be harmed)
--help   show this help page

Notes:
Strongly suggest test first to see if the ps line works correct on your system before killing any processes!
eg -  Run the ps below on your system, and see if the output looks similar

ps ax -o etime,pid,comm --no-heading | grep qmail-smtp
      04:40  6468 qmail-smtpd
      01:47  7473 qmail-smtpd
      01:00  8142 qmail-smtpd
      01:00  8143 qmail-smtpd
      00:46  8235 qmail-smtpd
      00:36  8283 qmail-smtpd
      00:19  8391 qmail-smtpd
      00:11  8445 qmail-smtpd
      00:07  8494 qmail-smtpd

_EOF_
}

function zap_the_bastards
{
PLIST=`ps ax -o etime,pid,comm --no-heading | grep $WHAT | grep ':[0-9][0-9]:' | awk '{print $2}'`

#In test mode, show what would be called also
if [ &quot;$test&quot; = &quot;1&quot; ]; then
	echo &quot;Running:  ps ax -o etime,pid,comm --no-heading | grep $WHAT | grep ':[0-9][0-9]:' | awk '{print $2}'&quot;
fi

if [ -n &quot;${PLIST:-}&quot; ]
then
	echo &quot;-=-=-=-=-=-=-=-=-=-=-&quot;
	echo &quot;Found zombies, setting up shotgun.&quot;
	echo &quot;Killing $WHAT zombies&quot;
	for p in $PLIST
	do
		if [ &quot;$force&quot; = &quot;1&quot; ]; then
			echo &quot;Kabooom:&quot;
			kill -9 $p
		fi
		echo &quot;kill -9 $p&quot;
	done
	echo &quot;-=-=-=-=-=-=-=-=-=-=-&quot;
else
	echo &quot;Good news everybody.  No $WHAT zombies found.&quot;
fi
}

## Main

#parse our parameters
if [ ! $# == 1 ]; then
	short_usage
	exit
fi

while [ &quot;$1&quot; != &quot;&quot; ]; do
 case $1 in
        --force )
        echo &quot;**Running in FORCE mode**&quot;
        force=1
        ;;
        --help )
        usage
        exit
        ;;
	--test )
	echo &quot;**Running in TEST mode**&quot;
	test=1
	;;
 esac
shift
done

#do the deed
targets=( &quot;qmail-remote&quot; &quot;qmail-smtpd&quot; )

for target in ${targets[@]}
do
	WHAT=$target
	zap_the_bastards
done</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.computersolutions.cn/blog/2010/02/of-qmail-zombies-and-qmail-remote-timeout-issues/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>How to setup fail2ban to block vpopmail attacks</title>
		<link>http://www.computersolutions.cn/blog/2009/10/how-to-setup-fail2ban-to-block-vpopmail-attacks/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-setup-fail2ban-to-block-vpopmail-attacks</link>
		<comments>http://www.computersolutions.cn/blog/2009/10/how-to-setup-fail2ban-to-block-vpopmail-attacks/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 13:04:25 +0000</pubDate>
		<dc:creator>Lawrence Sheed</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Technical Mumbo Jumbo]]></category>
		<category><![CDATA[fail2ban]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[unix]]></category>
		<category><![CDATA[vpopmail]]></category>

		<guid isPermaLink="false">http://www.computersolutions.cn/blog/?p=269</guid>
		<description><![CDATA[As the Wiki for fail2ban is a little less than explanatory than it could be (and they reversed my edits which made the instructions clearer), here are my own notes on setting up fail2ban to block pop3 attacks. Have been seeing sample dictionary attacks on some servers for a while now from random ip addresses [...]]]></description>
			<content:encoded><![CDATA[<p>As the Wiki for fail2ban is a little less than explanatory than it could be (and they reversed my edits which made the instructions clearer), here are my own notes on setting up fail2ban to block pop3 attacks.</p>
<p>Have been seeing sample dictionary attacks on some servers for a while now from random ip addresses &#8211; eg</p>
<pre class="wp-code-highlight prettyprint">
Sep 28 13:01:03 www vpopmail[20410]: vchkpw-pop3: vpopmail user not found www@:24.153.205.71
Sep 28 13:01:03 www vpopmail[20411]: vchkpw-pop3: vpopmail user not found web@:24.153.205.71
Sep 28 13:01:09 www vpopmail[20417]: vchkpw-pop3: vpopmail user not found web@:24.153.205.71
Sep 28 13:01:11 www vpopmail[20420]: vchkpw-pop3: vpopmail user not found web@:24.153.205.71
</pre>
<p>Annoying, but not realistically going to provide much of a security issue &#8211; most of the user names are the generic ones which aren&#8217;t actually in use on the servers.</p>
<p>As we already use <a href="http://www.fail2ban.org">fail2ban</a> to perform basic service blocks against naughty script kiddie wannabee&#8217;s, why not have it block vpopmail attacks also.</p>
<p>Our mail error logs are located in /var/log/mail.log</p>
<p>As you saw above, the logs show the same common text for each failed login &#8211; </p>
<pre class="wp-code-highlight prettyprint">
vchkpw-pop3: vpopmail user not found web@:24.153.205.71
</pre>
<p>A simple regex to identify that in the logs would look like this (as per the fail2ban wiki)</p>
<pre class="wp-code-highlight prettyprint">
failregex = vchkpw-pop3: vpopmail user not found .*@:&lt;HOST&gt;$
</pre>
<p>First step is to create a filter for fail2ban.</p>
<p>Create /etc/fail2ban/filter.d/vpopmail.conf as below:</p>
<pre class="wp-code-highlight prettyprint">
# Fail2Ban configuration file for vpopmail
#
# Author: Lawrence Sheed
#
# $Revision: 1.0 $
#

[Definition]

# Option: failregex
# Notes.: regex to match the password failures messages in the logfile.
# Values: TEXT
#
failregex = vchkpw-pop3: vpopmail user not found .*@:&lt;HOST&gt;$

# Option:  ignoreregex
# Notes.:  regex to ignore. If this regex matches, the line is ignored.
# Values:  TEXT
#
ignoreregex =
</pre>
<p>Second step is to add our filter to the fail2ban setup</p>
<p>Add this to the bottom of /etc/fail2ban/jail.conf</p>
<pre class="wp-code-highlight prettyprint">
[vpopmail]
enabled = true
port    = pop3
filter  = vpopmail
logpath = /var/log/mail.log
maxretry = 3
</pre>
<p>logpath should be amended to whatever your mail logs for vpopmail appear.<br />
maxretry should be set to a value that you agree with.</p>
<p>Restart fail2ban  with a: /etc/init.d/fail2ban restart<br />
and check that it has added the filter.</p>
<p>tail /var/log/fail2ban.log</p>
<p>You should see a line like this:</p>
<pre class="wp-code-highlight prettyprint">
2009-10-01 12:36:09,590 fail2ban.jail   : INFO   Jail 'vpopmail' started
</pre>
<p>If so, you&#8217;re all set!</p>
<hr />
<p>Some additional tips, as I have found some issues subsequently in Fail2ban on some systems:</p>
<p><font color=red>If you find that fail2ban gives error 200 or 400 on occasion, this is due to a timing issue bug in fail2ban.</font><br />
There are 2 possible solutions:</p>
<h3>Solution 1 &#8211; Edit fail2ban</h3>
<p>Open /usr/bin/fail2ban-client </p>
<p>Look for</p>
<pre class="wp-code-highlight prettyprint">
def __processCmd(self, cmd, showRet = True):
beautifier = Beautifier() for c in cmd:
</pre>
<p>After for c in cmd: add a delay<br />
time.sleep(0.5)</p>
<p>This should look similar to this now &#8211; </p>
<pre class="wp-code-highlight prettyprint">
def __processCmd(self, cmd, showRet = True):
beautifier = Beautifier() for c in cmd:
time.sleep(0.5)
</pre>
<p>Save, and restart fail2ban.  If you still see 200 or 400 issues, increase the delay higher e.g. time.sleep(0.8) </p>
<h3>Solution 2 &#8211; Use a different block method</h3>
<p>Instead of iptables, we can configure fail2ban to use route</p>
<p>Add a config file for this:</p>
<pre class="wp-code-highlight prettyprint">
pico /etc/fail2ban/action.d/route.conf
</pre>
<p>Add this into the file and save it.</p>
<pre class="wp-code-highlight prettyprint">
# Fail2Ban configuration file
[Definition]
actionban = ip route add unreachable &lt;ip&gt;
actionunban = ip route del unreachable &lt;ip&gt;
</pre>
<p>Open /etc/fail2ban/jail.conf</p>
<p>Look for ban action = &#8230; in the [DEFAULT] section, and comment it out with a # at the start of the line<br />
then add<br />
eg</p>
<pre class="wp-code-highlight prettyprint">
#banaction = iptables
banaction = route
</pre>
<p>Save the file.<br />
Restart fail2ban</p>
<p>It will now use route to block bad ip&#8217;s.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.computersolutions.cn/blog/2009/10/how-to-setup-fail2ban-to-block-vpopmail-attacks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Spam from Live.com</title>
		<link>http://www.computersolutions.cn/blog/2009/04/spam-from-livecom/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=spam-from-livecom</link>
		<comments>http://www.computersolutions.cn/blog/2009/04/spam-from-livecom/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 10:54:43 +0000</pubDate>
		<dc:creator>Lawrence Sheed</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Exploits]]></category>
		<category><![CDATA[Technical Mumbo Jumbo]]></category>
		<category><![CDATA[botnet]]></category>
		<category><![CDATA[live]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.computersolutions.cn/blog/?p=220</guid>
		<description><![CDATA[We&#8217;re seeing a huge recurrence of spam thats been getting through our spam filters., all coming from @live.com addresses. I hadn&#8217;t seen any personally until one of our clients brought up the fact that she was receiving 20-30 sex related spam a day, all coming from Random name @live.com addresses. A check of the logs [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re seeing a huge recurrence of spam thats been getting through our spam filters., all coming from @live.com addresses.<br />
I hadn&#8217;t seen any personally until one of our clients brought up the fact that she was receiving 20-30 sex related spam a day, all coming from Random name @live.com addresses.</p>
<p>A check of the logs showed that we&#8217;ve received at least 100,000 of these spam mails over the last month that have gotten through to our users.<br />
This is something I&#8217;d obviously like to remedy.  Not receiving, processing, or storing that much spam free&#8217;s up the servers for other things.</p>
<p>As the number of valid addresses using @live.com accounts appears to be minimal (I could only see a handful of legitimate users sending from that domain), I have taken the decision to block any email from the @live.com domain until Microsoft can resolve their spam issues.</p>
<p>If you do have clients using @live.com addresses, you will be able to send email to them, but not receive from them.<br />
We apologize for the inconvenience, but unfortunately there is no other solution that easily mitigates the issue, other than completely blocking them.</p>
<p>For a more technical explanation of whats happening, read below:<br />
<span id="more-220"></span><br />
This is a header from a sample spam email from a live.com address.<br />
As you can see below, the header shows that it passes an SPF check &#8211; meaning that the sending email server was verified to be a microsoft one.<br />
That means that the sender also passes our greylist and SPF checks, as Hotmail is a valid sender (for most of the time!).</p>
<blockquote><p>Return-Path: &lt;lourdesuxanbirr1980@live.com&gt;<br />
Delivered-To: XXXX<br />
Received: (qmail 3070 invoked from network); 20 Apr 2009 11:53:37 +0800<br />
DomainKey-Status: no signature<br />
Received: from blu0-omc2-s16.blu0.hotmail.com (65.55.111.91)<br />
by mail.computersolutions.cn with SMTP; 20 Apr 2009 11:53:37 +0800<br />
Received-SPF: pass (mail.computersolutions.cn: SPF record at spf-a.hotmail.com designates 65.55.111.91 as permitted sender)<br />
Received: from BLU128-W5 ([65.55.111.72]) by blu0-omc2-s16.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959);<br />
Sun, 19 Apr 2009 20:54:11 -0700<br />
Message-ID: &lt;BLU128-W51B2E2DECCF46C5980E74DC760@phx.gbl&gt;<br />
Return-Path: lourdesuxanbirr1980@live.com<br />
X-Originating-IP: [201.150.66.6]<br />
From: Lourdes Browne &lt;Lourdesuxanbirr1980@live.com&gt;<br />
Sender: &lt;lourdesuxanbirr1980@live.com&gt;<br />
To: XXXXX<br />
Subject: Hi! This is Muriel. Young girls in action with animals.<br />
Date: Mon, 20 Apr 2009 03:54:11 +0000<br />
Importance: Normal<br />
Content-Type: text/plain; charset=&#8221;iso-8859-1&#8243;<br />
Content-Transfer-Encoding: quoted-printable<br />
MIME-Version: 1.0<br />
X-OriginalArrivalTime: 20 Apr 2009 03:54:11.0766 (UTC) FILETIME=[AA2F5560:01C9C16B]</p></blockquote>
<p>As the sender is a legitimate hotmail / live account &#8220;lourdesuxanbirr1980@live.com&#8221; (albeit a garbage generated name), its probable that the sender is generated from a script.</p>
<p>A check on google reveals that the live.com captcha system has been cracked, and is being abused by botnets to send spam.</p>
<p><a href="http://arstechnica.com/security/news/2008/04/gone-in-60-seconds-spambot-cracks-livehotmail-captcha.ars">http://arstechnica.com/security/news/2008/04/gone-in-60-seconds-spambot-cracks-livehotmail-captcha.ars</a></p>
<p>This probably explains the sudden flood of spam coming from @live.com addresses, although its a bit strange that we didn&#8217;t see this sooner!<br />
Hopefully they&#8217;ll resolve it soon, so we can unblock them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.computersolutions.cn/blog/2009/04/spam-from-livecom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spam, Barracuda, and ethics (lack thereof)</title>
		<link>http://www.computersolutions.cn/blog/2009/04/spam-barracuda-and-ethics-lack-thereof/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=spam-barracuda-and-ethics-lack-thereof</link>
		<comments>http://www.computersolutions.cn/blog/2009/04/spam-barracuda-and-ethics-lack-thereof/#comments</comments>
		<pubDate>Tue, 14 Apr 2009 04:57:43 +0000</pubDate>
		<dc:creator>Lawrence Sheed</dc:creator>
				<category><![CDATA[Email]]></category>
		<category><![CDATA[Technical Mumbo Jumbo]]></category>
		<category><![CDATA[barracuda]]></category>
		<category><![CDATA[emailreg.org]]></category>
		<category><![CDATA[ethics]]></category>
		<category><![CDATA[rbl]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://www.computersolutions.cn/blog/?p=200</guid>
		<description><![CDATA[One of our clients sent us an email this morning letting us know that they couldn&#8217;t send an email to a client. They forwarded the bounce message to us (below) 12.149.35.75 does not like recipient. Remote host said: 554 Service unavailable; Client host [usa.computersolutions.cn] blocked using Barracuda Reputation; http://bbl.barracudacentral.com/q.cgi?ip=72.51.39.20 Giving up on 12.149.35.75. Simple enough [...]]]></description>
			<content:encoded><![CDATA[<p>One of our clients sent us an email this morning letting us know that they couldn&#8217;t send an email to a client.<br />
They forwarded the bounce message to us (below)</p>
<p>12.149.35.75 does not like recipient.<br />
Remote host said: 554 Service unavailable; Client host [usa.computersolutions.cn] blocked using Barracuda Reputation; http://bbl.barracudacentral.com/q.cgi?ip=72.51.39.20<br />
Giving up on 12.149.35.75.</p>
<p>Simple enough &#8211; we&#8217;re getting blocked by Barracuda Reputation, so off I go to the link to see why.</p>
<blockquote><p>Sorry, your email was blocked</p>
<p>We are sorry you have reached this page because an email was blocked based on its originating IP address having a &#8220;poor&#8221; reputation. The &#8220;poor&#8221; reputation may have been caused by one of the following reasons:</p>
<p>* Your email server contains a virus and has been sending out spam.<br />
* Your email server may be misconfigured.<br />
* Your PC may be infected with a virus or botnet software program.<br />
* Someone in your organization may have a PC infected with a virus or botnet program.<br />
* You may be utilizing a dynamic IP address which was previously utilized by a known spammer.<br />
* Your marketing department may be sending out bulk emails that do not comply with the CAN-SPAM Act.<br />
* You may have an insecure wireless network which is allowing unknown users to use your network to send spam.<br />
* In some rare cases, your recipient&#8217;s Barracuda Spam Firewall may be misconfigured.</p></blockquote>
<p>A quick check of our ip space over at a more legitimate place shows we&#8217;re fine &#8211;  <a href="http://www.senderbase.org/senderbase_queries/detailip?search_string=72.51.39.20">http://www.senderbase.org/senderbase_queries/detailip?search_string=72.51.39.20</a></p>
<p>I double check with a rbl lookup over here &#8211;  <a href="http://www.mxtoolbox.com/blacklists.aspx">http://www.mxtoolbox.com/blacklists.aspx</a>, nope, we&#8217;re clean as a whistle.</p>
<p>However, on the same page, they have an big button helpfully letting us know that:</p>
<blockquote><p>Many Barracuda Spam &amp; Virus Firewalls are configured, as a policy, to automatically deliver email that comes from sources that are properly registered at EmailReg.org.</p></blockquote>
<p>Ok, so follow the link through to EmailReg.org, and sign up.<br />
Looks good until we get to the &#8211; a $20 fee will be charged per domain per year.</p>
<p>Hmm, so email will possibly be blocked by Barracuda unless I pay them $20 a year.<br />
Sounds like Blackmail to me.</p>
<p>I also note that although EmailReg.org appears to be a separate entity, it is in fact owned by Barracuda.  So a neutral third party blocking service just so happens to be owned by the people doing the blocking.   If thats not a conflict of interest, I don&#8217;t know what is!<br />
This is actually illegal in some countries, although apparently, not the USA.<br />
It also doesn&#8217;t stop actual spammers coughing up money, and getting greenlisted.</p>
<p>Seems the rest of the net agrees with us on this one.</p>
<p>Quote from <a href="http://www.blogger.com/profile/17926177584868123436">Mike E.</a> that pretty much sums it up: <em>I feel compelled to add this. If I&#8217;m paying Barracuda for a appliance to filter out spam and they in turn are being paid by spammers to allow their messages through my spam firewall, how is that different than an antivirus company taking money from somone that write viruses to have their product not detect a virus? None. It&#8217;s slimy.</em></p>
<p>So, in future when clients are unable to send mail to people using Barracuda firewall devices, I&#8217;ll be able to point them to this post, and let them know the situation.</p>
<p>We don&#8217;t like spam either, and work hard to avoid clients misusing our services.<br />
However, we don&#8217;t blackmail senders into paying us money to accept their mail.</p>
<p>For a rundown on legitimate practices, read this:</p>
<p><a href="http://en.wikipedia.org/wiki/Anti-spam_techniques_(e-mail)">http://en.wikipedia.org/wiki/Anti-spam_techniques_(e-mail)</a></p>
<p>Further References/Complaints:<br />
<a href="http://www.nabble.com/zen.spamhaus.org-td22805806.html">http://www.nabble.com/zen.spamhaus.org-td22805806.html</a><br />
<a href="http://www.debian-administration.org/users/simonw/weblog/295">http://www.debian-administration.org/users/simonw/weblog/295</a><br />
<a href="http://zacharyozer.blogspot.com/2008/10/worst-engineers-ever.html">http://zacharyozer.blogspot.com/2008/10/worst-engineers-ever.html</a><br />
<a href="http://andrew.triumf.ca/barracuda-problems.html">http://andrew.triumf.ca/barracuda-problems.html</a><br />
<a href="http://community.spiceworks.com/topic/32502">http://community.spiceworks.com/topic/32502</a><br />
<a href="http://steve.heyvan.com/2008/11/06/technology-reviews/barracudacentral-another-blacklist-black-hole/">http://steve.heyvan.com/2008/11/06/technology-reviews/barracudacentral-another-blacklist-black-hole/</a><br />
<a href="http://ithelp.ithome.com.tw/question/10013491?tab=opinion">http://ithelp.ithome.com.tw/question/10013491?tab=opinion</a> (Trad Chinese)<br />
<a href="http://www.linux.com/feature/155880">http://www.linux.com/feature/155880</a></p>
<p><a href="http://www.emailreg.org/">http://www.emailreg.org/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.computersolutions.cn/blog/2009/04/spam-barracuda-and-ethics-lack-thereof/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

