<?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>Work experience &#187; Admin</title>
	<atom:link href="http://experience.masalas.org/category/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://experience.masalas.org</link>
	<description>It&#039;s all about IT</description>
	<lastBuildDate>Fri, 05 Mar 2010 16:15:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Fighting url spam</title>
		<link>http://experience.masalas.org/admin/fighting-url-spam/</link>
		<comments>http://experience.masalas.org/admin/fighting-url-spam/#comments</comments>
		<pubDate>Fri, 01 May 2009 11:12:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Admin]]></category>

		<guid isPermaLink="false">http://experience.masalas.org/url-spam-using-spamassasin-URIDNSBL-tutorial.html</guid>
		<description><![CDATA[Recently I&#8217;ve noticed there are lots of spam with just text and URL. This spam passed through spamassassin&#8217;s checks all the time. Good news, there are some fabulous URL block lists. I&#8217;ve used two of them:
SURBL and URIBL
These two checks url block lists, mentioned in message body.
It seemed a bit unclear configuration for me, so [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve noticed there are lots of spam with just text and URL. This spam passed through spamassassin&#8217;s checks all the time. Good news, there are some fabulous URL block lists. I&#8217;ve used two of them:</p>
<p><a href="http://www.surbl.org/" target="_blank">SURBL</a> and <a href="http://www.uribl.com" target="_blank">URIBL</a><br />
These two checks url block lists, mentioned in message body.</p>
<p><span id="more-66"></span>It seemed a bit unclear configuration for me, so here I will write a little tutorial how to enable these tests to spamassassin, and how to test new configuration. Tested on production server, using spamassassin v 3.x.</p>
<p>First, check for init.pre file in spamassassin&#8217;s config directory. The plugin URIDNSBL should be uncommented. Like this:</p>
<div class="dean_ch" style="white-space: nowrap;"><span class="co1"># URIDNSBL &#8211; look up URLs found in the message against several DNS</span><br />
<span class="co1"># blocklists.</span><br />
<span class="co1">#</span><br />
loadplugin Mail::<span class="me2">SpamAssassin</span>::<span class="me2">Plugin</span>::<span class="me2">URIDNSBL</span></div>
<p>And ensure, that plugin really exists. It is file named <small>URIDNSBL.pm</small> in SA plugins directory.</p>
<p>If everything ok &#8211; add to local.cf spamassassin rules:</p>
<div class="dean_ch" style="white-space: nowrap;"><span class="co1"># Url spam check</span><br />
<span class="co1">#</span><br />
urirhssub URIBL_JP_SURBL multi.surbl.org. A <span class="nu0">64</span><br />
body &nbsp; &nbsp; &nbsp;URIBL_JP_SURBL <a href="http://perldoc.perl.org/functions/eval.html"><span class="kw3">eval</span></a>:check_uridnsbl<span class="br0">&#40;</span><span class="st0">&#8216;URIBL_JP_SURBL&#8217;</span><span class="br0">&#41;</span><br />
describe &nbsp;URIBL_JP_SURBL Contains a URL listed in the JP SURBL list<br />
tflags &nbsp; &nbsp;URIBL_JP_SURBL net<br />
score &nbsp; &nbsp; URIBL_JP_SURBL <span class="nu0">1.5</span></p>
<p>urirhssub URIBL_SC_SURBL multi.surbl.org. A <span class="nu0">2</span><br />
body &nbsp; &nbsp; &nbsp;URIBL_SC_SURBL <a href="http://perldoc.perl.org/functions/eval.html"><span class="kw3">eval</span></a>:check_uridnsbl<span class="br0">&#40;</span><span class="st0">&#8216;URIBL_SC_SURBL&#8217;</span><span class="br0">&#41;</span><br />
describe &nbsp;URIBL_SC_SURBL Contains a URL listed in the SC SURBL list<br />
tflags &nbsp; &nbsp;URIBL_SC_SURBL net<br />
score &nbsp; &nbsp; URIBL_SC_SURBL <span class="nu0">0.5</span></p>
<p>urirhssub URIBL_WS_SURBL multi.surbl.org. A <span class="nu0">4</span><br />
body &nbsp; &nbsp; &nbsp;URIBL_WS_SURBL <a href="http://perldoc.perl.org/functions/eval.html"><span class="kw3">eval</span></a>:check_uridnsbl<span class="br0">&#40;</span><span class="st0">&#8216;URIBL_WS_SURBL&#8217;</span><span class="br0">&#41;</span><br />
describe &nbsp;URIBL_WS_SURBL Contains a URL listed in the WS SURBL list<br />
tflags &nbsp; &nbsp;URIBL_WS_SURBL net<br />
score &nbsp; &nbsp; URIBL_WS_SURBL <span class="nu0">1.5</span></p>
<p>urirhssub URIBL_PH_SURBL multi.surbl.org. A <span class="nu0">8</span><br />
body &nbsp; &nbsp; &nbsp;URIBL_PH_SURBL <a href="http://perldoc.perl.org/functions/eval.html"><span class="kw3">eval</span></a>:check_uridnsbl<span class="br0">&#40;</span><span class="st0">&#8216;URIBL_PH_SURBL&#8217;</span><span class="br0">&#41;</span><br />
describe &nbsp;URIBL_PH_SURBL Contains a URL listed in the PH SURBL list<br />
tflags &nbsp; &nbsp;URIBL_PH_SURBL net<br />
score &nbsp; &nbsp; URIBL_PH_SURBL <span class="nu0">1.5</span></p>
<p>urirhssub URIBL_OB_SURBL multi.surbl.org. A <span class="nu0">16</span><br />
body &nbsp; &nbsp; &nbsp;URIBL_OB_SURBL <a href="http://perldoc.perl.org/functions/eval.html"><span class="kw3">eval</span></a>:check_uridnsbl<span class="br0">&#40;</span><span class="st0">&#8216;URIBL_OB_SURBL&#8217;</span><span class="br0">&#41;</span><br />
describe &nbsp;URIBL_OB_SURBL Contains a URL listed in the OB SURBL list<br />
tflags &nbsp; &nbsp;URIBL_OB_SURBL net<br />
score &nbsp; &nbsp; URIBL_OB_SURBL <span class="nu0">1.5</span></p>
<p>urirhssub URIBL_AB_SURBL multi.surbl.org. A <span class="nu0">32</span><br />
body &nbsp; &nbsp; &nbsp;URIBL_AB_SURBL <a href="http://perldoc.perl.org/functions/eval.html"><span class="kw3">eval</span></a>:check_uridnsbl<span class="br0">&#40;</span><span class="st0">&#8216;URIBL_AB_SURBL&#8217;</span><span class="br0">&#41;</span><br />
describe &nbsp;URIBL_AB_SURBL Contains a URL listed in the AB SURBL list<br />
tflags &nbsp; &nbsp;URIBL_AB_SURBL net<br />
score &nbsp; &nbsp; URIBL_AB_SURBL <span class="nu0">1.9</span></p>
<p>urirhssub URIBL_BLACK multi.uribl.com. A <span class="nu0">2</span><br />
body URIBL_BLACK <a href="http://perldoc.perl.org/functions/eval.html"><span class="kw3">eval</span></a>:check_uridnsbl<span class="br0">&#40;</span><span class="st0">&#8216;URIBL_BLACK&#8217;</span><span class="br0">&#41;</span><br />
describe URIBL_BLACK Contains an URL listed in the URIBL blacklist<br />
tflags URIBL_BLACK net<br />
score URIBL_BLACK <span class="nu0">2.0</span></div>
<p>You can adjust scores, to fit your server&#8217;s needs. With such scores, as shown below, in my server simple URL spam messages gets A BIG score (about 20 points).</p>
<p>If you interested what kind of URLs checks these rules &#8211; there is a <a href="http://www.surbl.org/lists.html">list on SURBL website</a></p>
<p><strong>Checking config</strong></p>
<p>To check for typos or other config related errors use <small> lint</small> parameter in SA</p>
<div class="dean_ch" style="white-space: nowrap;">spamassassin &nbsp;lint</div>
<p>To check newly written rules &#8211; get a spam mail with URL, save it as TXT or EML file and execute SA with parameters:</p>
<div class="dean_ch" style="white-space: nowrap;">spamassassin -D &nbsp;lint &lt; spam_mail.eml</div>
<p>At the end of output you should see something like this:</p>
<pre>Content preview:  If diseases show themselves, it is time to click on our
site http://xxx.xxxx.xxx/ If diseases show themselves, it is time
to click on our site http://xxx.xxxx.xxx/ [...]

Content analysis details:   (22.5 points, 4.7 required)

pts rule name              description

0.1 FORGED_RCVD_HELO       Received: contains a forged HELO
0.5 HTML_40_50             BODY: Message is 40% to 50% HTML
0.0 HTML_MESSAGE           BODY: HTML included in message
3.5 BAYES_99               BODY: Bayesian spam probability is 99 to 100%
[score: 1.0000]
1.6 RCVD_IN_BL_SPAMCOP_NET RBL: Received via a relay in bl.spamcop.net
[Blocked - see ]
3.9 RCVD_IN_XBL            RBL: Received via a relay in Spamhaus XBL
[201.235.56.232 listed in zen.spamhaus.org]
0.0 RCVD_IN_PBL            RBL: Received via a relay in Spamhaus PBL
[201.235.56.232 listed in zen.spamhaus.org]
2.0 URIBL_BLACK            Contains an URL listed in the URIBL blacklist
[URIs: xxxx.xxx]
0.5 URIBL_SC_SURBL         Contains a URL listed in the SC SURBL list
[URIs: xxxx.xxx]
1.9 URIBL_AB_SURBL         Contains a URL listed in the AB SURBL list
[URIs: xxxx.xxx]
1.5 URIBL_JP_SURBL         Contains a URL listed in the JP SURBL list
[URIs: xxxx.xxx]
1.5 URIBL_WS_SURBL         Contains a URL listed in the WS SURBL list
[URIs: xxxx.xxx]
1.5 URIBL_OB_SURBL         Contains a URL listed in the OB SURBL list
[URIs: xxxx.xxx]
4.0 AWL                    AWL: From: address is in the auto white-list</pre>
<p>Also you can read my erlier article about <a href="Writing-Spamassassin-custom-rules-howto.html">writing custom rulesets on spamassassin</a></p>
]]></content:encoded>
			<wfw:commentRss>http://experience.masalas.org/admin/fighting-url-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Backup partition</title>
		<link>http://experience.masalas.org/admin/backup-partition/</link>
		<comments>http://experience.masalas.org/admin/backup-partition/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 17:01:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Admin]]></category>

		<guid isPermaLink="false">http://experience.masalas.org/Backup-entire-partition-in-Linux.html</guid>
		<description><![CDATA[Just a link to remember. If you want to backup your entire partition using dd:
Creating a hard drive backup directly to another hard drive
Also, very useful boot cd with live linux and utility partimage: System rescue CD
]]></description>
			<content:encoded><![CDATA[<p>Just a link to remember. If you want to backup your entire partition using dd:</p>
<p><a href="http://wiki.linuxquestions.org/wiki/Dd#Creating_a_hard_drive_backup_directly_to_another_hard_drive">Creating a hard drive backup directly to another hard drive</a></p>
<p>Also, very useful boot cd with live linux and utility partimage: <a href="http://www.sysresccd.org/Main_Page">System rescue CD</a></p>
]]></content:encoded>
			<wfw:commentRss>http://experience.masalas.org/admin/backup-partition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using GPG in cron</title>
		<link>http://experience.masalas.org/admin/gpg-in-cron/</link>
		<comments>http://experience.masalas.org/admin/gpg-in-cron/#comments</comments>
		<pubDate>Mon, 11 Feb 2008 11:09:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Admin]]></category>

		<guid isPermaLink="false">http://experience.masalas.org/GPG-decoding-crontab-enviroment.html</guid>
		<description><![CDATA[I have data recieved from ftp, which is encoded using GnuPG software.
To get files nightly, I used cron task scheduler. But there were problem when decoding gpg files (when ran  shell script, everything went ok, but when cron initialised, no decryption were done).
This is a shell script:
gpgdir=/path/to/recieved/gpg/files/
for i in `find $gpgdir -name &#8216;*.gpg&#8217; &#160;-type [...]]]></description>
			<content:encoded><![CDATA[<p>I have data recieved from ftp, which is encoded using <a href="http://www.gnupg.org">GnuPG</a> software.</p>
<p>To get files nightly, I used cron task scheduler. But there were problem when decoding gpg files (when ran  shell script, everything went ok, but when cron initialised, no decryption were done).<br />
This is a shell script:</p>
<div class="dean_ch" style="white-space: nowrap;"><span class="re2">gpgdir=</span>/path/to/recieved/gpg/files/</p>
<p><span class="kw1">for</span> i <span class="kw1">in</span> `<span class="kw2">find</span> <span class="re1">$gpgdir</span> -name <span class="st0">&#8216;*.gpg&#8217;</span> &nbsp;-<span class="kw3">type</span> f -maxdepth <span class="nu0">1</span>` ; <span class="kw1">do</span><br />
<span class="kw3">echo</span> <span class="st0">&#8216;thepassword&#8217;</span> | /usr&amp;amp;/bin&amp;amp;/gpg &nbsp;passphrase-fd <span class="nu0">0</span> -o $<span class="br0">&#123;</span>i%.*<span class="br0">&#125;</span> -d <span class="re1">$i</span><br />
<span class="kw1">done</span><br />
&nbsp;</div>
<p>As you can see, script finds all *.gpg files in given directory, then passes file by file to gpg to decode files.<br />
But it does not work when executed with cron.</p>
<p>After some debugging, found such error:</p>
<div class="dean_ch" style="white-space: nowrap;">gpg: fatal: cannot open /dev/tty</div>
<p>So, gpg tries to open tty, but in cron enviroment there is no access to tty. So found out switch to gpg <small> no-tty</small>.</p>
<p>This is the final, working excerpt from my script:</p>
<div class="dean_ch" style="white-space: nowrap;"><span class="re2">gpgdir=</span>/path/to/recieved/gpg/files/</p>
<p><span class="kw1">for</span> i <span class="kw1">in</span> `<span class="kw2">find</span> <span class="re1">$gpgdir</span> -name <span class="st0">&#8216;*.gpg&#8217;</span> &nbsp;-<span class="kw3">type</span> f -maxdepth <span class="nu0">1</span>` ; <span class="kw1">do</span><br />
<span class="kw3">echo</span> <span class="st0">&#8216;thepassword&#8217;</span> | /usr/bin/gpg &nbsp;no-tty &nbsp;passphrase-fd <span class="nu0">0</span> -o $<span class="br0">&#123;</span>i%.*<span class="br0">&#125;</span> -d <span class="re1">$i</span><br />
<span class="kw1">done</span><br />
&nbsp;</div>
<p>P.S. Echoeing password through pipe to give it as parameter to gpg is not secure, if your server is accesed by other users. At good timing, user can get your password. As my server accessed only in trusted LAN, and no other users use shell, I&#8217;ve made that method.</p>
]]></content:encoded>
			<wfw:commentRss>http://experience.masalas.org/admin/gpg-in-cron/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crontab paths</title>
		<link>http://experience.masalas.org/admin/crontab-paths/</link>
		<comments>http://experience.masalas.org/admin/crontab-paths/#comments</comments>
		<pubDate>Tue, 11 Dec 2007 13:19:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Admin]]></category>

		<guid isPermaLink="false">http://experience.masalas.org/crontab-allways-use-full-paths.html</guid>
		<description><![CDATA[If you are using linux crontab to automate some processes, allways use full path to scripts or other executable files.
Recently, I was writing one bash script, which uses munpackutility. Tested it &#8211; worked with no problems. After adding script to crontab, to do this routine daily, I&#8217;ve noticed, that something is wrong.
Problem was, that munpack [...]]]></description>
			<content:encoded><![CDATA[<p>If you are using linux crontab to automate some processes, allways use full path to scripts or other executable files.</p>
<p>Recently, I was writing one bash script, which uses <a href="http://www.bga.org/~lessem/psyc5112/usail/mail/mime/munpack.html">munpack</a>utility. Tested it &#8211; worked with no problems. After adding script to crontab, to do this routine daily, I&#8217;ve noticed, that something is wrong.</p>
<p>Problem was, that munpack was in <small>/usr/local/bin/bin/munpack</small> directory, and there was created symlink <small>/usr/local/bin/munpack</small>.</p>
<p>So, crontab didn&#8217;t follow symlink.</p>
]]></content:encoded>
			<wfw:commentRss>http://experience.masalas.org/admin/crontab-paths/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Bash file names</title>
		<link>http://experience.masalas.org/admin/bash-file-names/</link>
		<comments>http://experience.masalas.org/admin/bash-file-names/#comments</comments>
		<pubDate>Mon, 01 Oct 2007 12:39:19 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Admin]]></category>

		<guid isPermaLink="false">http://experience.masalas.org/bash-spaces-in-file-name-path-one-command.html</guid>
		<description><![CDATA[Recently I was writing Bash shell script, which moves files and directories from one server to other. As files and folders are created by end users, there are problems about file names.
Users create folders with spaces e.g. very important and Bash script interprets it as two separate folders: very and important when my script finds [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I was writing Bash shell script, which moves files and directories from one server to other. As files and folders are created by end users, there are problems about file names.</p>
<p>Users create folders with spaces e.g. <small>very important</small> and Bash script interprets it as two separate folders: <small>very</small> and <small>important</small> when my script finds all folders and starts to move them, I get error on folders with spaces. This is the command:</p>
<div class="dean_ch" style="white-space: nowrap;"><span class="kw2">mv</span> -fv `<span class="kw2">find</span> /mnt/volume/tomove -mtime <span class="nu0">+14</span>` /path/tomovewhere</div>
<p>This piece of code moves files and folders older than 14 days from <small>/mnt/volume/tomove</small> to <small>/path/tomovewhere</small></p>
<p>So, if there is folder <small>/mnt/volume/tomove/very important</small><br />
Bash tries to move <small>/mnt/volume/tomove/very</small> and <small>important</small></p>
<p>To interpret directories as one command you will need to add this variable to your script:</p>
<div class="dean_ch" style="white-space: nowrap;"><span class="re2">IFS=</span>$<span class="st0">&#8216;<span class="es0">\n</span>&#8216;</span></div>
<p>$IFS is internal field separator, this variable determines how Bash recognizes fields, or word boundaries, when it interprets character strings.<br />
You can find more info with samples here:<br />
<a href="http://tldp.org/LDP/abs/html/internalvariables.html">http://tldp.org/LDP/abs/html/internalvariables.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://experience.masalas.org/admin/bash-file-names/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gentoo pwconv</title>
		<link>http://experience.masalas.org/admin/gentoo-pwconv/</link>
		<comments>http://experience.masalas.org/admin/gentoo-pwconv/#comments</comments>
		<pubDate>Tue, 08 May 2007 10:55:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Admin]]></category>

		<guid isPermaLink="false">http://experience.masalas.org/Gentoo-update-crontab-doesnt-work.html</guid>
		<description><![CDATA[After Gentoo update (the big one:) crontab stopped working to non-root users.
I use crontab as postgres user to make my daily database backups. After checking messages log in /var/log/messages I found this line:
cron: Authentication service cannot retrieve authentication info.
Problem is that after pam update something wrong went to passwd/shadow files and postgres user had wrong [...]]]></description>
			<content:encoded><![CDATA[<p>After Gentoo update (the big one:) crontab stopped working to non-root users.<br />
I use crontab as postgres user to make my <a href="Backup-PostgreSQL-MySQL.html">daily database backups</a>. After checking messages log in <small>/var/log/messages</small> I found this line:</p>
<pre>cron: Authentication service cannot retrieve authentication info.</pre>
<p>Problem is that after pam update something wrong went to passwd/shadow files and postgres user had wrong entry. To fix this, simply use command in root shell:</p>
<div class="dean_ch" style="white-space: nowrap;">~ <span class="re3"># &nbsp;pwconv</span></div>
<p>From man page of pwconv:</p>
<p><small>pwconv</small> creates shadow from passwd and an optionally existing shadow.<br />
So pwconv fixes this problem, and cron for postgres works again.<br />
The other problem, why postgres or other non-root user crons doesnt run my occur if you don&#8217;t add those users to cron group. To add postgres user to cron group use this command:</p>
<div class="dean_ch" style="white-space: nowrap;">~ <span class="re3"># &nbsp;gpasswd -a postgres cron</span></div>
<p>More info about shadow/passwd problem after update you can read on gentoo forums:<br />
<a href="http://forums.gentoo.org/viewtopic-t-357762-highlight-pwconv+postgres.html" target="_blank">pwconv+postgres.html</a><br />
<a href="http://forums.gentoo.org/viewtopic-t-361163-highlight-cron+authentication+service+retrieve+authentication.html" target="_blank">cron+authentication+service+retrieve+authentication.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://experience.masalas.org/admin/gentoo-pwconv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu TP600</title>
		<link>http://experience.masalas.org/admin/ubuntu-tp600/</link>
		<comments>http://experience.masalas.org/admin/ubuntu-tp600/#comments</comments>
		<pubDate>Tue, 10 Apr 2007 11:39:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Admin]]></category>

		<guid isPermaLink="false">http://experience.masalas.org/Ubuntu-linux-old-laptop-ThinkPad-600.html</guid>
		<description><![CDATA[I have an old laptop IBM ThinkPad 600. Recently, installed Ubuntu linux on it. There is a little problem. New Ubuntu 6.10 installation works as live cd. So, you boot from live cd, then install it to your PC.
Problem is, that in old laptop there is only 128MB ram, and during ubuntu boot, it hangs [...]]]></description>
			<content:encoded><![CDATA[<p>I have an old laptop IBM ThinkPad 600. Recently, installed Ubuntu linux on it. There is a little problem. New Ubuntu 6.10 installation works as live cd. So, you boot from live cd, then install it to your PC.</p>
<p>Problem is, that in old laptop there is only 128MB ram, and during ubuntu boot, it hangs (not enough ram).<br />
The sollution is to download ubuntu-6.10-alternate-i386.iso. It&#8217;s alternate installation cd, where you can choose text based install.</p>
<p>There are also two good resources about ThinkPad 600x problems and their sollutions on Ubuntu:<br />
<a href="http://ubuntuforums.org/showthread.php?t=188736" target="_blank">http://ubuntuforums.org/showthread.php?t=188736</a><br />
<a href="http://www.mueller.ch.vu/misc/tp600e_en.html" target="_blank">http://www.mueller.ch.vu/misc/tp600e_en.html</a><br />
Also, you can check thread on ubuntuforums, where I made a post about <strong>&#8220;Getting Error After Disc Loads to First Menu&#8221;</strong><br />
<a href="http://ubuntuforums.org/showthread.php?p=2337274" target="_blank">http://ubuntuforums.org/showthread.php?p=2337274</a></p>
]]></content:encoded>
			<wfw:commentRss>http://experience.masalas.org/admin/ubuntu-tp600/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dpi problems</title>
		<link>http://experience.masalas.org/admin/dpi-problems/</link>
		<comments>http://experience.masalas.org/admin/dpi-problems/#comments</comments>
		<pubDate>Tue, 13 Feb 2007 14:48:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Admin]]></category>

		<guid isPermaLink="false">http://experience.masalas.org/kubuntu-kdm-kde-small-fonts-problem.html</guid>
		<description><![CDATA[Sometimes, in kde occurs such a problem. All fonts in menu, applications and so one becomes very small. It occured after my monitor downgrade (resolution changed from 1600&#215;1280 to 1024&#215;768). At first, I tried to increase font size in KDE control center:
( Start (K :) -&#62; Preferences -&#62; Control Center -&#62;Appearence &#38; Themes -&#62; Fonts)
But [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes, in kde occurs such a problem. All fonts in menu, applications and so one becomes very small. It occured after my monitor downgrade (resolution changed from 1600&#215;1280 to 1024&#215;768). At first, I tried to increase font size in KDE control center:</p>
<pre>( Start (K :) -&gt; Preferences -&gt; Control Center -&gt;Appearence &amp; Themes -&gt; Fonts)</pre>
<p>But it didn&#8217;t work with non-kde apps.</p>
<p>The sollution is to change dpi in kdm options. Edit <small>/etc/kde3/kdm/kdmrc</small> and change line <small>ServerArgsLocal=-nolisten tcp</small> to</p>
<p><small>ServerArgsLocal=-nolisten tcp -dpi 100HTH</small> .<br />
And restart your kdm (Ctrl+Alt+Backspace)</p>
<p>In my sample, there is 100dpi otion. If result doesn&#8217;t satisfy your needs, play a little with this number (75, 170 etc.)</p>
]]></content:encoded>
			<wfw:commentRss>http://experience.masalas.org/admin/dpi-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SA rules</title>
		<link>http://experience.masalas.org/admin/sa-rules/</link>
		<comments>http://experience.masalas.org/admin/sa-rules/#comments</comments>
		<pubDate>Tue, 21 Nov 2006 15:38:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Admin]]></category>

		<guid isPermaLink="false">http://experience.masalas.org/Writing-Spamassassin-custom-rules-howto.html</guid>
		<description><![CDATA[If you need to write custom rules to spamassassin and trere are a few of them. For example, you want to get rid of some spam which goes through spamassassin and mail&#8217;s score almost reaches score, to be marked as spam. Simply add rules to /etc/mail/spamassassin/local.cf
For example:
body &#160; &#160; &#160; PASTAS_OPT /Re.move y.ur e.mail:/i
score &#160; [...]]]></description>
			<content:encoded><![CDATA[<p>If you need to write custom rules to spamassassin and trere are a few of them. For example, you want to get rid of some spam which goes through spamassassin and mail&#8217;s score almost reaches score, to be marked as spam. Simply add rules to <small>/etc/mail/spamassassin/local.cf</small></p>
<p>For example:</p>
<div class="dean_ch" style="white-space: nowrap;">body &nbsp; &nbsp; &nbsp; PASTAS_OPT /Re.move <a href="http://perldoc.perl.org/functions/y.html"><span class="kw3">y</span></a>.ur e.mail:/i<br />
score &nbsp; &nbsp; &nbsp;PASTAS_OPT<br />
describe &nbsp; PASTAS_OPT E-mail removal obfuscated</div>
<p>In example there is rule PASTAS_OPT which adds score 1 to e-mail if there is obfuscated sentence in message body Remove your email. The dot symbol match any character (except newline), so sentences like &#8220;Re-move y our e~mail:&#8221; will be found, and score will be increased. Symbol &#8220;i&#8221; means that sentence (string) is case insensitive. All rules are written in perl regexp form. More abour regexps you can find here: <a href="http://www.perl.com/doc/manual/html/pod/perlre.html" target="_blank">http://www.perl.com/doc/manual/html/pod/perlre.html</a><br />
Do not add big scores to one rule. Better write more rules with smaller score.<br />
After custom spmassassin rules are written, check for correct syntax:</p>
<div class="dean_ch" style="white-space: nowrap;">spamassassin &nbsp;lint</div>
<p>OR</p>
<div class="dean_ch" style="white-space: nowrap;">spamassassin -D &nbsp;lint</div>
<p>for more info on errors</p>
<p>However spammers find more and more typos and methods of obfuscation to bypass such rules. So I recommend you to use Rules Du Jour and sa-update scripts. There are both in gentoo portage. Allso when you get spam, send those spam mails to your mail server (in examle /tmp/spam/) and train spamassassin&#8217;s bayesian filter:</p>
<div class="dean_ch" style="white-space: nowrap;">sa-learn &nbsp;spam /tmp/spam/*</div>
<p>Allso it is important to train bayesian filter with good e-mails. Upload good emails to server (in examle /tmp/ham/) and train filter, showing how good mails looks like:</p>
<div class="dean_ch" style="white-space: nowrap;">sa-learn &nbsp;ham/tmp/ham/*</div>
<p>Finaly, restart spamd or amavisd (depends on your mail/antispam configuration)</p>
]]></content:encoded>
			<wfw:commentRss>http://experience.masalas.org/admin/sa-rules/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>USB for win98SE</title>
		<link>http://experience.masalas.org/admin/usb-win98se/</link>
		<comments>http://experience.masalas.org/admin/usb-win98se/#comments</comments>
		<pubDate>Wed, 27 Sep 2006 15:22:14 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Admin]]></category>

		<guid isPermaLink="false">http://experience.masalas.org/USB-win98SE.html</guid>
		<description><![CDATA[Windows 98SE supports USB hotplugging, but does not have generic usb storage driver. Recently I found sollution here: http://www.technical-assistance.co.uk/kb/usbmsd98.php.
Just download that generic driver and install. I did testing on some usb keys and dictophone olympus ws-300m. It worked like a charm :)
]]></description>
			<content:encoded><![CDATA[<p>Windows 98SE supports USB hotplugging, but does not have generic usb storage driver. Recently I found sollution here: <a href="http://www.technical-assistance.co.uk/kb/usbmsd98.php" mce_href="http://www.technical-assistance.co.uk/kb/usbmsd98.php" target="_blank">http://www.technical-assistance.co.uk/kb/usbmsd98.php</a>.<br />
Just download that generic driver and install. I did testing on some usb keys and dictophone olympus ws-300m. It worked like a charm :)</p>
]]></content:encoded>
			<wfw:commentRss>http://experience.masalas.org/admin/usb-win98se/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
