<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://gogs.info/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://gogs.info/wiki/feed.php">
        <title>gog's wiki debian</title>
        <description></description>
        <link>http://gogs.info/wiki/</link>
        <image rdf:resource="http://gogs.info/wiki/lib/images/favicon.ico" />
       <dc:date>2011-05-04T14:39:59+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/anti-spam-anti-virus?rev=1303911503&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/apache?rev=1240401836&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/courier?rev=1303911489&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/dkim?rev=1303911532&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/dns-records?rev=1303911461&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/essential-software?rev=1240391962&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/firewall?rev=1240574678&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/hudson?rev=1286399791&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/installation?rev=1240391828&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/intrusion-detection?rev=1240394625&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/mail-server?rev=1303911439&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/maildrop?rev=1303911514&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/munin?rev=1263513309&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/mysql?rev=1239883228&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/php?rev=1239883398&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/postfix?rev=1303911475&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/security?rev=1239883121&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/server-certificates?rev=1239883141&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/sidebar?rev=1257458013&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/static-ip-address?rev=1239881724&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/subversion?rev=1240938729&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/time-synchronization?rev=1240392136&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/vacation?rev=1303911522&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/web-server?rev=1239887141&amp;do=diff"/>
                <rdf:li rdf:resource="http://gogs.info/wiki/debian/webmail?rev=1303911541&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://gogs.info/wiki/lib/images/favicon.ico">
        <title>gog's wiki</title>
        <link>http://gogs.info/wiki/</link>
        <url>http://gogs.info/wiki/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://gogs.info/wiki/debian/anti-spam-anti-virus?rev=1303911503&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-04-27T15:38:23+02:00</dc:date>
        <title>debian:anti-spam-anti-virus</title>
        <link>http://gogs.info/wiki/debian/anti-spam-anti-virus?rev=1303911503&amp;do=diff</link>
        <description>This article is outdated. Updated version on building a mail server on Debian 6 is published as a free eBook here.

Installation

This part is taken from &lt;https://help.ubuntu.com/community/PostfixAmavisNew&gt;

Install Amavis, Clamav and SpamAssassin</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/apache?rev=1240401836&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-22T14:03:56+02:00</dc:date>
        <title>debian:apache</title>
        <link>http://gogs.info/wiki/debian/apache?rev=1240401836&amp;do=diff</link>
        <description>We are going to use Apache mod_php for running PHP scripts so we need to install apache2-mpm-preform MPM. MPM worker does not play nicely with mod_php because PHP is not thread safe. mod_php is the fastest way of running PHP sites so you dont really need to think to much over this option. If you are low on memory resources you could install Lighttpd and run PHP as a FastCGI but then I guess you do not want to install Postfix or use the same machine as a mail server, so skip installing Postfix as…</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/courier?rev=1303911489&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-04-27T15:38:09+02:00</dc:date>
        <title>debian:courier</title>
        <link>http://gogs.info/wiki/debian/courier?rev=1303911489&amp;do=diff</link>
        <description>This article is outdated. Updated version on building a mail server on Debian 6 is published as a free eBook here.

Installation


To install Courier with support for MySQL authorisation and POP3, POP3-SSL, IMAP and IMAP-SSL access to mailboxes you run:</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/dkim?rev=1303911532&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-04-27T15:38:52+02:00</dc:date>
        <title>debian:dkim</title>
        <link>http://gogs.info/wiki/debian/dkim?rev=1303911532&amp;do=diff</link>
        <description>This article is outdated. Updated version on building a mail server on Debian 6 is published as a free eBook here.

Using DKIM signing of your outgoing emails gives you a better chance (though it depend on the recipients server configuration) that your mail does not get classified as spam. Bumping down the spam score of valid DKIM signed email can also prevent false positives.</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/dns-records?rev=1303911461&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-04-27T15:37:41+02:00</dc:date>
        <title>debian:dns-records</title>
        <link>http://gogs.info/wiki/debian/dns-records?rev=1303911461&amp;do=diff</link>
        <description>This article is outdated. Updated version on building a mail server on Debian 6 is published as a free eBook here.

Note: Server in this example is named atlantis.example.com. 

First, we need to check our hostname

atlantis:~# hostname -f
atlantis.diabmon.com

If hostname did not return FQDN of your server edit /etc/hosts. You should see something like this, if not, change according to your IP address and server name.</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/essential-software?rev=1240391962&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-22T11:19:22+02:00</dc:date>
        <title>debian:essential-software</title>
        <link>http://gogs.info/wiki/debian/essential-software?rev=1240391962&amp;do=diff</link>
        <description>Since we opted for a bare bones system we are going to install some utility packages and an SSH server so we can connect to our server using Putty, or a *nix shell.

apt-get install ssh wget nano dnsutils
	*  Nano is a text editor. More user friendly than vi.
	*  We will use wget to fetch stuff from the internet
	*  dnsutils package will allow us to troubleshoot possible DNS problems on our system</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/firewall?rev=1240574678&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-24T14:04:38+02:00</dc:date>
        <title>debian:firewall</title>
        <link>http://gogs.info/wiki/debian/firewall?rev=1240574678&amp;do=diff</link>
        <description>We are going to secure our web server using iptables as a firewall.

apt-get install iptables

If you check iptables rules with iptables -L you should see a clean chain list:

example:~# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

To help us set up iptables rules we are going to use…</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/hudson?rev=1286399791&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-06T23:16:31+02:00</dc:date>
        <title>debian:hudson</title>
        <link>http://gogs.info/wiki/debian/hudson?rev=1286399791&amp;do=diff</link>
        <description>Install Hudson &amp; Java


Hudson is written in Java so we will need to install Java, and to make things simpler we will install Hudson from its reporitory.

Edit /etc/apt/sources.list and append every line that ends with “lenny main” with ” contrib non-free” and at the end of the file add this line</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/installation?rev=1240391828&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-22T11:17:08+02:00</dc:date>
        <title>debian:installation</title>
        <link>http://gogs.info/wiki/debian/installation?rev=1240391828&amp;do=diff</link>
        <description>Installation


Download Debian Lenny Tiny CD from &lt;http://www.debian.org/distrib/netinst&gt; and burn the image to a compact disc, or mount it as a CD image in your virtualisation software.

Boot your computer and select Install, after that you only need to choose your Language, Country and Keymap you want to use. If your computer is not connected to a network with DHCP you will be prompted to enter network connection parameters manually. After configuring your network and DNS server you will be as…</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/intrusion-detection?rev=1240394625&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-22T12:03:45+02:00</dc:date>
        <title>debian:intrusion-detection</title>
        <link>http://gogs.info/wiki/debian/intrusion-detection?rev=1240394625&amp;do=diff</link>
        <description>For intrusion detection we are going to use OSSEC.

While I finish this article, you can take a look at &lt;http://www.howtoforge.com/intrusion_detection_with_ossec_hids&gt;</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/mail-server?rev=1303911439&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-04-27T15:37:19+02:00</dc:date>
        <title>debian:mail-server</title>
        <link>http://gogs.info/wiki/debian/mail-server?rev=1303911439&amp;do=diff</link>
        <description>This article is outdated. Updated version on building a mail server on Debian 6 is published as a free eBook here.

We are going to install Postfix as our MTA (SMTP server) and Courier as our POP/IMAP server. Postfix will use virtual domains, and information about our domains and users will be stored in the MySQL database. For managing virtual domains and users we will use PostfixAdmin.</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/maildrop?rev=1303911514&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-04-27T15:38:34+02:00</dc:date>
        <title>debian:maildrop</title>
        <link>http://gogs.info/wiki/debian/maildrop?rev=1303911514&amp;do=diff</link>
        <description>This article is outdated. Updated version on building a mail server on Debian 6 is published as a free eBook here.

To achieve automatic moving of messages to the Junk folder we will have to use Maildrop instead of the Postix local delivery agent. This, on the other hand, has some drawbacks. When we tell Postix to use Maildrop as a local delivery agent, we will have to create Maildirs for new mailboxes by hand every time we create a new email account. But do not worry, this step can be automated…</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/munin?rev=1263513309&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-15T00:55:09+02:00</dc:date>
        <title>debian:munin</title>
        <link>http://gogs.info/wiki/debian/munin?rev=1263513309&amp;do=diff</link>
        <description>From the Munin's Homepage: 

Munin the monitoring tool surveys all your computers and remembers what it saw. It presents all the information in graphs through a web interface. Its emphasis is on plug and play capabilities. After completing a installation a high number of monitoring plugins will be playing with no more effort.</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/mysql?rev=1239883228&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-16T14:00:28+02:00</dc:date>
        <title>debian:mysql</title>
        <link>http://gogs.info/wiki/debian/mysql?rev=1239883228&amp;do=diff</link>
        <description>apt-get install mysql-server mysql-client

A advise you to set a password for root user.</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/php?rev=1239883398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-16T14:03:18+02:00</dc:date>
        <title>debian:php</title>
        <link>http://gogs.info/wiki/debian/php?rev=1239883398&amp;do=diff</link>
        <description>Installation


To install PHP and mod_php module for Apache you have to run

apt-get install libapache2-mod-php5 php5 php5-common php5-curl php5-dev //
php5-gd php-pear php5-imagick php5-imap php5-mcrypt php5-mhash php5-mysql //
php5-pspell php5-recode php5-sqlite php5-tidy php5-xmlrpc php5-xsl php-apc imagemagick

If you do not need ImageMagick you can remove imagemagick and php5-imagick form the list. I use them because PHP Imagick extension provides a nice object oriented API to ImageMagick l…</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/postfix?rev=1303911475&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-04-27T15:37:55+02:00</dc:date>
        <title>debian:postfix</title>
        <link>http://gogs.info/wiki/debian/postfix?rev=1303911475&amp;do=diff</link>
        <description>This article is outdated. Updated version on building a mail server on Debian 6 is published as a free eBook here.

If you haven't already installed Postfix, do it now:

apt-get install postfix telnet mailx

Note: we are also installing telnet so we can easily check if everything is going well during the installation and configuration. As well as mailx package so we can send emails from the terminal using the mail command.</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/security?rev=1239883121&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-16T13:58:41+02:00</dc:date>
        <title>debian:security</title>
        <link>http://gogs.info/wiki/debian/security?rev=1239883121&amp;do=diff</link>
        <description>For securing our Debian box, we are going to use a firewall and an intrusion detection system.

For securing information coming from and to our server (email passwords and alike) we are going to talk about creating server certificates which we will implement on our web and mail server.</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/server-certificates?rev=1239883141&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-16T13:59:01+02:00</dc:date>
        <title>debian:server-certificates</title>
        <link>http://gogs.info/wiki/debian/server-certificates?rev=1239883141&amp;do=diff</link>
        <description>Server certificates


For information on how to create a self signed certificate take a look at &lt;http://www.akadia.com/services/ssh_test_certificate.html&gt; just make sure that you enter your host name when asked for Common Name (eg, YOUR name) [] atlantis.example.com.</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/sidebar?rev=1257458013&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-05T22:53:33+02:00</dc:date>
        <title>debian:sidebar</title>
        <link>http://gogs.info/wiki/debian/sidebar?rev=1257458013&amp;do=diff</link>
        <description>*  Installation
		*  Essential software
		*  Static IP address
		*  Time synchronization

	*  Security
		*  Firewall
		*  Intrusion detection
		*  Server certificates

	*  Web Server
		*  MySQL
		*  Apache
		*  PHP

	*  Mail Server
		*  Dns records
		*  Postfix
		*  Courier
		*  Anti-spam &amp; Anti-virus
		*  Maildrop
		*  Vacation
		*  DKIM
		*  Webmail</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/static-ip-address?rev=1239881724&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-16T13:35:24+02:00</dc:date>
        <title>debian:static-ip-address</title>
        <link>http://gogs.info/wiki/debian/static-ip-address?rev=1239881724&amp;do=diff</link>
        <description>In case your server is connected to a network which broadcasts DHCP you didn't get a chance to configure a static IP address for your server.

Enter ifconfig and copy the output somewhere so you have access to network information you got from a DHCP server.</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/subversion?rev=1240938729&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-28T19:12:09+02:00</dc:date>
        <title>debian:subversion</title>
        <link>http://gogs.info/wiki/debian/subversion?rev=1240938729&amp;do=diff</link>
        <description>Subversion is currently the most popular version control system. We will show you how to setup Subversion on you server in no time.

apt-get install subversion subversion-tools

I choose to store all of my Subversion repositories inside /home/svn where every project has its own folder.</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/time-synchronization?rev=1240392136&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-22T11:22:16+02:00</dc:date>
        <title>debian:time-synchronization</title>
        <link>http://gogs.info/wiki/debian/time-synchronization?rev=1240392136&amp;do=diff</link>
        <description>To make sure our servers time is always up to date we are going to install ntp package which enables our server to use NTP protocol for syncing your servers clock.

apt-get install ntp

If your data center or VPS provider offers an NTP service use their NTP server. Open up /etc/ntp.conf with nano and replace:</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/vacation?rev=1303911522&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-04-27T15:38:42+02:00</dc:date>
        <title>debian:vacation</title>
        <link>http://gogs.info/wiki/debian/vacation?rev=1303911522&amp;do=diff</link>
        <description>This article is outdated. Updated version on building a mail server on Debian 6 is published as a free eBook here.

Vacation script that we will be using requires some Perl modules:

apt-get install libmail-sender-perl libdbd-pg-perl libemail-valid-perl libmime-perl liblog-log4perl-perl liblog-dispatch-perl libgetopt-argvfile-perl libmime-charset-perl libmime-encwords-perl
Create user vacation on your system. This user will handle the vacation script and should have minimal privileges:</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/web-server?rev=1239887141&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-04-16T15:05:41+02:00</dc:date>
        <title>debian:web-server</title>
        <link>http://gogs.info/wiki/debian/web-server?rev=1239887141&amp;do=diff</link>
        <description>Installing MySQL, Apache and PHP on Debian systems is a breeze. But before installation of this packages we are going to install Postfix MTA because otherwise MySQL will install exim4 as a default MTA on our system (currently we don't have an MTA because we are running a minimal install server).</description>
    </item>
    <item rdf:about="http://gogs.info/wiki/debian/webmail?rev=1303911541&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-04-27T15:39:01+02:00</dc:date>
        <title>debian:webmail</title>
        <link>http://gogs.info/wiki/debian/webmail?rev=1303911541&amp;do=diff</link>
        <description>This article is outdated. Updated version on building a mail server on Debian 6 is published as a free eBook here.

Install Roundcube


We will install roundcube to the /var/www folder. This way, when somebody enters mail.somedomain-we-host.com they will see Roundcube.</description>
    </item>
</rdf:RDF>

