<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Postgrey &#8211; A very useful antispam tool</title>
	<atom:link href="http://www.dbws.net/blog/2007/02/15/postgrey-a-seemingly-very-usefull-anti-spam-tool/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dbws.net/blog/2007/02/15/postgrey-a-seemingly-very-usefull-anti-spam-tool/</link>
	<description>Software development mutterings and maybe a little something about myself.</description>
	<lastBuildDate>Tue, 05 Apr 2011 10:26:20 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: admin</title>
		<link>http://www.dbws.net/blog/2007/02/15/postgrey-a-seemingly-very-usefull-anti-spam-tool/#comment-2980</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Wed, 12 Dec 2007 09:22:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.dbws.net/blog/?p=5#comment-2980</guid>
		<description>&lt;strong&gt;FAO UBUNTU 7.10 (GUTSY GIBBON) Users.&lt;/strong&gt;

After upgrading my server OS from 6.06 to 7.10,  I had noticed that mail wasn&#039;t coming through and I was seeing lines like this;

&lt;code&gt;Ubuntu-710 postgrey[18179]: fatal: Can&#039;t call method &quot;txn_commit&quot; on an undefined value at /usr/sbin/postgrey line 223.&lt;/code&gt;

in my mail logs.  As soon as the error occurs, The Postgrey daemon would stop running, Postfix was then unable to communicate with it and no more mail would be delivered correctly, OUCH!

Anyway the good news is the problem was discovered to be an incompatiability between Postgray and one of the OS libraries - libdb .  My immediate solution was to setup a cron job that checked to see if Postgray was still running, if not - it would fire it up again, Not great but effective I know. 

Thankfully now an updated version of libdb is available and you can get it by adding the following apt source to sources.list;

&lt;code&gt;deb http://us.archive.ubuntu.com/ubuntu gutsy-proposed main&lt;/code&gt;

and then updating libdb with the following apt call;

&lt;code&gt;apt-get update &amp;&amp; apt-get install libdb4.4&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p><strong>FAO UBUNTU 7.10 (GUTSY GIBBON) Users.</strong></p>
<p>After upgrading my server OS from 6.06 to 7.10,  I had noticed that mail wasn&#8217;t coming through and I was seeing lines like this;</p>
<p><code>Ubuntu-710 postgrey[18179]: fatal: Can't call method "txn_commit" on an undefined value at /usr/sbin/postgrey line 223.</code></p>
<p>in my mail logs.  As soon as the error occurs, The Postgrey daemon would stop running, Postfix was then unable to communicate with it and no more mail would be delivered correctly, OUCH!</p>
<p>Anyway the good news is the problem was discovered to be an incompatiability between Postgray and one of the OS libraries &#8211; libdb .  My immediate solution was to setup a cron job that checked to see if Postgray was still running, if not &#8211; it would fire it up again, Not great but effective I know. </p>
<p>Thankfully now an updated version of libdb is available and you can get it by adding the following apt source to sources.list;</p>
<p><code>deb <a href="http://us.archive.ubuntu.com/ubuntu" rel="nofollow">http://us.archive.ubuntu.com/ubuntu</a> gutsy-proposed main</code></p>
<p>and then updating libdb with the following apt call;</p>
<p><code>apt-get update &#038;&#038; apt-get install libdb4.4</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

