<?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>slashdevslashnull.com &#187; SpamAssassin</title>
	<atom:link href="http://www.slashdevslashnull.com/category/spamassassin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.slashdevslashnull.com</link>
	<description>Random geeky rants, that probably go nowhere in particular...</description>
	<lastBuildDate>Wed, 10 Nov 2010 20:59:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to check the status of the Bayesian DB in Zimbra</title>
		<link>http://www.slashdevslashnull.com/2010/02/how-to-check-the-status-of-the-bayesian-db-in-zimbra/</link>
		<comments>http://www.slashdevslashnull.com/2010/02/how-to-check-the-status-of-the-bayesian-db-in-zimbra/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 13:00:43 +0000</pubDate>
		<dc:creator>iMx</dc:creator>
				<category><![CDATA[SpamAssassin]]></category>
		<category><![CDATA[Zimbra]]></category>

		<guid isPermaLink="false">http://www.slashdevslashnull.com/?p=41</guid>
		<description><![CDATA[Ok, so i was curious to know what information i had in my SpamAssasin bayes DB, the below command will output the goodness: root@mambo:~# su - zimbra zimbra@mambo:~$ /opt/zimbra/libexec/sa-learn --dbpath /opt/zimbra/data/amavisd/.spamassassin --dump magic netset: cannot include 127.0.0.0/8 as it has already been included 0.000          0          3          0  non-token data: bayes db version 0.000          0      74443          ]]></description>
			<content:encoded><![CDATA[<p>Ok, so i was curious to know what information i had in my SpamAssasin bayes DB, the below command will output the goodness:</p>
<pre>root@mambo:~# su - zimbra
zimbra@mambo:~$ /opt/zimbra/libexec/sa-learn --dbpath /opt/zimbra/data/amavisd/.spamassassin --dump magic
netset: cannot include 127.0.0.0/8 as it has already been included
0.000          0          3          0  non-token data: bayes db version
0.000          0      74443          0  non-token data: nspam
0.000          0       4428          0  non-token data: nham
0.000          0     115928          0  non-token data: ntokens
0.000          0 1262691358          0  non-token data: oldest atime
0.000          0 1265460421          0  non-token data: newest atime
0.000          0 1265460998          0  non-token data: last journal sync atime
0.000          0 1265461001          0  non-token data: last expiry atime
0.000          0    2764800          0  non-token data: last expire atime delta
0.000          0      58752          0  non-token data: last expire reduction count
</pre>
<p>If for any reason you want to reset the bayes DB and start afresh, you just need to remove/move the .spamassassin folder, and then restart Zimbra.  Note im using Zimbra Open Source Edition 6.0.5.</p>
<div class='dd_post_share'><div class='dd_buttons'><div class='dd_button'><script src='http://widgets.digg.com/buttons.js' type='text/javascript'></script><a class='DiggThisButton DiggMedium' href='http://digg.com/submit?url=http://www.slashdevslashnull.com/2010/02/how-to-check-the-status-of-the-bayesian-db-in-zimbra/&amp;title=How+to+check+the+status+of+the+Bayesian+DB+in+Zimbra'></a></div><div class='dd_button'><script type='text/javascript'>reddit_url = http://www.slashdevslashnull.com/2010/02/how-to-check-the-status-of-the-bayesian-db-in-zimbra/;reddit_title = How+to+check+the+status+of+the+Bayesian+DB+in+Zimbra;reddit_newwindow='1';</script><script type='text/javascript' src='http://www.reddit.com/static/button/button2.js'></script></div><div class='dd_button'><iframe src='http://api.tweetmeme.com/button.js?url=http://www.slashdevslashnull.com/2010/02/how-to-check-the-status-of-the-bayesian-db-in-zimbra/&amp;source=&amp;style=normal' height='61' width='50' frameborder='0' scrolling='no'></iframe></div><div class='dd_button'><a name='fb_share' type='box_count' share_url='http://www.slashdevslashnull.com/2010/02/how-to-check-the-status-of-the-bayesian-db-in-zimbra/' href='http://www.facebook.com/sharer.php'>Share</a><script src='http://static.ak.fbcdn.net/connect.php/js/FB.Share' type='text/javascript'></script></div><div class='dd_button'><script type='text/javascript' src='http://www.polladium.com/web_services/poll-this/poll-this.js?t=How+to+check+the+status+of+the+Bayesian+DB+in+Zimbra&amp;u=http://www.slashdevslashnull.com/2010/02/how-to-check-the-status-of-the-bayesian-db-in-zimbra/&amp;type=normal'></script></div><div class='dd_button'><script src="http://www.stumbleupon.com/hostedbadge.php?s=5&amp;r=http://www.slashdevslashnull.com/2010/02/how-to-check-the-status-of-the-bayesian-db-in-zimbra/"></script></div><div class='dd_button'><a href='http://delicious.com/save' onclick="window.open('http://delicious.com/save?v=5&amp;noui&amp;jump=close&amp;url='+encodeURIComponent('http://www.slashdevslashnull.com/2010/02/how-to-check-the-status-of-the-bayesian-db-in-zimbra/')+'&amp;title='+encodeURIComponent('How+to+check+the+status+of+the+Bayesian+DB+in+Zimbra'),'delicious', 'toolbar=no,width=550,height=550'); return false;"><div class='delicious-normal-img'><img src='http://www.slashdevslashnull.com/wp-content/plugins/digg-digg/image/delicious.png' alt='Delicious' /><div class='delicious-normal-text' id='DD_DELICIOUS_AJAX_POST_ID'>Save</div></div></a></div></div></div><div style='clear:both'></div><!-- Social Buttons Shared Counts Generated by Digg Digg plugin v4.2, 
    Author : Yong Mook Kim
    Website : http://www.mkyong.com/blog/digg-digg-wordpress-plugin/ -->]]></content:encoded>
			<wfw:commentRss>http://www.slashdevslashnull.com/2010/02/how-to-check-the-status-of-the-bayesian-db-in-zimbra/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

