Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Mail Server Tutorial
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Mail Server Tutorial

Hi, I decided to drop my gmail account and set up my own email server on a vps and a domain that I have laying around. The problem is I have never set up an email server and I have no idea what I am doing. I tried this tutorial but it doesn't seem to work. Can anyone suggest a tutorial? (I'd prefer Debian but Centos works too)

Thanks in advance


  • dnwkdnwk Member
    edited August 2013

    Using Z-admin, everything included from Spam to antvirus and push mail

    Add their repo to Ubuntu apt list

    echo "deb ./" >> /etc/apt/sources.list

    Add repo key
    wget -O - | apt-key add -

    apt-get update
    apt-get install yaffas

    Done. Everything else is web configurable.

  • That seems fairly easy! Thanks @dnwk for the suggestion.

  • dnwkdnwk Member

    Method 2 using Zentyal still on Ubuntu

    Step 1:
    For Ubuntu 12.04 (Precise). You should install the server edition of Ubuntu.

    Add to your /etc/apt/sources.list:

    deb precise main
    deb 3.0 main extra

    Step 2 Add key
    sudo apt-key adv --keyserver --recv-keys 10E239FF
    wget -q -O- | sudo apt-key add -

    Step 3
    sudo apt-get update && sudo apt-get install zentyal

    Step 4 create a user that can use sudo

    Step 5 login https:/// using the user that can do sudo (not root)

    Step 6 configure rest of stuff using their web gui

  • VladorzVladorz Member
    edited August 2013

    hmm, so which one should i choose?

  • I'm waiting for a Debian 7 (Wheezy) update to

  • dnwkdnwk Member

    @Vladorz said:
    hmm, so which one should i choose?

    em..... different package basically doing the same thing. If you plan to use the server to do something more, like VPN, maybe second one is better since they provide more features. If you are going to have a dedicated mail server, go first one

  • another full-featured mail server solution is

  • I second iRedMail for beginners, its very easy for CentOS and Debian to setup e-mail services with clamav antivirus, Spamassassin, DKIM, etc. I believe it only 3-4 commands total and it does most of the other settings for you. The interface is pretty user friendly too. If you want to run this on a smaller VM though, you will want to remove clamav and some of the other resource intensive items, they give you instructions on how to do this in their directions. It runs very happily on 1Gb ram VPS, you can probably pull it off on a 512mb with clamav but it will be slow with large number of accounts.


  • Maximum_VPSMaximum_VPS Member
    edited August 2013

    Il third the iRedMail
    Its easy, just remember to backup and update :) just loves the ram as said above.

  • danodano Member

    I toss my hat into the iRedmail fire also -- I have used it for clients that want to host their own e-mail domain and have control over it, and it has been a good experience so far. I once ran into some trouble after an update, but I should have paid more attention, and this was on much earlier versions also, so they prolly have it down really well now(gonna have to try the latest now).

  • netomxnetomx Moderator, Veteran

    Interesting with iRedMail, but I have some questions:

    • why do I need to create a virtual domain? I want to use the hostname one.
    • why I can't log in with a new domain? i.e. the virtual is and a new one is, but to check email I need to go to
Sign In or Register to comment.