How To Make An E-mail Server

Avatar davisde | March 10, 2010

3 Views 0 Ratings Rate it

This video shows how to host your own e-mail service using your home computer.

Related tutorials:

Links used in this video:


This post currently has 42 responses.

    • Rick

      April 2, 2012 at 5:36 am

      If your IP changes every time you use it then you have to go into the Modem settings of your phone and change it from Dynamic to Static which therefore changes the setting from a changing IP Address every time you use it to a Static IP Address which pretty much means you keep one IP Address every time you use your mobile phone as a modem, This does however make your connection more vulnerable to attack against “hackers” and among other thing, not really recommended. Hope this helped.


    • Justin

      November 25, 2012 at 4:33 am

      If you are using a cell phone, chances are you won’t be able to setup a static IP. Most cell phone providers don’t want you to host things on their network without paying more.

  1. michael franklin

    May 11, 2011 at 6:45 pm


    I am looking to set up an email server that will allow HTTPS connections as opposed to HTTP. THis is due to security reasons.

    Can the same process steps described within your videos be utilzed to develop an HTTPS compliant email server?

    What are the variances involved?


    – Mike Franklin

  2. DD

    August 6, 2011 at 3:25 pm


    I use synology NAS server which occupies my local IP and already uses port 80,
    so when I forward or open a new port for my computer (to be used as server for other things) it tells me it will give me port 8080. When I enter my IP adres as defined by IP config so the real IP adress which shoud be public , I get acces to my router

    Is there some conflict (obvious there is) I also tried to enter my public IP adress with colon 8080 and /:8080 but no result (error message), any idea


  3. DD

    August 6, 2011 at 3:27 pm

    additional information, the local IP adres from my computer is so a different number then my NAS server and different from my router
    Still it does not work

  4. Brandon

    August 20, 2011 at 10:30 am

    I have a problem. When I go to Windows/system32/drivers/etc, I can’t find a file called hosts. I also tried to complete without it and when I tried to log in it says:

    Error connecting to IMAP server: RASSAF.local. 0 : php_network_getaddresses: getaddrinfo failed: No such host is known.

    What should I do please help. My OS is Windows 7 home…. PLEASE HELP!!!!!!!!!11

  5. Sean

    August 23, 2011 at 7:30 pm

    hey guys

    i am setting up a website and decided to use hmailserver as my mail server however i keep running into this problem when i get the the db setup

    (Starting task…
    Please wait while updating database settings…
    Settings updated.
    Restarting server…
    Database initialization failed.

    currently the hmail forums are down and nobody on the irc channel will help me

  6. Jeremy

    October 3, 2011 at 3:54 pm

    I have a problem, when I log in I get
    Error connecting to IMAP server: jeremail.local.
    0 : php_network_getaddresses: getaddrinfo failed: No such host is known.
    What do I do?

  7. Gaurav

    January 7, 2012 at 10:43 am

    hey After All the process at last when i enter the Name and password in Squirrelmail -webmail page then it is showing :-

    ERROR: Connection dropped by IMAP server.

    Here i m stuck . Plzzzzzzzz Help Me at this point !!!

    Thnk you in Advance :;-)

        • James M.

          July 31, 2012 at 3:11 pm

          I had a confusion at the end about login as well; for those who got:


          Go to hmailserver, check in advanced tab on the left, under IP ranges for AUTO-BAN – this would have been created after invalid login attempts.

          Then, even after correctly logging in (hmailserver email = USER) at squirrelmail login page it still wouldn’t work.

          FIX: delete AUTO-BAN entry from left menu + change MYCOMPUTER priority to 30 to prevent banning you in the future.

          Hope this helps.

          • James M.

            July 31, 2012 at 3:13 pm

            PLEASE copy paste to others with same problem so they can be helped out.

            They really, really helped me out.

  8. Mukhtar

    January 23, 2012 at 8:51 am

    please i try this tutorial to create an email server i don’t know why is not working i need help the hmailserver where i will add the lines to my Domain name when i want to save it , it kip on asking me if i am using it in another program i restart the system and start refresh but still the same msgbox is popping. tnkx contact me at

  9. XXXX

    February 1, 2012 at 7:04 pm

    It is really a great video, and i applied it on my computer and it works, but when I opened Squirrel Mail and logged in, i tried to send emails to my friends on Hotmail and Yahoo, but that didn’t work,
    so know I want to ask you:
    How I can send emails to Hotmail and Yahoo users?????
    I wish you can answer me quickly, and thank you!!!!!!!!!!!

  10. dhananjay

    April 3, 2012 at 7:41 am

    login in squirrel mail i am getting the error msg………..”Error connecting to IMAP server: dhananjay.local .
    0 : php_network_getaddresses: getaddrinfo failed: No such host is known.”
    pls tell me how to resolve this problem

  11. doctorwho

    October 12, 2012 at 6:21 pm

    Hi Great Idea i have always wanted a m own email server but…
    I Couldn’t edit the host file in the divers/etc file and i got this error when i tried to connect:
    Error connecting to IMAP server: #########.
    0 : php_network_getaddresses: getaddrinfo failed: No such host is known.

    Please help!

  12. Card Transaction

    October 16, 2012 at 10:31 am

    Thank you, I’ve just been searching for info approximately this subject for a while and yours is the greatest I have came upon so far. However, what concerning the conclusion? Are you sure about the supply?

  13. Darren

    December 14, 2012 at 2:22 pm

    In Final step when i tried to login it says

    “SquirrelMail version 1.4.22
    By the SquirrelMail Project Team
    Error connecting to IMAP server: deals.local.
    0 : php_network_getaddresses: getaddrinfo failed: No such host is known. ”

    any help ??

  14. Aaron Maynard

    June 19, 2013 at 7:32 pm

    ( ! ) Strict standards: Declaration of Deliver_SMTP::initStream() should be compatible with Deliver::initStream($message, $length = 0, $host = ”, $port = ”, $user = ”, $pass = ”) in C:squirrelmailclassdeliverDeliver_SMTP.class.php on line 369
    Call Stack
    # Time Memory Function Location
    1 0.0040 746912 {main}( ) ..compose.php:0
    2 0.0433 4437288 deliverMessage( ) ..compose.php:490
    Message not sent. Server replied:
    php_network_getaddresses: getaddrinfo failed: No such host is known.
    0 Can’t open SMTP stream.

    Help me fellow tinkernerdz!

  15. Eli Kleine

    August 3, 2013 at 12:47 am

    Okay if your webmail server with log in page is running would it also be possible to have an subscribe page so people can make theyr own e-mail acount with your domain?

Leave a Reply

Please disable your adblocker or whitelist this site!