<?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>Technology, Computer, Network and Games Cheat &#187; Spam</title>
	<atom:link href="http://www.gamescheat.ca/tag/spam/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gamescheat.ca</link>
	<description>Day to day technical how to - by Andrew Lin</description>
	<lastBuildDate>Thu, 26 May 2011 18:48:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Upgrading SpamAssassin on Fedora 4 server.</title>
		<link>http://www.gamescheat.ca/2009/05/upgrading-spamassassin-on-fedora-4-server/</link>
		<comments>http://www.gamescheat.ca/2009/05/upgrading-spamassassin-on-fedora-4-server/#comments</comments>
		<pubDate>Mon, 18 May 2009 01:53:44 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/?p=327</guid>
		<description><![CDATA[Download the lastet version of SpamAssassin version 3.2.5, the file name is Mail-SpamAssassin-3.2.5.tar.gz. You can get the latest version from spamassassin.apache.org. In this step by step example I am upgrading SpamAssassin version 3.0.3-4.fc4 to 3.2.5 on my Fedora 4 server. After you download the lastest version, build the rpm using this file, the command to [...]]]></description>
			<content:encoded><![CDATA[<p>Download the lastet version of SpamAssassin version 3.2.5, the file name is Mail-SpamAssassin-3.2.5.tar.gz.  You can get the latest version from spamassassin.apache.org.</p>
<p>In this step by step example I am upgrading SpamAssassin version 3.0.3-4.fc4 to 3.2.5 on my Fedora 4 server.</p>
<p>After you download the lastest version, build the rpm using this file, the command to do that is below.</p>
<p><strong>sudo rpmbuild -tb Mail-SpamAssassin-3.2.5.tar.gz</strong></p>
<p>This will create two files, perl-Mail-SpamAssassin-3.2.5-1.i386.rpm and  spamassassin-3.2.5-1.i386.rpm in the folder  /usr/src/redhat/RPMS/i386.</p>
<p>Install this file first with the following command,</p>
<p><strong>rpm -i perl-Mail-SpamAssassin-3.2.5-1.i386.rpm</strong></p>
<p>Uninstall Evolution first because it dependencies that relies on Spamassassin 3.0.3-4.fc4, otherwise you will receive an error when uninstalling SpamAssassin version 3.0.3.  Evolution is an email client for Linux, similar to Outlook for Windows.</p>
<p>Uninstall in the following order:<br />
<strong>rpm -e evolution-connector-2.2.2-5.i386<br />
rpm -e evolution-devel-2.2.2-5.i386<br />
rpm -e evolution-2.2.2-5.i386</strong></p>
<p>Check to see whcih version of Spam Assassin is installed.</p>
<p><strong>rpm -q spamassassin</strong><br />
spamassassin-3.0.3-4.fc4</p>
<p>To uninstall run this command.</p>
<p><strong>rpm -e spamassassin-3.0.3-4.fc4</strong></p>
<p>You will see this warning message.<br />
<em>warning: /etc/mail/spamassassin/spamassassin-default.rc saved as /etc/mail/spamassassin/spamassassin-default.rc.rpmsave<br />
</em></p>
<p>Confirm that SpamAssassin has been uninstalled.<br />
<strong>rpm -q spamassassin</strong><br />
<em>package spamassassin is not installed</em></p>
<p>Now install the new version of SpamAssassin.</p>
<p><strong>rpm -i spamassassin-3.2.5-1.i386.rpm</strong></p>
<p>Check to see if the installation was successful.<br />
<strong>rpm -q spamassassin</strong><br />
<em>spamassassin-3.2.5-1</em></p>
<p>Now copy this file that was renamed during the uninstallation of the previous version.<br />
<strong>cp -i spamassassin-default.rc.rpmsave spamassassin-default.rc</strong></p>
<p>If you are interested here is the contents of the file spamassassin-default.rc.<br />
# send mail through spamassassin<br />
:0fw<br />
| /usr/bin/spamassassin<br />
# Drop all spam emails to /dev/null<br />
:0:<br />
* ^X-Spam-Status: Yes<br />
/dev/null<br />
# send mail through spamassassin<br />
:0fw<br />
| /usr/bin/spamassassin<br />
# Drop all spam emails to /dev/null<br />
:0:<br />
* ^X-Spam-Status: Yes<br />
/dev/null</p>
<p>The final step is to start the SpamAssassin service.</p>
<p><strong>service spamassassin start</strong><br />
<em>Starting spamd:                                            [  OK  ]</em></p>
<p>If you wish you can now download and install the latest version of Evolution from projects.gnome.org/evolution.  I may do that sometime, as I do not use it. </p>
<p>Well after I completed the above steps, it seems that SpamAssassin was not working.  I then decided to read the documentation avaiable on the website.  I guess I should have doen that first.</p>
<p>Anyhow, these are the steps I missed.  Edit the file /etc/mail/spamassassin/local.cf. </p>
<p>Remove the comment (#) from these lines as shown below<br />
<strong><br />
#   Add *****SPAM***** to the Subject header of spam e-mails<br />
#<br />
rewrite_header Subject *****SPAM*****</p>
<p>#   Set the threshold at which a message is considered spam (default: 5.0)<br />
#<br />
required_score 8</p>
<p>#   Use Bayesian classifier (default: 1)<br />
#<br />
use_bayes 1</p>
<p>#   Bayesian classifier auto-learning (default: 1)<br />
#<br />
bayes_auto_learn 1<br />
</strong></p>
<p>Then edit the file /etc/mail/spamassassin/spamassassin-default.rc, and add these lines if it&#8217;s not there.</p>
<p><strong># send mail through spamassassin<br />
DROPPRIVS=yes</p>
<p>:0fw<br />
| /usr/bin/spamassassin</strong></p>
<p>Restart spamd.<br />
service spamassassin restart</p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2009/05/upgrading-spamassassin-on-fedora-4-server/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Block Spam from my WordPress Blog by turning off trackback</title>
		<link>http://www.gamescheat.ca/2007/12/block-spam-from-my-wordpress-blog-by-turning-off-trackback/</link>
		<comments>http://www.gamescheat.ca/2007/12/block-spam-from-my-wordpress-blog-by-turning-off-trackback/#comments</comments>
		<pubDate>Mon, 03 Dec 2007 04:46:01 +0000</pubDate>
		<dc:creator>Andrew Lin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Spam]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.gamescheat.ca/2007/12/02/block-spam-from-my-wordpress-blog-by-turning-off-trackback/</guid>
		<description><![CDATA[My blog has been inundated with spam, I do not want to block valid comments only the spammers. The trackback option is enabled and this allows spammers to post comments without registering a valid email address. Turning off trackback or ping back would prevent this, I have known about this for a while but have [...]]]></description>
			<content:encoded><![CDATA[<p>My blog has been inundated with spam, I do not want to block valid comments only the spammers. The trackback option is enabled and this allows spammers to post comments without registering a valid email address. Turning off trackback or ping back would prevent this, I have known about this for a while but have been too lazy to get around applying the fix. But I finally applied the fix by turning off trackback, with this command in MySql, <tt>UPDATE wp_posts SET ping_status="closed".<br />
Below is what I cut and pasted from the WordPress FAQ.  I did not write it, simply cut and pasted it.</tt></p>
<p><tt><br />
<strong> I have disabled comments, but comments continue to be posted</strong></tt></p>
<p><tt>If you have unchecked <strong>Allow people to post comments on the article</strong> on the Options &gt; Discussion panel, then you have only disabled comments on <em>future posts</em>.  To completely disable comments, you will have to edit each past post and uncheck <strong>Allow Comments</strong> from the Write Post SubPanel.  Alternatively, you could delete the <tt>wp-comments-post.php</tt> file, or run this MySQL query, from the command line on a shell account, or using phpMyAdmin:  <tt>UPDATE wp_posts SET comment_status="closed";</tt></tt></p>
<p class="editsection" style="float: right; margin-left: 5px"><tt> <a title="I_have_disabled_trackbacks.2C_but_trackbacks_continue_to_be_posted" name="I_have_disabled_trackbacks.2C_but_trackbacks_continue_to_be_posted"></a></tt></p>
<h3><tt>I have disabled trackbacks, but trackbacks continue to be posted</tt></h3>
<p><tt>If you have unchecked <strong>Allow link notifications from other Weblogs (pingbacks and trackbacks.)</strong> on the Options &gt; Discussion panel, then you have only disabled trackbacks on <em>future posts</em>.  To completely disable trackbacks, you will have to edit each past post and uncheck <strong>Allow Pings</strong> from the Write Post SubPanel.  Alternatively, you could just simply delete the <tt>wp-trackback.php</tt> file, or run this MySQL query, from the command line on a shell account, or using PHPMyAdmin: <tt>UPDATE wp_posts SET ping_status="closed";</tt></tt></p>
]]></content:encoded>
			<wfw:commentRss>http://www.gamescheat.ca/2007/12/block-spam-from-my-wordpress-blog-by-turning-off-trackback/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

