Set up a mail server on Linux

linux mail ubuntu server pop3 imap mailserver

A simple guide how to set up a basic Postfix mail server with IMAP and POP3 services. It does not included advanced topics such as integrating virus-checking and spam-filtering.

Setup Overview

In our setup, Postfix sends and receives mail from Internet and stores them in the user mailboxes while clients in the Internet can retrieve their mails via Courier IMAP or POP3. The user authentication is done by Courier Authdaemon. The following diagram shows this process.


Install Postfix

In this setup I assume that your domain is yourdomain.com and it has a valid MX record call mail.yourdomain.com. Remember to replace yourdomain.com with your actual domain in the example codes in this howto. Also I assume that you know what an MX record is. To find out MX your type in a terminal:

dig mx yourdomain.com

To install postfix

sudo apt-get install postfix

Intall mailx package for use as command mail utility program. Mail command is installed with this package.

sudo apt-get install mailx
Continue reading

Install MySQL DB, Apache2 Web Server and PHP5 Scripting Language on Ubuntu

MySQL

MySQL is a fast, multi-threaded, multi-user, and robust SQL database server. It is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.

Installation

To install MySQL, open “terminal window”. Applications > Accessories > Terminal


run the following command from a terminal prompt:

sudo apt-get install mysql-server

Continue reading

Ubuntu Home Server Project

ubs_logo2

Ubuntu Home Server (UHS) will be an edition of the Ubuntu operating system which allows users to administer their home network. With Ubuntu Home Server you will be able to store all your music, songs and pictures in one central location, to access your files over the internet and to backup all the computers in your house.

The goal is to have a working release available with the upcoming Gutsy Gibbon release of Ubuntu (or perhaps Gutsy+1 at the latest).

The UHS project is community driven. It is not (yet) an official Ubuntu project.

The idea of a Home Server Edition of Ubuntu was recently outlined in this thread on the official Ubuntu forums:
Ubuntu is a leading free operating system for use on personal computer and servers: Ubuntu.com