<?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>Debian Tutorials</title>
	<atom:link href="http://www.debiantutorials.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.debiantutorials.net</link>
	<description>Copy/Paste tutorials for Debian Linux</description>
	<lastBuildDate>Sat, 27 Feb 2010 15:23:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing the GeoIP Apache module</title>
		<link>http://www.debiantutorials.net/installing-the-geoip-apache-module/</link>
		<comments>http://www.debiantutorials.net/installing-the-geoip-apache-module/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 15:22:09 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[geoip]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=244</guid>
		<description><![CDATA[This module allows you to determine which country, region, city, postal code, area code the visitor is coming from.
1. Install the module
apt-get install libapache2-mod-geoip

2. Restart Apache
/etc/init.d/apache2 restart

3. Create a new PHP file to test the module (pico /var/www/test.php or any file you can access on your server)
&#60;?php
print_r($_SERVER);
?&#62;

4. Navigate to the new file in a web [...]]]></description>
			<content:encoded><![CDATA[<p>This module allows you to determine which country, region, city, postal code, area code the visitor is coming from.</p>
<p>1. Install the module</p>
<p><code>apt-get install libapache2-mod-geoip<br />
</code><span id="more-244"></span></p>
<p>2. Restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
<p>3. Create a new PHP file to test the module (pico /var/www/test.php or any file you can access on your server)</p>
<p><code>&lt;?php<br />
print_r($_SERVER);<br />
?&gt;<br />
</code></p>
<p>4. Navigate to the new file in a web browser (http://yourserver/test.php)</p>
<p>The response will be something like this:</p>
<p><code>Array<br />
(<br />
    [GEOIP_COUNTRY_CODE] => GB<br />
    [GEOIP_COUNTRY_NAME] => United Kingdom<br />
	...<br />
)<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.net/installing-the-geoip-apache-module/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing and configuring PPTP VPN server on lenny</title>
		<link>http://www.debiantutorials.net/installing-and-configuring-pptp-vpn-server-on-lenny/</link>
		<comments>http://www.debiantutorials.net/installing-and-configuring-pptp-vpn-server-on-lenny/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 22:21:36 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[pptp]]></category>
		<category><![CDATA[vpn]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/installing-and-configuring-pptp-vpn-server-on-lenny/</guid>
		<description><![CDATA[If you would like to setup a Virtual Private Network (VPN) for Windows clients, PPTP is a great choice. It's easy to set up on the server and you don't need any additional software for the Windows clients to connect.
1. Install the required packages
apt-get install pptpd

2. Configure the IP range assigned to clients (pico /etc/pptpd.conf)
localip [...]]]></description>
			<content:encoded><![CDATA[<p>If you would like to setup a Virtual Private Network (VPN) for Windows clients, PPTP is a great choice. It's easy to set up on the server and you don't need any additional software for the Windows clients to connect.</p>
<p>1. Install the required packages</p>
<p><code>apt-get install pptpd<br />
</code><span id="more-237"></span></p>
<p>2. Configure the IP range assigned to clients (pico /etc/pptpd.conf)</p>
<p><code>localip 192.168.1.2<br />
remoteip 192.168.1.10-20<br />
</code></p>
<p><em>Using this config the clients are assigned any IP address between and including 192.168.1.10 and 192.168.1.20.</em></p>
<p>3. Restart the PPTP daemon</p>
<p><code>/etc/init.d/pptpd restart<br />
</code></p>
<p>4. Create a user allowed to connect (pico /etc/ppp/chap-secrets)</p>
<p><code>user1 pptpd secretpassword *<br />
</code></p>
<p><em>Passwords are not encrypted. This allows the a user with the username: user1 and the password: secretpassword to login from any ip address.</em></p>
<p>5. Enable IP forward at startup to allow the VPN clients to connect to the server's local network. (pico /etc/sysctl.conf)</p>
<p><code>net.ipv4.ip_forward=1<br />
</codE></p>
<p>Also run this command to activate the IP forward instantly:</p>
<p><code>echo 1 > /proc/sys/net/ipv4/ip_forward<br />
</code></p>
<p>6. Create a routing rule to allow the VPN clients to route network traffic through the server.</p>
<p><code>iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE<br />
</code></p>
<p>Read this tutorial to learn how to create iptables rules on startup:<br />
<a href="http://www.debiantutorials.net/loading-iptables-rules-on-startup/">Loading iptables rules on startup</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.net/installing-and-configuring-pptp-vpn-server-on-lenny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install XCache</title>
		<link>http://www.debiantutorials.net/install-xcache/</link>
		<comments>http://www.debiantutorials.net/install-xcache/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 23:08:53 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[lenny]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xcache]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=233</guid>
		<description><![CDATA[XCache is a fast, stable  PHP opcode cacher that has been tested and is now running on production servers under high load. It overcomes a lot of problems that has been with other competing opcachers such as being able to be used with new PHP versions.
1. Installing the XCache package
apt-get install php5-xcache

2. Restart Apache
/etc/init.d/apache2 [...]]]></description>
			<content:encoded><![CDATA[<p>XCache is a fast, stable  PHP opcode cacher that has been tested and is now running on production servers under high load. It overcomes a lot of problems that has been with other competing opcachers such as being able to be used with new PHP versions.</p>
<p>1. Installing the XCache package</p>
<p><code>apt-get install php5-xcache<br />
</code><span id="more-233"></span></p>
<p>2. Restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
<p>That's it. XCache is now installed.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.net/install-xcache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blacklisting e-mail addresses using MailScanner</title>
		<link>http://www.debiantutorials.net/blacklisting-e-mail-addresses-using-mailscanner/</link>
		<comments>http://www.debiantutorials.net/blacklisting-e-mail-addresses-using-mailscanner/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 21:53:30 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Mail]]></category>
		<category><![CDATA[mailscanner]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=229</guid>
		<description><![CDATA[1. Create a new file containing the blacklisted e-mail addresses (pico /etc/MailScanner/rules/spam.blacklist.rules)
FromOrTo:	user1@domain.com	yes
FromOrTo:	user2@domain.net	yes
FromOrTo:	default			no

2. Configure MailScanner to handle all messages in the blacklist as spam (pico /etc/MailScanner/MailScanner.conf)
Replace this line:
Is Definitely Spam = no
&#160;
with this:
Is Definitely Spam = %rules-dir%/spam.blacklist.rules

3. Restart MailScanner
/etc/init.d/mailscanner restart

]]></description>
			<content:encoded><![CDATA[<p>1. Create a new file containing the blacklisted e-mail addresses (pico /etc/MailScanner/rules/spam.blacklist.rules)</p>
<p><code>FromOrTo:	user1@domain.com	yes<br />
FromOrTo:	user2@domain.net	yes<br />
FromOrTo:	default			no<br />
</code><span id="more-229"></span></p>
<p>2. Configure MailScanner to handle all messages in the blacklist as spam (pico /etc/MailScanner/MailScanner.conf)</p>
<p><code>Replace this line:<br />
Is Definitely Spam = no<br />
&nbsp;<br />
with this:<br />
Is Definitely Spam = %rules-dir%/spam.blacklist.rules<br />
</code></p>
<p>3. Restart MailScanner</p>
<p><code>/etc/init.d/mailscanner restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.net/blacklisting-e-mail-addresses-using-mailscanner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing suPHP</title>
		<link>http://www.debiantutorials.net/installing-suphp/</link>
		<comments>http://www.debiantutorials.net/installing-suphp/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 22:05:02 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[suphp]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=223</guid>
		<description><![CDATA[suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter.
1. Install suPHP
apt-get install libapache2-mod-suphp

2. Disable the php5 apache module
a2dismod php5

3. [...]]]></description>
			<content:encoded><![CDATA[<p>suPHP is a tool for executing PHP scripts with the permissions of their owners. It consists of an Apache module (mod_suphp) and a setuid root binary (suphp) that is called by the Apache module to change the uid of the process executing the PHP interpreter.</p>
<p>1. Install suPHP</p>
<p><code>apt-get install libapache2-mod-suphp<br />
</code><span id="more-223"></span></p>
<p>2. Disable the php5 apache module</p>
<p><code>a2dismod php5<br />
</code></p>
<p>3. Restart Apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
<p>4. You can test if suPHP is working correctly by creating a php file containing the following lines:</p>
<p><code>&lt;?php<br />
system('id');<br />
?&gt;<br />
</code></p>
<p>The script will return user/group id and name. Make sure you set the file owner to a user/group with id greater than 99.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.net/installing-suphp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scan your web server for vulnerabilities with Nikto</title>
		<link>http://www.debiantutorials.net/scan-your-web-server-for-vulnerabilities-with-nikto/</link>
		<comments>http://www.debiantutorials.net/scan-your-web-server-for-vulnerabilities-with-nikto/#comments</comments>
		<pubDate>Mon, 28 Dec 2009 09:49:56 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[nikto]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=219</guid>
		<description><![CDATA[Nikto is a web server scanner which performs comprehensive tests against web servers for multiple items, including over 3500 potentially dangerous files/CGIs, versions on over 900 servers, and version specific problems on over 250 servers.
1. Install Nikto
apt-get install nikto

2. Test the local web server
nikto -h localhost

Nikto also supports testing on different ports. Click here for [...]]]></description>
			<content:encoded><![CDATA[<p>Nikto is a web server scanner which performs comprehensive tests against web servers for multiple items, including over 3500 potentially dangerous files/CGIs, versions on over 900 servers, and version specific problems on over 250 servers.</p>
<p>1. Install Nikto</p>
<p><code>apt-get install nikto<br />
</code><span id="more-219"></span></p>
<p>2. Test the local web server</p>
<p><code>nikto -h localhost<br />
</code></p>
<p>Nikto also supports testing on different ports. <a href="http://cirt.net/nikto2-docs/usage.html" target="_blank">Click here for Nikto usage information</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.net/scan-your-web-server-for-vulnerabilities-with-nikto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing and configuring Squid proxy server</title>
		<link>http://www.debiantutorials.net/installing-and-configuring-squid-proxy-server/</link>
		<comments>http://www.debiantutorials.net/installing-and-configuring-squid-proxy-server/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 23:05:25 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[squid]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/installing-and-configuring-squid-proxy-server/</guid>
		<description><![CDATA[Squid is a caching proxy supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.
1. Install the Squid package
apt-get install squid

2. Allow your ip network to use the proxy server (pico /etc/squid/squid.conf). Append lines [...]]]></description>
			<content:encoded><![CDATA[<p>Squid is a caching proxy supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Squid has extensive access controls and makes a great server accelerator.</p>
<p>1. Install the Squid package</p>
<p><code>apt-get install squid<br />
</code><span id="more-218"></span></p>
<p>2. Allow your ip network to use the proxy server (pico /etc/squid/squid.conf). Append lines similar to these to your config </p>
<p>file:</p>
<p><code>acl mynetwork src 192.168.1.0/255.255.255.0<br />
http_access allow mynetwork<br />
</code></p>
<p><em>Replace 192.168.1.0/255.255.255.0 with the network that should be able to use the proxy.</em></p>
<p>3. Don't forward client ip information (optional)</p>
<p><code>forwarded_for off<br />
</code></p>
<p>4. Restart the daemon</p>
<p><code>/etc/init.d/squid restart<br />
</code></p>
<p>5. Configure your web browser or application your would like to use the proxy server to connect to serverip at port 3128.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.net/installing-and-configuring-squid-proxy-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple load balancing using Pound</title>
		<link>http://www.debiantutorials.net/simple-load-balancing-using-pound/</link>
		<comments>http://www.debiantutorials.net/simple-load-balancing-using-pound/#comments</comments>
		<pubDate>Mon, 21 Dec 2009 20:30:47 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[load balancing]]></category>
		<category><![CDATA[pound]]></category>
		<category><![CDATA[proxy]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=213</guid>
		<description><![CDATA[The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s). Pound was developed to enable distributing the load among several Web-servers and to allow for a convenient SSL wrapper for those Web servers that do not offer it natively.
1. Install the pound package
apt-get install pound

2. Configure the load balancing. Replace [...]]]></description>
			<content:encoded><![CDATA[<p>The Pound program is a reverse proxy, load balancer and HTTPS front-end for Web server(s). Pound was developed to enable distributing the load among several Web-servers and to allow for a convenient SSL wrapper for those Web servers that do not offer it natively.</p>
<p>1. Install the pound package</p>
<p><code>apt-get install pound<br />
</code><span id="more-213"></span></p>
<p>2. Configure the load balancing. Replace everything below and including ListenHTTP with something like this: (pico /etc/pound/pound.cfg)</p>
<p><code>ListenHTTP<br />
&nbsp;&nbsp;Address 0.0.0.0<br />
&nbsp;&nbsp;Port 80<br />
&nbsp;&nbsp;xHTTP 0<br />
&nbsp;<br />
&nbsp;&nbsp;Service<br />
&nbsp;&nbsp;&nbsp;&nbsp;HeadRequire "Host: .*www.google.com.*"<br />
&nbsp;<br />
&nbsp;&nbsp;&nbsp;&nbsp;BackEnd<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Address 209.85.227.103<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Port 80<br />
&nbsp;&nbsp;&nbsp;&nbsp;End<br />
&nbsp;&nbsp;&nbsp;&nbsp;BackEnd<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Address 209.85.227.104<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Port 80<br />
&nbsp;&nbsp;&nbsp;&nbsp;End<br />
&nbsp;&nbsp;&nbsp;&nbsp;BackEnd<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Address 209.85.227.105<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Port 80<br />
&nbsp;&nbsp;&nbsp;&nbsp;End<br />
&nbsp;&nbsp;&nbsp;&nbsp;BackEnd<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Address 209.85.227.106<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Port 80<br />
&nbsp;&nbsp;&nbsp;&nbsp;End<br />
&nbsp;&nbsp;End<br />
End<br />
</code></p>
<p><em>In this example we'll be listening for www.google.com and forward requests to 4 of Google's web servers/clusters. You can of course replace the domain with one of your own and point it to any servers. The servers can be on different networks, using different platforms and you can even forward different paths to different servers. Ex. www.google.com/apps could be forwarded to 1.2.3.4 while www.google.com is forwarded to 2.3.4.5. <a href="http://www.apsis.ch/pound/" target="_blank">Click here for more details about Pound</a></em> </p>
<p>3. Enable the Pound service (pico /etc/default/pound)</p>
<p><code>startup=1<br />
</code></p>
<p>4. Restart Pound</p>
<p><code>/etc/init.d/pound start<br />
</code></p>
<p>You must point the dns record for www.google.com to your server's IP address. You could use the hosts file to do this or use another domain.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.net/simple-load-balancing-using-pound/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing and configuring MailScanner for virus and spam filtering (Postfix, ClamAV, SpamAssassin, Razor)</title>
		<link>http://www.debiantutorials.net/installing-and-configuring-mailscanner-for-virus-and-spam-filtering-postfix-clamav-spamassassin-razor/</link>
		<comments>http://www.debiantutorials.net/installing-and-configuring-mailscanner-for-virus-and-spam-filtering-postfix-clamav-spamassassin-razor/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 20:57:29 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[clamav]]></category>
		<category><![CDATA[mailscanner]]></category>
		<category><![CDATA[postfix]]></category>
		<category><![CDATA[razor]]></category>
		<category><![CDATA[spamassassin]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=209</guid>
		<description><![CDATA[MailScanner is an e-mail security and anti-spam package for e-mail gateway systems. MailScanner is highly configurable using a very easy-to-use system of rulesets. Virtually every configuration option can, for example, be controlled on a per-user, per-domain or per-IP basis. 
It's assumed that you have already installed and configured Postfix according to this tutorial:
Installing Postfix with [...]]]></description>
			<content:encoded><![CDATA[<p>MailScanner is an e-mail security and anti-spam package for e-mail gateway systems. MailScanner is highly configurable using a very easy-to-use system of rulesets. Virtually every configuration option can, for example, be controlled on a per-user, per-domain or per-IP basis. </p>
<p>It's assumed that you have already installed and configured Postfix according to this tutorial:<br />
<a href="http://www.debiantutorials.net/installing-postfix-with-mysql-backend-and-sasl-for-smtp-authentication/">Installing Postfix with MySql backend and SASL for SMTP authentication</a></p>
<p>1. Install required packages (ClamAV, SpamAssassin, Razor and required libs for MailScanner)</p>
<p><code>apt-get install clamav clamav-base clamav-freshclam libclamav6 spamassassin razor unzip libarchive-zip-perl libconvert-tnef-perl libhtml-parser-perl libmime-tools-perl libmime-perl libcompress-zlib-perl libconvert-binhex-perl libdbd-sqlite3-perl libfilesys-df-perl libsys-syslog-perl libsys-hostname-long-perl libmailtools-perl libole-storage-lite-perl<br />
</code><span id="more-209"></span></p>
<p>2. Download MailScanner</p>
<p><code>wget http://ftp.us.debian.org/debian/pool/main/m/mailscanner/mailscanner_4.74.16-1_all.deb<br />
</code></p>
<p>3. Install MailScanner</p>
<p><code>dpkg -i mailscanner_4.74.16-1_all.deb<br />
</code></p>
<p>4. Enable MailScanner (pico /etc/default/mailscanner)</p>
<p><code>run_mailscanner=1<br />
</code></p>
<p>5. Edit MailScanner configuration (pico /etc/MailScanner/MailScanner.conf)</p>
<p><code>Run As User = postfix<br />
Run As Group = postfix<br />
Incoming Queue Dir = /var/spool/postfix/hold<br />
Outgoing Queue Dir = /var/spool/postfix/incoming<br />
MTA = postfix<br />
Always Include SpamAssassin Report = yes<br />
Send Notices = no<br />
Spam List = RFC-IGNORANT-DSN SORBS-SMTP spamhaus-ZEN spamcop.net CBL<br />
Spam Lists To Reach High Score = 2<br />
High SpamAssassin Score = 8<br />
Rebuild Bayes Every = 86400<br />
Wait During Bayes Rebuild = yes<br />
High Scoring Spam Actions = delete<br />
</code></p>
<p>6. Create razorhome, discover razor servers and register for identify</p>
<p><code>razor-admin -create<br />
razor-admin -register<br />
</code></p>
<p>7. Make Postfix put all messages on hold to allow MailScanner to scan the messages (pico /etc/postfix/main.cf)</p>
<p><code>header_checks = regexp:/etc/postfix/header_checks<br />
</code></p>
<p>8. Create the header checks file referenced by previous line (pico /etc/postfix/header_checks)</p>
<p><code>/^Received:/ HOLD<br />
</code></p>
<p>9. Restart MailScanner and Postfix</p>
<p><code>/etc/init.d/mailscanner restart<br />
postfix reload<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.net/installing-and-configuring-mailscanner-for-virus-and-spam-filtering-postfix-clamav-spamassassin-razor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disable root login to SSH</title>
		<link>http://www.debiantutorials.net/disable-root-login-to-ssh/</link>
		<comments>http://www.debiantutorials.net/disable-root-login-to-ssh/#comments</comments>
		<pubDate>Mon, 09 Nov 2009 20:44:31 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.net/?p=205</guid>
		<description><![CDATA[Allowing root logins to your SSH damon is a big security threat. If the SSH port is open, hackers will probably at some time attempt to brute force your root password. It's a good idea to disable root logins to SSH and instead use a normal user to login and type "su -" to enter [...]]]></description>
			<content:encoded><![CDATA[<p>Allowing root logins to your SSH damon is a big security threat. If the SSH port is open, hackers will probably at some time attempt to brute force your root password. It's a good idea to disable root logins to SSH and instead use a normal user to login and type "su -" to enter the super user shell or sudo to perform tasks that require root privileges.</p>
<p>1. Open the SSH daemon config file and change this line: (pico /etc/ssh/sshd_config)</p>
<p><code>PermitRootLogin no<br />
</code><span id="more-205"></span></p>
<p>2. Restart the SSH daemon</p>
<p><code>/etc/init.d/ssh restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.net/disable-root-login-to-ssh/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
