<?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: Spam-proofing Leopard Server</title>
	<atom:link href="http://www.netmojo.ca/2009/04/13/spam-proofing-leopard-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.netmojo.ca/2009/04/13/spam-proofing-leopard-server/</link>
	<description>Apple Certified Mac Consulting</description>
	<lastBuildDate>Mon, 17 May 2010 19:55:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: gctwnl</title>
		<link>http://www.netmojo.ca/2009/04/13/spam-proofing-leopard-server/comment-page-1/#comment-2608</link>
		<dc:creator>gctwnl</dc:creator>
		<pubDate>Sat, 15 May 2010 11:38:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2009/04/13/spam-proofing-leopard-server/#comment-2608</guid>
		<description>After getting as far as the install Mail::SpamAssassin, it turns out spamasassin is still the old version and the new one is installed in /usr/local/bin

bash-3.2# spamassassin --version
spamassassin: spamassassin script is v3.002001, but using modules v3.003001
bash-3.2# /usr/local/bin/spamassassin --version
SpamAssassin version 3.3.1
  running on Perl version 5.8.8

(I have had this experience with CPAN every time I tried it, always something goes awry if I try to use it)

This is the end of the install:

/usr/bin/perl build/preprocessor -Mvars -DVERSION=&quot;3.003001&quot; -DPREFIX=&quot;/usr/local&quot; -DDEF_RULES_DIR=&quot;/usr/local/share/spamassassin&quot; -DLOCAL_RULES_DIR=&quot;/etc/mail/spamassassin&quot; -DLOCAL_STATE_DIR=&quot;/var/lib/spamassassin&quot; -DINSTALLSITELIB=&quot;/Library/Perl/5.8.8&quot; -DCONTACT_ADDRESS=&quot;postmaster@rna.nl&quot; -m644 -Irules -O/usr/local/share/spamassassin user_prefs.template languages sa-update-pubkey.txt
chmod 755 /usr/local/share/spamassassin
  JMASON/Mail-SpamAssassin-3.3.1.tar.gz
  /usr/bin/make install  -- OK

And this is somehwre halfway:

Installing /Library/Perl/5.8.8/Mail/SpamAssassin/Util/TieOneStringHash.pm
Installing /usr/local/share/man/man1/sa-compile.1

Argh! Have I killed my system?</description>
		<content:encoded><![CDATA[<p>After getting as far as the install Mail::SpamAssassin, it turns out spamasassin is still the old version and the new one is installed in /usr/local/bin</p>
<p>bash-3.2# spamassassin &#8211;version<br />
spamassassin: spamassassin script is v3.002001, but using modules v3.003001<br />
bash-3.2# /usr/local/bin/spamassassin &#8211;version<br />
SpamAssassin version 3.3.1<br />
  running on Perl version 5.8.8</p>
<p>(I have had this experience with CPAN every time I tried it, always something goes awry if I try to use it)</p>
<p>This is the end of the install:</p>
<p>/usr/bin/perl build/preprocessor -Mvars -DVERSION=&#8221;3.003001&#8243; -DPREFIX=&#8221;/usr/local&#8221; -DDEF_RULES_DIR=&#8221;/usr/local/share/spamassassin&#8221; -DLOCAL_RULES_DIR=&#8221;/etc/mail/spamassassin&#8221; -DLOCAL_STATE_DIR=&#8221;/var/lib/spamassassin&#8221; -DINSTALLSITELIB=&#8221;/Library/Perl/5.8.8&#8243; -DCONTACT_ADDRESS=&#8221;postmaster@rna.nl&#8221; -m644 -Irules -O/usr/local/share/spamassassin user_prefs.template languages sa-update-pubkey.txt<br />
chmod 755 /usr/local/share/spamassassin<br />
  JMASON/Mail-SpamAssassin-3.3.1.tar.gz<br />
  /usr/bin/make install  &#8212; OK</p>
<p>And this is somehwre halfway:</p>
<p>Installing /Library/Perl/5.8.8/Mail/SpamAssassin/Util/TieOneStringHash.pm<br />
Installing /usr/local/share/man/man1/sa-compile.1</p>
<p>Argh! Have I killed my system?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://www.netmojo.ca/2009/04/13/spam-proofing-leopard-server/comment-page-1/#comment-2263</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Tue, 14 Jul 2009 20:57:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2009/04/13/spam-proofing-leopard-server/#comment-2263</guid>
		<description>@Svein Arild: Thanks! It&#039;s too bad SORBS has closed.  I updated my servers &amp; the article.</description>
		<content:encoded><![CDATA[<p>@Svein Arild: Thanks! It&#8217;s too bad SORBS has closed.  I updated my servers &#038; the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://www.netmojo.ca/2009/04/13/spam-proofing-leopard-server/comment-page-1/#comment-1979</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Wed, 08 Jul 2009 20:22:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2009/04/13/spam-proofing-leopard-server/#comment-1979</guid>
		<description>@Rich: What are the errors you&#039;re getting, and what do you do to produce them?

CPAN isn&#039;t a Mac specific system...</description>
		<content:encoded><![CDATA[<p>@Rich: What are the errors you&#8217;re getting, and what do you do to produce them?</p>
<p>CPAN isn&#8217;t a Mac specific system&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://www.netmojo.ca/2009/04/13/spam-proofing-leopard-server/comment-page-1/#comment-1978</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Wed, 08 Jul 2009 20:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2009/04/13/spam-proofing-leopard-server/#comment-1978</guid>
		<description>@Chris: that&#039;s odd.  What&#039;s in /etc/amavisd.conf?  /etc/mail/spamassassin/local.cf?</description>
		<content:encoded><![CDATA[<p>@Chris: that&#8217;s odd.  What&#8217;s in /etc/amavisd.conf?  /etc/mail/spamassassin/local.cf?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rich Conaway</title>
		<link>http://www.netmojo.ca/2009/04/13/spam-proofing-leopard-server/comment-page-1/#comment-1973</link>
		<dc:creator>Rich Conaway</dc:creator>
		<pubDate>Wed, 08 Jul 2009 19:39:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2009/04/13/spam-proofing-leopard-server/#comment-1973</guid>
		<description>Anyone know of any Mac specific tutorials for getting CPAN set up correctly? I just get a ton of errors when trying to update Spam Assassin.</description>
		<content:encoded><![CDATA[<p>Anyone know of any Mac specific tutorials for getting CPAN set up correctly? I just get a ton of errors when trying to update Spam Assassin.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Wheeler</title>
		<link>http://www.netmojo.ca/2009/04/13/spam-proofing-leopard-server/comment-page-1/#comment-1599</link>
		<dc:creator>Chris Wheeler</dc:creator>
		<pubDate>Wed, 01 Jul 2009 10:35:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2009/04/13/spam-proofing-leopard-server/#comment-1599</guid>
		<description>Thanks for the confirmation on the script. I&#039;ve noticed that messages are being marked as Spam but not as I&#039;ve set in Server Admin. In Server Admin it says messages will be marked &quot;***THIS MESSAGE MAY BE SPAM***&quot; (no quotes) but messages are being marked {SPAM?} which I believe is the default for Spam Assassin. Any ideas?</description>
		<content:encoded><![CDATA[<p>Thanks for the confirmation on the script. I&#8217;ve noticed that messages are being marked as Spam but not as I&#8217;ve set in Server Admin. In Server Admin it says messages will be marked &#8220;***THIS MESSAGE MAY BE SPAM***&#8221; (no quotes) but messages are being marked {SPAM?} which I believe is the default for Spam Assassin. Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Svein Arild</title>
		<link>http://www.netmojo.ca/2009/04/13/spam-proofing-leopard-server/comment-page-1/#comment-1341</link>
		<dc:creator>Svein Arild</dc:creator>
		<pubDate>Fri, 26 Jun 2009 07:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2009/04/13/spam-proofing-leopard-server/#comment-1341</guid>
		<description>Hi again :)

I yust found out that SORBS having problems and maybe wil close anyday soon.
I changed the line &quot;reject_rbl_client dnsbl.sorbs.net&quot; with &quot;reject_rbl_client zen.spamhaus.org&quot; and having wery good resoults so far :)

Regards
Svein Arild
Norway</description>
		<content:encoded><![CDATA[<p>Hi again :)</p>
<p>I yust found out that SORBS having problems and maybe wil close anyday soon.<br />
I changed the line &#8220;reject_rbl_client dnsbl.sorbs.net&#8221; with &#8220;reject_rbl_client zen.spamhaus.org&#8221; and having wery good resoults so far :)</p>
<p>Regards<br />
Svein Arild<br />
Norway</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brent</title>
		<link>http://www.netmojo.ca/2009/04/13/spam-proofing-leopard-server/comment-page-1/#comment-1262</link>
		<dc:creator>Brent</dc:creator>
		<pubDate>Wed, 24 Jun 2009 17:15:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2009/04/13/spam-proofing-leopard-server/#comment-1262</guid>
		<description>Mike: &#039;spamassassin --version&#039; (with two dashes) works as well.  -V is shorter though, thanks. :)

Chris: thanks for pointing that out.  I had actually modified the script and didn&#039;t update it here on the blog. I just copied over the learnspam script that I&#039;m actually using (see the &quot;&lt;a href=&quot;http://www.netmojo.ca/wp-content/uploads/2009/04/710.learn_junk_mail&quot; rel=&quot;nofollow&quot;&gt;Here it is&lt;/a&gt;&quot; link), and the &#039;su -l _amavisd&#039; is not there.  &#039;/usr/sbin/chown -R _amavisd $SADB&#039; is added to ensure proper permissions. Here&#039;s the diff [new script] [old script]:

&lt;div class=&quot;code&quot;&gt;
19c19
&lt; LEARN_CMD=&quot;$SA_LEARN -u _amavisd --dbpath $SADB --no-sync&quot;
---
&gt; LEARN_CMD=&quot;$SA_LEARN -u _amavisd --showdots --dbpath $SADB --no-sync&quot;
51c51
&lt; 	  #echo &quot;Learning spam from $user&quot; 
---
&gt; 	  echo &quot;Learning spam from $user&quot; 
55,56c55
&lt; 	      cat $file &#124; $LEARN_CMD --spam &gt;&gt; /var/log/amavis.log 2&gt;&amp;1
&lt; 	      /usr/sbin/chown -R _amavisd $SADB
---
&gt; 	      cat $file &#124; su -l _amavisd $LEARN_CMD --spam 
64c63
&lt; 	  #echo &quot;Learning ham from $user&quot; 
---
&gt; 	  echo &quot;Learning ham from $user&quot; 
68,69c67
&lt; 	      cat $file &#124; $LEARN_CMD --ham &gt;&gt; /var/log/amavis.log 2&gt;&amp;1
&lt; 	      /usr/sbin/chown -R _amavisd $SADB
---
&gt; 	      cat $file &#124; su -l _amavisd $LEARN_CMD --ham 
77,78c75
&lt; $SA_LEARN -u _amavisd --dbpath $SADB --sync 
&lt; /usr/sbin/chown -R _amavisd $SADB
---
&gt; su -l _amavisd $SA_LEARN -u _amavisd --dbpath $SADB --sync 
&lt;/div&gt;</description>
		<content:encoded><![CDATA[<p>Mike: &#8217;spamassassin &#8211;version&#8217; (with two dashes) works as well.  -V is shorter though, thanks. :)</p>
<p>Chris: thanks for pointing that out.  I had actually modified the script and didn&#8217;t update it here on the blog. I just copied over the learnspam script that I&#8217;m actually using (see the &quot;<a href="http://www.netmojo.ca/wp-content/uploads/2009/04/710.learn_junk_mail" rel="nofollow">Here it is</a>&quot; link), and the &#8217;su -l _amavisd&#8217; is not there.  &#8216;/usr/sbin/chown -R _amavisd $SADB&#8217; is added to ensure proper permissions. Here&#8217;s the diff [new script] [old script]:</p>
<div class="code">
19c19<br />
< LEARN_CMD="$SA_LEARN -u _amavisd --dbpath $SADB --no-sync"<br />
---<br />
> LEARN_CMD=&#8221;$SA_LEARN -u _amavisd &#8211;showdots &#8211;dbpath $SADB &#8211;no-sync&#8221;<br />
51c51<br />
< #echo "Learning spam from $user"<br />
---<br />
> 	  echo &#8220;Learning spam from $user&#8221;<br />
55,56c55<br />
< cat $file | $LEARN_CMD --spam >> /var/log/amavis.log 2>&#038;1<br />
< /usr/sbin/chown -R _amavisd $SADB<br />
---<br />
> 	      cat $file | su -l _amavisd $LEARN_CMD &#8211;spam<br />
64c63<br />
< #echo "Learning ham from $user"<br />
---<br />
> 	  echo &#8220;Learning ham from $user&#8221;<br />
68,69c67<br />
< cat $file | $LEARN_CMD --ham >> /var/log/amavis.log 2>&#038;1<br />
< /usr/sbin/chown -R _amavisd $SADB<br />
---<br />
> 	      cat $file | su -l _amavisd $LEARN_CMD &#8211;ham<br />
77,78c75<br />
< $SA_LEARN -u _amavisd --dbpath $SADB --sync<br />
< /usr/sbin/chown -R _amavisd $SADB<br />
---<br />
> su -l _amavisd $SA_LEARN -u _amavisd &#8211;dbpath $SADB &#8211;sync
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Friedman</title>
		<link>http://www.netmojo.ca/2009/04/13/spam-proofing-leopard-server/comment-page-1/#comment-1260</link>
		<dc:creator>Mike Friedman</dc:creator>
		<pubDate>Wed, 24 Jun 2009 16:38:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2009/04/13/spam-proofing-leopard-server/#comment-1260</guid>
		<description>Whoops. Typo...should be spamassassin -V</description>
		<content:encoded><![CDATA[<p>Whoops. Typo&#8230;should be spamassassin -V</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Wheeler</title>
		<link>http://www.netmojo.ca/2009/04/13/spam-proofing-leopard-server/comment-page-1/#comment-1259</link>
		<dc:creator>Chris Wheeler</dc:creator>
		<pubDate>Wed, 24 Jun 2009 16:34:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.netmojo.ca/blog/2009/04/13/spam-proofing-leopard-server/#comment-1259</guid>
		<description>Thanks for the informative article. Most seems to be working but the learn_junk_mail script doesn&#039;t seem to work as-is. If I remove the &quot;su -l _amavisd&quot; from the various command lines it works fine and we get an increase in the nspam number in our database but if I put them back in the script does nothing. The result is the same if I &quot;su -l ANYUSER&quot; for any command at the terminal - no output. Any suggestions?</description>
		<content:encoded><![CDATA[<p>Thanks for the informative article. Most seems to be working but the learn_junk_mail script doesn&#8217;t seem to work as-is. If I remove the &#8220;su -l _amavisd&#8221; from the various command lines it works fine and we get an increase in the nspam number in our database but if I put them back in the script does nothing. The result is the same if I &#8220;su -l ANYUSER&#8221; for any command at the terminal &#8211; no output. Any suggestions?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
