Southend Linux User Group

SME Server – Part 1

SME Server – Email & Webmail Part 1

Introduction

SME-Server – What is it, it is nothing short of brilliant! At it’s core is the CentOS Linux system and if that puts you off then it shouldn’t as SME Server is one of the easiest configurable email server money can’t buy. Being Linux of course it’s free SoSLUG has been using this email server without failure since at least 2008. The worst problem we have ever had is the upgrade and even that is pretty easy. First of all let me tell you what SME Server isn’t, you can not just install this server and not think about security, for one thing SME Server won’t let you, so planning is a must for this server build.

Why would you build your own Email server

There are many email server providers out there, some want your money, some will give it free of charge to you (well sort of) if you open an account with Yahoo, Gmail, Googlemail and so on, you may think the account is free to you but it is not. Thats because it is usually splashed silly with “paid for advertising”. If you wish to put up with advertising then that’s fine although it doesn’t look very professional, if your a business this might be of some importance to you. There are other reasons for having your own mail server and that is control. With your own email server you can manage your own mail accounts on your own domain and not be restricted in account users and the power to manage who uses and accesses these email accounts.

Requirements

Here is a list of items you will need before you start and although it doesn’t have to be, we will consider this as a budget build, but this can easily be scaled up. As such this server can be built and run on your own DSL network without it having to be hosted by an ISP.

  • A Desktop PC Pentium 4 with at least an 80G Harddisk and 512Mb Memory (but the more the better)
  • Static WAN enabled IP address (although it is possible to port forward through your router)
  • SME Server CD – This can be downloaded from here SME Server 7.5.1 Download
  • An (A)DSL Router so you can connect the server to it
  • Keyboard and a Monitor
  • Sensible cryptic passwords, root and Mysql will not complain what you type but this is a secure server so weak password such as dictionary name, proper names will make your server less secure
  • Sensible cryptic passwords for your accounts SME Server will not allow weak passwords for your accounts so each password will need to be at least 8 characters in length and include numeric and character symbols such as underscore and minus are some of the few allowed
  • Access to your domain name configuration settings to set or alter the MX (Mail eXchange records) where the domain is almost always held and managed by your ISP
  • Laptop or PC with internet access but connected to your local area network

Preparation

This is a near normal PC Build albeit with the SME Server Operating System. The PC needs to be equipped a CDRom drive to boot from. This installation is surprisingly quick and has little requirement for much by way of user intervention, it will ask you for an admin password a Mysql password, Stand Alone Server or Gateway and your IP settings. The only one you need worry about and the more difficult to come to terms with is the IP address settings. When building a Stand Alone Server as we will be in this tutorial and on this particular PC a desktop Pentium 4 it is more than likely to have only one ethernet port to worry about settings wise, you will be asked for the IP address the subnet mask and the gateway.

Provided you have more than one WAN enabled Static IP address, one of these IP Static address will be set to that of the gateway this is the same router that is connected to your phone or DSL line and the other Static IP you can then set for the Email server – the SME Server.

SME Server Installation

Install your SME Server CD into the CDRom and allow it to boot from that CD and begin the installation process this will delete any information previously stored on the Harddisk.

sme-1

The media test can take a while, so I have skipped it (however, you are free to run it nonetheless):

sme-2

Choose your language:

sme-3

Then select your keyboard layout:

sme-4

Please make sure there’s no important data on the hard disk(s) as all hard disks will be formatted:

sme-5

Select your time zone:

sme-6

The hard disk(s) /boot and a / partition will be formatted:

sme-7

The install image is transferred to the hard disk(s):

sme-8

sme-9

sme-10

sme-11

As you can see nothing much even remotely challenging. Ensure your server is connected to a WAN port with an Ethernet cable.

The SME Server installation comprises of two parts the installation first part and the configuration second part, if you have completed the first part then well done.

Author: Derek Shaw - Page reference: 4598
Last modified: paul - 2017-02-21