Setup Local Email Server Using SME Server

There are plenty of Linux Distributions available to setup and configure mail server.But they might be a bit difficult to beginners.This step by step tutorial shows you how to install and configure local mail server for your organization with SME Server.

Scenario

In this tutorial, the IP address of the mail server is 192.168.10.100 and the host-name is intranet.sktechnix.com.I already have dhcp server and router, so I not going to install this server as gateway.

Installation of SME Server

Download the latest copy the SME Server 8 from hereBurn the ISO to a Cd and boot the system using the Cd.At the boot prompt, hit enter:

Media test will take a while, so here i skip this:

Setup Local Email Server Using SME ServerSelect your language:

Setup Local Email Server Using SME Server

Select your keyboard Layout:
Setup Local Email Server Using SME Server

A Warning Message will appear to erase all data ’s in your hard drive, hit yes:
Setup Local Email Server Using SME Server

Set your Time Zone:

Hit yes to format the hard drive:
Setup Local Email Server Using SME Server

Now the Installation begins, this will take few moments:
Setup Local Email Server Using SME Server

At the end of Installation, click Reboot:
Setup Local Email Server Using SME Server

After Reboot, the configuration page will open.If you have any previous backup of SME Server configuration, you can choose it by pressing “yes” button or click “No” to proceed further:
Setup Local Email Server Using SME Server

Enter the default administrator password (the default administrator name is “admin”):
Setup Local Email Server Using SME Server

Retype the password to verify:
Setup Local Email Server Using SME Server

Enter the primary domain name:
Setup Local Email Server Using SME Server

Enter the system name i.e hostname of this server:
Setup Local Email Server Using SME Server

Select your default local interface if you have more than one network adapters:
Setup Local Email Server Using SME Server

Enter ip address and subnet mask to your local network interface:
Setup Local Email Server Using SME Server

Setup Local Email Server Using SME Server

Now select the operation mode of this server.As i previously told that i have already router in my network, so here i have selected the “server-only” mode:
Setup Local Email Server Using SME Server

Enter the ip address of your gateway if you have any, Otherwise leave it as blank:
Setup Local Email Server Using SME Server

Here i have disabled the DHCP Service for this server, because i already have the one in my network:
Setup Local Email Server Using SME Server

Now save your changes by pressing “Yes” button:
Setup Local Email Server Using SME Server

Now the changes will be applied to our server.The server will be automatically rebooted and you can get your login screen look like below:
Setup Local Email Server Using SME Server

Setup Local Email Server Using SME Server

Configure the Mail Server

Now you can configure this server as your mail server from one of your client systems by entering https://192.168.10.100/server-manager/ in the browser and hit enter.The administration section of the SME Server will open.Enter the username “admin” and password for the admin you have given earlier:
Setup Local Email Server Using SME Server

The welcome section of the SME Server configuration page should appear:

Setup Local Email Server Using SME Server

Create Users and Groups

Now let us create some users and groups for them.Click the “Collaboration” tab in the upper left corner, Select the “Users” tab to create new user.In this tutorial i use two users called “client1” and “client2”. “Client1” is belongs to “Sales” group and “client2” is belongs to “service” group. You will use your own.

Setup Local Email Server Using SME Server

Click “Add user account”, fill up details of your new user and hit “Add” button.

Setup Local Email Server Using SME Server

Set the password for your new user by clicking the “Reset Password” button:

Setup Local Email Server Using SME Server

Enter the Password and Click “Save”:

Setup Local Email Server Using SME Server

Now the user password is given:

Setup Local Email Server Using SME Server

Now let us create a group for the new user “client1”. Click the “Groups” icon in the “Collaboration” tab in the upper left corner and Click “Add Group”:

Setup Local Email Server Using SME Server

Fill up the group details and assign the users to the group.In our example the group name is “sales” and the user belongs to this group is “client1”:

Setup Local Email Server Using SME Server

Add the other users and groups respectively as stated above.Now the Mail Server is ready.You can access this mail server using any mail clients such as Microsoft Outlook or Thunderbird etc.

Enable Webmail Service

Do you want to access your mail server from any browser? Yes you can. Click the “Configuration” tab, Select “e-mail”. The following screen should appear:

Setup Local Email Server Using SME Server

Click the “Change e-mail access settings” button and select “Allow HTTPS” in the Webmail access drop-down box and Save your changes:

Setup Local Email Server Using SME Server

Fire up the browser from any one of your client and type https://192.168.10.100/webmail In the address bar and hit enter:

Setup Local Email Server Using SME Server

Now let us send and receive some mails to our local users.Enter the user name and password of your new user which you have created earlier:

Setup Local Email Server Using SME Server

Now the Inbox of the user will appear:

Setup Local Email Server Using SME Server

Now send a test mail to another user.In our example, i send a test mail from “[email protected]”To“[email protected]Click “New Message” and enter recipient details and hit “send Message”:

Setup Local Email Server Using SME Server

Now log out from client1 and log in to client2:

Setup Local Email Server Using SME Server

Now the test mail will be received in the client2 user inbox.

Setup Local Email Server Using SME Server

Thats it.If you want to access your mail server using domain name instead of your ip address, you must configure this server as DNS Server or you add the MX records to your existing DNS Server.

   .

Sidebar