<?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.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.debiantutorials.com</link>
	<description>Copy/Paste tutorials for Debian based Linux distros</description>
	<lastBuildDate>Tue, 27 Dec 2011 01:15:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Installing PowerDNS with MySql backend</title>
		<link>http://www.debiantutorials.com/installing-powerdns-with-mysql-backend/</link>
		<comments>http://www.debiantutorials.com/installing-powerdns-with-mysql-backend/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 01:15:56 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[Etch]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[powerdns]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=439</guid>
		<description><![CDATA[The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms to all relevant DNS standards documents. Furthermore, PowerDNS interfaces with almost any database. This tutorial has been tested and is working on Debian etch and lenny 1. Install the PowerDNS server and MySql backend using apt [...]]]></description>
			<content:encoded><![CDATA[<p>The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms to all relevant DNS standards documents. Furthermore, PowerDNS interfaces with almost any database.</p>
<p>This tutorial has been tested and is working on Debian etch and lenny</p>
<p>1. Install the PowerDNS server and MySql backend using apt</p>
<p><code>apt-get install pdns-server pdns-backend-mysql<br />
</code><span id="more-439"></span></p>
<p>2. Create a new database (or use existing) and execute the following SQL queries to create the PowerDNS table structure:</p>
<p><code>create table domains (<br />
id		 INT auto_increment,<br />
name		 VARCHAR(255) NOT NULL,<br />
master		 VARCHAR(128) DEFAULT NULL,<br />
last_check	 INT DEFAULT NULL,<br />
type		 VARCHAR(6) NOT NULL,<br />
notified_serial INT DEFAULT NULL,<br />
account         VARCHAR(40) DEFAULT NULL,<br />
primary key (id)<br />
)type=InnoDB;<br />
&nbsp;<br />
CREATE UNIQUE INDEX name_index ON domains(name);<br />
&nbsp;<br />
CREATE TABLE records (<br />
id              INT auto_increment,<br />
domain_id       INT DEFAULT NULL,<br />
name            VARCHAR(255) DEFAULT NULL,<br />
type            VARCHAR(6) DEFAULT NULL,<br />
content         VARCHAR(255) DEFAULT NULL,<br />
ttl             INT DEFAULT NULL,<br />
prio            INT DEFAULT NULL,<br />
change_date     INT DEFAULT NULL,<br />
primary key(id)<br />
)type=InnoDB;<br />
&nbsp;<br />
CREATE INDEX rec_name_index ON records(name);<br />
CREATE INDEX nametype_index ON records(name,type);<br />
CREATE INDEX domain_id ON records(domain_id);<br />
&nbsp;<br />
create table supermasters (<br />
ip VARCHAR(25) NOT NULL,<br />
nameserver VARCHAR(255) NOT NULL,<br />
account VARCHAR(40) DEFAULT NULL<br />
);<br />
</code></p>
<p>3. Configure PowerDNS to use the MySql backend by adding this line into the configuration file (pico /etc/powerdns/pdns.conf)</p>
<p><code>launch=gmysql<br />
</code></p>
<p>4. Configure MySql login information for the PowerDNS server that can read from the tables you created earlier by adding lines similar to these (pico /etc/powerdns/pdns.d/pdns.local)</p>
<p><code>gmysql-host=127.0.0.1<br />
gmysql-user=pdns<br />
gmysql-password=password<br />
gmysql-dbname=pdns<br />
</code></p>
<p><em>Replace the username, password and dbname with a valid login information and database name.</em></p>
<p>5. Restart PowerDNS</p>
<p><code>/etc/init.d/pdns restart<br />
</code></p>
<p>Now you should have a fully functional PowerDNS server installed. To manage the database (adding zones and records), consider using the <a href="http://www.poweradmin.org">Poweradmin</a> web-based administration tool.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-powerdns-with-mysql-backend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scan your web server for vulnerabilities with Nikto on squeeze</title>
		<link>http://www.debiantutorials.com/scan-your-web-server-for-vulnerabilities-with-nikto-on-squeeze/</link>
		<comments>http://www.debiantutorials.com/scan-your-web-server-for-vulnerabilities-with-nikto-on-squeeze/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 17:47:11 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[nikto]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=436</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. Add non-free archive to apt sources (pico /etc/apt/sources.list) deb http://ftp.uk.debian.org/debian/ squeeze main non-free deb-src http://ftp.uk.debian.org/debian/ squeeze main non-free Add [...]]]></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. Add non-free archive to apt sources (pico /etc/apt/sources.list)</p>
<p><code>deb http://ftp.uk.debian.org/debian/ squeeze main non-free<br />
deb-src http://ftp.uk.debian.org/debian/ squeeze main non-free<br />
</code><span id="more-436"></span></p>
<p><em>Add non-free behind main in both lines</em></p>
<p>2. Update the package list</p>
<p><code>apt-get update<br />
</code></p>
<p>3. Install Nikto</p>
<p>apt-get install nikto</p>
<p>4. Test the local web server</p>
<p>nikto -h localhost</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.com/scan-your-web-server-for-vulnerabilities-with-nikto-on-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing PowerDNS as supermaster with slaves</title>
		<link>http://www.debiantutorials.com/installing-powerdns-as-supermaster-with-slaves/</link>
		<comments>http://www.debiantutorials.com/installing-powerdns-as-supermaster-with-slaves/#comments</comments>
		<pubDate>Sun, 11 Dec 2011 10:41:27 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[pdns]]></category>
		<category><![CDATA[powerdns]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=432</guid>
		<description><![CDATA[The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms to all relevant DNS standards documents. Furthermore, PowerDNS interfaces with almost any database. This tutorial has been tested to be working on Debian squeeze. It's assumed that you are installing one supermaster and one or more [...]]]></description>
			<content:encoded><![CDATA[<p>The PowerDNS Nameserver is a modern, advanced and high performance authoritative-only nameserver. It is written from scratch and conforms to all relevant DNS standards documents. Furthermore, PowerDNS interfaces with almost any database.</p>
<p>This tutorial has been tested to be working on Debian squeeze. It's assumed that you are installing one supermaster and one or more slaves that will sync with the master automatically.</p>
<p><strong>On all servers</strong></p>
<p>1. Install the PowerDNS server and MySql backend using apt</p>
<p><code>apt-get install pdns-server pdns-backend-mysql<br />
</code><span id="more-432"></span></p>
<p>2. Create a new database (or use existing) and execute the following SQL queries to create the PowerDNS table structure:</p>
<p><code>create table domains (<br />
id INT auto_increment,<br />
name VARCHAR(255) NOT NULL,<br />
master VARCHAR(128) DEFAULT NULL,<br />
last_check INT DEFAULT NULL,<br />
type VARCHAR(6) NOT NULL,<br />
notified_serial INT DEFAULT NULL,<br />
account VARCHAR(40) DEFAULT NULL,<br />
primary key (id)<br />
)type=InnoDB;<br />
&nbsp;<br />
CREATE UNIQUE INDEX name_index ON domains(name);<br />
&nbsp;<br />
CREATE TABLE records (<br />
id INT auto_increment,<br />
domain_id INT DEFAULT NULL,<br />
name VARCHAR(255) DEFAULT NULL,<br />
type VARCHAR(6) DEFAULT NULL,<br />
content VARCHAR(255) DEFAULT NULL,<br />
ttl INT DEFAULT NULL,<br />
prio INT DEFAULT NULL,<br />
change_date INT DEFAULT NULL,<br />
primary key(id)<br />
)type=InnoDB;<br />
&nbsp;<br />
CREATE INDEX rec_name_index ON records(name);<br />
CREATE INDEX nametype_index ON records(name,type);<br />
CREATE INDEX domain_id ON records(domain_id);<br />
&nbsp;<br />
create table supermasters (<br />
ip VARCHAR(25) NOT NULL,<br />
nameserver VARCHAR(255) NOT NULL,<br />
account VARCHAR(40) DEFAULT NULL<br />
);<br />
</code></p>
<p>3. Configure PowerDNS to use the MySql backend by adding this line into the configuration file (pico /etc/powerdns/pdns.conf)</p>
<p><code>launch=gmysql<br />
</code></p>
<p>4. Configure MySql login information for the PowerDNS by adding lines similar to these (pico /etc/powerdns/pdns.d/pdns.local).</p>
<p><code>gmysql-host=127.0.0.1<br />
gmysql-user=pdns<br />
gmysql-password=password<br />
gmysql-dbname=pdns<br />
</code></p>
<p>Replace the username, password and dbname with a valid login information and database name. Each DNS server in the cluster needs to have a dedicated local database.</p>
<p><strong>On the master server</strong></p>
<p>5. Allow zone transferes and enable master operation. (pico /etc/powerdns/pdns.conf)</p>
<p><code>allow-axfr-ips=10.0.0.2<br />
disable-axfr=no<br />
master=yes<br />
</code></p>
<p>6. Add a new zone</p>
<p><code>INSERT INTO domains (name, type) VALUES ('example.org', 'MASTER');<br />
INSERT INTO records (domain_id, name, content, type, ttl, prio) VALUES (1, 'example.org', 'ns1.example.org hostmaster.example.org 1', 'SOA', 86400, NULL);<br />
INSERT INTO records (domain_id, name, content, type, ttl, prio) VALUES (1, 'example.org', 'ns1.example.org', 'NS', 86400, NULL);<br />
INSERT INTO records (domain_id, name, content, type, ttl, prio) VALUES (1, 'example.org', 'ns2.example.org', 'NS', 86400, NULL);<br />
INSERT INTO records (domain_id, name, content, type, ttl, prio) VALUES (1, 'ns1.example.org', '10.0.0.1', 'A', 86400, NULL);<br />
INSERT INTO records (domain_id, name, content, type, ttl, prio) VALUES (1, 'ns2.example.org', '10.0.0.2', 'A', 86400, NULL);<br />
</code></p>
<p><strong>On the slaves</strong></p>
<p>7. Enable slave operation (pico /etc/powerdns/pdns.conf)</p>
<p><code>slave=yes<br />
</code></p>
<p>8. Make the master server a supermaster for the slave. If supermaster is specified, all new zones will be added automatically to the slave when notified by the master.</p>
<p><code>INSERT INTO supermasters (ip, nameserver, account) VALUES ('10.0.0.1', 'ns2.example.org', '');<br />
</code></p>
<p><em>Assuming the master IP address is 10.0.0.1</em></p>
<p><strong>On master and slaves</strong></p>
<p>9. Restart PowerDNS</p>
<p><code>/etc/init.d/pdns restart<br />
</code></p>
<p><strong>On the master</strong></p>
<p>10. Trigger a notify</p>
<p><code>UPDATE records SET content = 'ns1.example.org hostmaster.example.org 2' WHERE type = 'SOA' AND name = 'example.org';<br />
</code></p>
<p><em>Increasing the serial will sync data from the master to the slave</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-powerdns-as-supermaster-with-slaves/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Monitoring Varnish with Munin</title>
		<link>http://www.debiantutorials.com/monitoring-varnish-with-munin/</link>
		<comments>http://www.debiantutorials.com/monitoring-varnish-with-munin/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 11:48:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[munin]]></category>
		<category><![CDATA[varnish]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=427</guid>
		<description><![CDATA[Varnish is a great reverse proxy and very useful for load balancing. Here you can find a tutorial on installing Varnish: Installing and configuring Varnish HTTP accelerator. Munin is a network/system monitoring application that presents output in graphs through a web interface. If you haven't installed it already, use this tutorial: Monitoring multiple servers with [...]]]></description>
			<content:encoded><![CDATA[<p>Varnish is a great reverse proxy and very useful for load balancing. Here you can find a tutorial on installing Varnish: <a href="http://www.debiantutorials.com/installing-and-configuring-varnish-http-accelerator/">Installing and configuring Varnish HTTP accelerator</a>.</p>
<p>Munin is a network/system monitoring application that presents output in graphs through a web interface. If you haven't installed it already, use this tutorial: <a href="http://www.debiantutorials.com/monitoring-multiple-servers-with-munin/">Monitoring multiple servers with Munin</a>.</p>
<p>Assuming you have both varnish and munin installed, here's a tutorial on installing a plugin for munin to monitor Varnish.</p>
<p>1. Install git-core to receive the plugin from github</p>
<p><code>apt-get install git-core<br />
</code><span id="more-427"></span></p>
<p>2. cd into the munin plugins directory</p>
<p><code>/usr/share/munin/plugins<br />
</code></p>
<p>3. Download the munin-varnish plugin</p>
<p><code>git clone git://github.com/basiszwo/munin-varnish.git<br />
</code></p>
<p>4. Set correct permissions</p>
<p><code>chmod a+x /usr/share/munin/plugins/munin-varnish/varnish_*<br />
</code></p>
<p>5. Link the plugin sections to the munin config</p>
<p><code>ln -s /usr/share/munin/plugins/munin-varnish/varnish_* /etc/munin/plugins/<br />
</code></p>
<p>6. Add these lines to the bottom of the munin-node config (pico /etc/munin/plugin-conf.d/munin-node)</p>
<p><code>[varnish*]<br />
user root<br />
</code></p>
<p>7. Restart munin-node</p>
<p><code>/etc/init.d/munin-node restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/monitoring-varnish-with-munin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Scan your server for rootkits with rkhunter</title>
		<link>http://www.debiantutorials.com/scan-your-server-for-rootkits-with-rkhunter/</link>
		<comments>http://www.debiantutorials.com/scan-your-server-for-rootkits-with-rkhunter/#comments</comments>
		<pubDate>Thu, 03 Nov 2011 22:33:24 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[rootkit]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=421</guid>
		<description><![CDATA[rkhunter (Rootkit Hunter) is a tool that scans for rootkits, backdoors and possible local exploits. It does this by comparing SHA-1 hashes of important files with known good ones in online database, searching for default directories (of rootkits), wrong permissions, hidden files, suspicious strings in kernel modules, and special tests for Linux and FreeBSD. 1. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/wp-content/uploads/2011/11/rkhunter.png" alt="Rootkit hunter (rkhunter)" align="right" style="margin-left:10px" />rkhunter (Rootkit Hunter) is a tool that scans for rootkits, backdoors and possible local exploits. It does this by comparing SHA-1 hashes of important files with known good ones in online database, searching for default directories (of rootkits), wrong permissions, hidden files, suspicious strings in kernel modules, and special tests for Linux and FreeBSD.</p>
<p>1. Install rkhunter</p>
<p><code>apt-get install rkhunter<br />
</code><span id="more-421"></span></p>
<p>2. Run rkhunter to check your server</p>
<p><code>rkhunter --check<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/scan-your-server-for-rootkits-with-rkhunter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Installing and using the IPMI tool</title>
		<link>http://www.debiantutorials.com/installing-and-using-the-ipmi-tool/</link>
		<comments>http://www.debiantutorials.com/installing-and-using-the-ipmi-tool/#comments</comments>
		<pubDate>Sun, 11 Sep 2011 23:12:42 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Etch]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Jaunty Jackalope]]></category>
		<category><![CDATA[Karmic Koala]]></category>
		<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[bmc]]></category>
		<category><![CDATA[ipmi]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=416</guid>
		<description><![CDATA[The Intelligent Platform Management Interface (IPMI) is a standardized computer system interface used by system administrators to manage a computer system and monitor its operation. The development of this interface specification was led by Intel Corporation and is supported by more than two hundred computer systems vendors including Dell, Hewlett-Packard, Intel, and NEC Corporation. 1. [...]]]></description>
			<content:encoded><![CDATA[<p>The Intelligent Platform Management Interface (IPMI) is a standardized computer system interface used by system administrators to manage a computer system and monitor its operation.</p>
<p>The development of this interface specification was led by Intel Corporation and is supported by more than two hundred computer systems vendors including Dell, Hewlett-Packard, Intel, and NEC Corporation.</p>
<p>1. Install the ipmitool which is used to send commands and receive information from the management interface.</p>
<p><code>apt-get install ipmitool<br />
</code><span id="more-416"></span></p>
<p>2. Use this command to send and receive information to a remote server</p>
<p><code>ipmitool -H {ip_address} -U {username} -a {ipmi_command}<br />
</code></p>
<p><em>You can also skip the "-a" parameter (which makes ipmitool prompt for a password everytime) and add "-P {password}" to avoid the password prompt.</em></p>
<p><strong>Here are some examples of useful commands</strong></p>
<p>Get hardware status (including hardware failures and power status)</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis status<br />
</code></p>
<p>List all sensor values (including temperature, fan speed, voltage and more)</p>
<p><code>ipmitool -H {ip_address} -U {username} -a sensor list<br />
</code></p>
<p>Print system event log</p>
<p><code>ipmitool -H {ip_address} -U {username} -a sel list<br />
</code></p>
<p>Check if your server is on or off</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis power status<br />
</code></p>
<p>Power off the server (soft shutdown via ACPI)</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis power soft<br />
</code></p>
<p>Power off the server (hard)</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis power off<br />
</code></p>
<p>Start the server</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis power on<br />
</code></p>
<p>Restart server (hard)</p>
<p><code>ipmitool -H {ip_address} -U {username} -a chassis power reset<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-and-using-the-ipmi-tool/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing and configuring vsftpd for local unix users</title>
		<link>http://www.debiantutorials.com/installing-and-configuring-vsftpd-for-local-unix-users/</link>
		<comments>http://www.debiantutorials.com/installing-and-configuring-vsftpd-for-local-unix-users/#comments</comments>
		<pubDate>Tue, 23 Aug 2011 23:06:59 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[FTP]]></category>
		<category><![CDATA[vsftpd]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=414</guid>
		<description><![CDATA[vsftpd is a secure, fast and stable FTP server. In this tutorial we'll install the server allow local unix to access their home directories. 1. Install vsftpd apt-get install vsftpd 2. Configure (pico /etc/vsftpd.conf) By default, vsftpd only allows anonymous connections. Change the following config variables to enable local users to connect, allow writing and [...]]]></description>
			<content:encoded><![CDATA[<p>vsftpd is a secure, fast and stable FTP server. In this tutorial we'll install the server allow local unix to access their home directories.</p>
<p>1. Install vsftpd</p>
<p><code>apt-get install vsftpd<br />
</code><span id="more-414"></span></p>
<p>2. Configure (pico /etc/vsftpd.conf)</p>
<p>By default, vsftpd only allows anonymous connections. Change the following config variables to enable local users to connect, allow writing and chroot users to home directories.</p>
<p><code>anonymous_enable=NO<br />
local_enable=YES<br />
write_enable=YES<br />
chroot_local_user=YES<br />
</code></p>
<p>3. Restart vsftpd</p>
<p><code>/etc/init.d/vsftpd restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-and-configuring-vsftpd-for-local-unix-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Dovecot IMAP and POP3 daemon with MySql backend on squeeze</title>
		<link>http://www.debiantutorials.com/installing-dovecot-imap-and-pop3-daemon-with-mysql-backend-on-squeeze/</link>
		<comments>http://www.debiantutorials.com/installing-dovecot-imap-and-pop3-daemon-with-mysql-backend-on-squeeze/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 00:52:14 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Mail]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[dovecot]]></category>
		<category><![CDATA[imap]]></category>
		<category><![CDATA[pop]]></category>
		<category><![CDATA[pop3]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=409</guid>
		<description><![CDATA[Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written primarily with security in mind. Dovecot primarily aims to be a lightweight, fast and easy to set up open source mailserver. It's assumed that you have already installed and configured Postfix according to this tutorial: Installing Postfix with MySql backend and SASL [...]]]></description>
			<content:encoded><![CDATA[<p>Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written primarily with security in mind. Dovecot primarily aims to be a lightweight, fast and easy to set up open source mailserver.</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</p>
<p><code>apt-get install dovecot-imapd dovecot-pop3d<br />
</code><span id="more-409"></span></p>
<p>2. Configure Dovecot (pico /etc/dovecot/dovecot.conf)</p>
<p><code>mail_location = maildir:/home/vmail/%d/%n<br />
auth default {<br />
	passdb sql {<br />
	  args = /etc/dovecot/dovecot-sql.conf<br />
	}<br />
	userdb sql {<br />
	  args = /etc/dovecot/dovecot-sql.conf<br />
	}<br />
}<br />
disable_plaintext_auth = no<br />
user = vmail<br />
</code></p>
<p><em>Add or edit the above properties and leave everything else with the default value or configure according to your needs</em></p>
<p>3. Configure the MySql connector (pico /etc/dovecot/dovecot-sql.conf)</p>
<p><code>driver = mysql<br />
connect = host=127.0.0.1 dbname={database} user={username} password={password}<br />
default_pass_scheme = CRYPT<br />
password_query = SELECT email as user, password FROM users WHERE email = '%u'<br />
user_query = SELECT CONCAT('/home/vmail/',SUBSTRING_INDEX(email,'@',-1),'/',SUBSTRING_INDEX(email,'@',1),'/') as home, '5000' as uid, '5000' as gid FROM users WHERE email = '%u'<br />
</code></p>
<p><em>{database} = MySql database name<br />
{username} = MySql username<br />
{password} = MySql password</em></p>
<p>4. Restart Dovecot daemon</p>
<p><code>/etc/init.d/dovecot restart<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-dovecot-imap-and-pop3-daemon-with-mysql-backend-on-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Roundcube on squeeze</title>
		<link>http://www.debiantutorials.com/how-to-install-roundcube-on-squeeze/</link>
		<comments>http://www.debiantutorials.com/how-to-install-roundcube-on-squeeze/#comments</comments>
		<pubDate>Mon, 15 Aug 2011 00:35:17 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Mail]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[roundcube]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=406</guid>
		<description><![CDATA[Roundcube is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality you expect from an e-mail client, including MIME support, address book, folder manipulation, message searching and spell checking. Installation is easy in Debian but the application is pretty outdated in the squeeze apt repository so you may want to [...]]]></description>
			<content:encoded><![CDATA[<p>Roundcube is a browser-based multilingual IMAP client with an application-like user interface. It provides full functionality you expect from an e-mail client, including MIME support, address book, folder manipulation, message searching and spell checking.</p>
<p>Installation is easy in Debian but the application is pretty outdated in the squeeze apt repository so you may want to install the latest version manually instead. You can download the source from <a href="http://sourceforge.net/projects/roundcubemail/files/roundcubemail/">Sourceforge</a>.</p>
<p>1. Install roundcube</p>
<p><code>apt-get install roundcube roundcube-mysql<br />
</code><span id="more-406"></span></p>
<p>2. Configure apache (pico /etc/apache2/conf.d/roundcube)</p>
<p><code>Alias /roundcube/program/js/tiny_mce/ /usr/share/tinymce/www/<br />
Alias /roundcube /var/lib/roundcube<br />
</code></p>
<p>3. For some reason the default language is set to ar_SA. Change it to English (pico /var/lib/roundcube/config/main.inc.php)</p>
<p><code>$rcmail_config['language'] = 'en_US';<br />
</code></p>
<p>4. Restart apache</p>
<p><code>/etc/init.d/apache2 restart<br />
</code></p>
<p>Now you can access Roundcube on this location: http://yourserver/roundcube</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/how-to-install-roundcube-on-squeeze/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing sSMTP MTA (Mail Transfer Agent)</title>
		<link>http://www.debiantutorials.com/installing-ssmtp-mta-mail-transfer-agent/</link>
		<comments>http://www.debiantutorials.com/installing-ssmtp-mta-mail-transfer-agent/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 15:24:18 +0000</pubDate>
		<dc:creator>aip</dc:creator>
				<category><![CDATA[Lenny]]></category>
		<category><![CDATA[Mail]]></category>
		<category><![CDATA[Squeeze]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[smtp]]></category>
		<category><![CDATA[ssmtp]]></category>

		<guid isPermaLink="false">http://www.debiantutorials.com/?p=396</guid>
		<description><![CDATA[sSMTP is an extremely simple MTA to get mail off the system to a mail hub. It contains no suid-binaries or other dangerous things - no mail spool to poke around in, and no daemons running in the background. Mail is simply forwarded to the configured mailhost. Extremely easy configuration. This is ideal for web [...]]]></description>
			<content:encoded><![CDATA[<p>sSMTP is an extremely simple MTA to get mail off the system to a mail hub. It contains no suid-binaries or other dangerous things - no mail spool to poke around in, and no daemons running in the background. Mail is simply forwarded to the configured mailhost. Extremely easy configuration.</p>
<p>This is ideal for web servers to avoid running MTA daemons like sendmail, Exim and Postfix which use up resources on the server.</p>
<p>1. Install sSMTP (Note: Any previously installed MTA will be removed)</p>
<p><code>apt-get install ssmtp<br />
</code><span id="more-396"></span></p>
<p>2. Configure the server (pico /etc/ssmtp/ssmtp.conf)</p>
<p><code>mailhub=mail.example.org<br />
FromLineOverride=YES<br />
</code></p>
<p><em>Replace mail.example.org with the external mail server that you want to relay all mail to.</em></p>
<p>If you would like to relay through Google Mail servers, change these configuration values:</p>
<p><code>mailhub=smtp.gmail.com:587<br />
UseSTARTTLS=Yes<br />
AuthUser={username}<br />
AuthPass={password}<br />
FromLineOverride=YES<br />
</code></p>
<p><em>Replace {username} with your Gmail username and {password} with your Gmail password.</em></p>
<p>That's all! sSMTP doesn't run as service so there's no restart required. sSMTP creates a link to /usr/sbin/sendmail which most programs use by default to send mail including PHP.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.debiantutorials.com/installing-ssmtp-mta-mail-transfer-agent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
